Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('"Cities_id_seq"'::regclass) |
|
|
Primary Key. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name | varchar | 255 | √ | null |
|
|
Name of City. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CountryCode | varchar | 255 | √ | null |
|
|
Country Code of the country that this city reside in. Foreign Key References Countries. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| createdAt | timestamptz | 35,6 | null |
|
|
Entry creation date |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| updatedAt | timestamptz | 35,6 | null |
|
|
Datetime of last modification to any attribute |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| Cities_pkey | Primary key | Asc | id |
| Cities_CountryCode_idx | Performance | Asc | CountryCode |
| Cities_name_f_unaccent_idx | Performance | ||
| Cities_name_idx | Performance | Asc | name |

