Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| roomtype_id | int4 | 10 | null |
|
|
||||||
| effect_date | date | 13 | null |
|
|
||||||
| stop_sell | bool | 1 | false |
|
|
||||||
| cta | bool | 1 | false |
|
|
||||||
| ctd | bool | 1 | false |
|
|
||||||
| min_stay | int2 | 5 | √ | null |
|
|
|||||
| max_stay | int2 | 5 | √ | null |
|
|
|||||
| min_avail | int2 | 5 | √ | null |
|
|
|||||
| max_avail | int2 | 5 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| pk_room_restriction | Primary key | Asc/Asc | roomtype_id + effect_date |

