Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('releases_id_seq'::regclass) |
|
|
|||||||||||||||||||||||||||||||||||
| symbol | text | 2147483647 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||
| current | bool | 1 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||
| description | text | 2147483647 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||
| public | bool | 1 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||
| official | bool | 1 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| releases_pkey | Primary key | Asc | id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| at_most_one_release_current | ( CASE WHEN (current <> true) THEN true ELSE (NOT already_current_release(id)) END) |
| at_most_one_release_public | ( CASE WHEN (public <> true) THEN true ELSE (NOT already_public_release(id)) END) |

