pricelists2accounts
| Name | Type | Storage | Nullable | Foreign Keys | Default Value & Notes |
|---|---|---|---|---|---|
| PKID | bigint | plain | Pricelist-to-account ID | ||
| creator | integer | plain | users.ID | Creator user ID (defaults to authenticated user on creation) | |
| creationdate | bigint | plain | Default: date_part('epoch', now())Creation date and time as a Unix timestamp (defaults to current date and time on creation) | ||
| lastmodified | bigint | plain | Default: EXTRACT(epoch FROM now())Last modification date and time as a Unix timestamp (auto-reset on modification) | ||
| pricelist | integer | plain | pricelists.ID | Price list ID (**dependency**) | |
| account | integer | plain | accounts.ID | Account ID (**dependency**) |
| Name | Unique | Nulls Distinct | Primary | Partial | Method | Keys |
|---|---|---|---|---|---|---|
| fk_pricelists2accounts_account | btree | account | ||||
| pk_pricelists2accounts | btree | ID | ||||
| u_pricelists2accounts_pricelist_account | btree | pricelist, account |
| Name | Type |
|---|---|
| fk_pricelists2accounts_account | foreign_key |
| fk_pricelists2accounts_creator | foreign_key |
| fk_pricelists2accounts_pricelist | foreign_key |
| pk_pricelists2accounts | primary_key |
| u_pricelists2accounts_pricelist_account | unique |
Loading...