| # | Column Name | Nullable | Data Type | Max Length | Description |
|---|---|---|---|---|---|
| 1 | store_policy_detail_id | bigint | 0 | ||
| 2 | store_policy_id | bigint | 0 | ||
| 3 | user_id | integer | 0 | ||
| 4 | store_id | integer | 0 | ||
| 5 | audit_user_id | integer | 0 | Contains the id of the user who last inserted or updated the corresponding row. | |
| 6 | 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 | store_policy_id | store_policy_details_store_policy_id_fkey | policy.store_policies.store_policy_id |
| 3 | user_id | store_policy_details_user_id_fkey | office.users.user_id |
| 4 | store_id | store_policy_details_store_id_fkey | office.stores.store_id |
| 5 | audit_user_id | store_policy_details_audit_user_id_fkey | office.users.user_id |
| Index Name | Owner | Access Method | Definition | Description |
|---|---|---|---|---|
| store_policy_details_pkey | postgres | btree | store_policy_detail_id |
| Constraint Name | Description |
|---|
| # | Column Name | Default |
|---|---|---|
| 1 | store_policy_detail_id | nextval('policy.store_policy_details_store_policy_detail_id_seq'::regclass) |
| 6 | audit_ts | now() |
| Trigger Name | Targets | On Event | Timing | Condition | Order | Orientation | Description |
|---|