Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('rate_logs_id_seq'::regclass) |
|
|
||
| user_name | text | 2147483647 | null |
|
|
|||
| log_type | text | 2147483647 | null |
|
|
|||
| log_date | date | 13 | fn_system_date() |
|
|
|||
| log_time | timestamptz | 35,6 | now() |
|
|
|||
| log_group | uuid | 2147483647 | √ | null |
|
|
||
| rate_date | date | 13 | √ | null |
|
|
||
| rate_id | int4 | 10 | √ | null |
|
|
||
| roomtype_id | int4 | 10 | √ | null |
|
|
||
| rateplan_id | int4 | 10 | √ | null |
|
|
||
| agent_id | int4 | 10 | √ | null |
|
|
||
| new_value | text | 2147483647 | √ | null |
|
|
||
| old_value | text | 2147483647 | √ | null |
|
|
||
| action_type | bpchar | 1 | 'D'::bpchar |
|
|
D = Save Daily Rate B = Bulk Update |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| rate_logs_pkey | Primary key | Asc | id |
| idx_rate_logs_log_date | Performance | Asc | log_date |
| idx_rate_logs_log_group | Performance | Asc | log_group |
| idx_rate_logs_log_type | Performance | Asc | log_type |
| idx_rate_logs_rate_date | Performance | Asc | rate_date |
| idx_rate_logs_rateplan_id | Performance | Asc | rateplan_id |
| idx_rate_logs_roomtype_id | Performance | Asc | roomtype_id |
