serial.routing_list_user
|
Cascading Deletes: Deleting rows from this table will cascade to: actor.usr, serial.stream. |
|
Deferrable Constraints: The following FK constraints are deferrable — they are checked at transaction end, not statement end: |
Columns
| Column | Type | Nullable | Default | Notes |
|---|---|---|---|---|
id PK |
|
No |
nextval('serial.routing_list_user_id_seq'::regclass) |
|
stream FK |
|
No |
||
pos |
|
No |
1 |
|
reader FK |
|
Yes |
||
department |
|
Yes |
||
note |
|
Yes |
Foreign Keys
| Column(s) | References | On Delete | On Update | Deferrable | Constraint |
|---|---|---|---|---|---|
|
CASCADE |
NO ACTION |
DEFERRED |
|
|
|
CASCADE |
NO ACTION |
DEFERRED |
|
Check Constraints
-
reader_or_dept:CHECK ((reader IS NOT NULL) AND (department IS NULL OR reader IS NULL) AND (department IS NOT NULL))
Indexes
| Index | Method | Definition |
|---|---|---|
|
btree |
|
|
btree |
|
|
btree |
|
|
btree |
|