| # | Column Name | Nullable | Data Type | Max Length | Description |
|---|---|---|---|---|---|
| 1 | store_policy_id | bigint | 0 | ||
| 2 | written_by_user_id | integer | 0 | ||
| 3 | status | boolean | 0 | ||
| 4 | audit_user_id | integer | 0 | Contains the id of the user who last inserted or updated the corresponding row. | |
| 5 | audit_ts | timestamp with time zone | 0 | Contains the date and timestamp of the last insert or update action. |
| # | Column Name | Key Name | References |
|---|---|---|---|
| 2 | written_by_user_id | store_policies_written_by_user_id_fkey | office.users.user_id |
| 4 | audit_user_id | store_policies_audit_user_id_fkey | office.users.user_id |
| Index Name | Owner | Access Method | Definition | Description |
|---|---|---|---|---|
| store_policies_pkey | postgres | btree | store_policy_id |
| Constraint Name | Description |
|---|
| # | Column Name | Default |
|---|---|---|
| 1 | store_policy_id | nextval('policy.store_policies_store_policy_id_seq'::regclass) |
| 5 | audit_ts | now() |
| Trigger Name | Targets | On Event | Timing | Condition | Order | Orientation | Description |
|---|