public.country
| Documentation | Pagila |
| Schema | public |
| Name | country |
| Module | Customer Data |
Stores the country names
Columns
| Key | Name | Data type | Null | Attributes | References | Description | ||
|---|---|---|---|---|---|---|---|---|
| 1 | country_id | integer | Default: nextval('country_country_id_seq'::regclass) | A surrogate primary key used to uniquely identify each country in the table. | ||||
| A surrogate primary key used to uniquely identify each country in the table. Default: nextval('country_country_id_seq'::regclass) |
||||||||
| 2 | country | character varying(50) | The name of the country. | |||||
| The name of the country. |
||||||||
| 3 | last_update | timestamp without time zone(6) | Default: now() | The time that the row was created or most recently updated. | ||||
| The time that the row was created or most recently updated. Default: now() |
||||||||
Relations
| Foreign table | Primary table | Join | Title / Name / Description | |
|---|---|---|---|---|
| public.city | public.country | public.city.country_id = public.country.country_id | city_country_id_fkey Foreign key constraint referencing country.country_id |
|
|
public.city.country_id = public.country.country_id Name: city_country_id_fkeyForeign key constraint referencing country.country_id |
||||
Unique keys
| Key name | Columns | Description | |
|---|---|---|---|
| country_pkey | country_id | Primary key. | |
| Primary key. | |||
Triggers
| Key name | When | Description | |
|---|---|---|---|
| last_updated | Before Update | The last_updated trigger sets last_update column of table to the current timestamp. | |
| The last_updated trigger sets last_update column of table to the current timestamp. | |||
Used by
| Name |
|---|
|
public.country
|
Exported: 2018-10-12 17:07, Last imported: 2018-08-06 09:25
