Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('actor.usr_saved_search_id_seq'::regclass) |
|
|
|||||
| owner | int4 | 10 | null |
|
|
||||||
| name | text | 2147483647 | null |
|
|
||||||
| create_date | timestamptz | 35,6 | now() |
|
|
||||||
| query_text | text | 2147483647 | null |
|
|
||||||
| query_type | text | 2147483647 | 'URL'::text |
|
|
||||||
| target | text | 2147483647 | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| usr_saved_search_pkey | Primary key | Asc | id |
| name_once_per_user | Must be unique | Asc/Asc | owner + name |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| valid_query_text | ((query_type = 'URL'::text)) |
| valid_target | ((target = ANY (ARRAY['record'::text, 'metarecord'::text, 'callnumber'::text]))) |
