TypeTable
Citygdata_master_city

List of city information in a country (e.g. Dubai).

Field NameData TypeDescription
idvarchar(255)Unique identifier for the city.
createdattimestampDate and time when the city entry was created.
createdbyvarchar(255)The user or system that created the city entry.
modifiedattimestampDate and time when the city entry was last modified.
modifiedbyvarchar(255)The user or system that last modified the city entry.
statusvarchar(255)Current status of the city entry.
tagsvarchar(255)Tags associated with the city.
centerlatitudefloat8Latitude for the city's center or central point.
centerlongitudefloat8Longitude for the city's center or central point.
countryidvarchar(255)Identifier for the country in which the city is located. Links to the public.gdata_master_country table.
descriptionvarchar(2000)Detailed description or notes about the city.
namevarchar(1000)Full name of the city.

Associations

  • The countryid field in the public.gdata_master_city table should ideally reference the id field in the public.gdata_master_country table, forming a foreign key relationship.
    • Description: Each city entry in public.gdata_master_city can be linked to a specific country in the public.gdata_master_country table, signifying which country the city belongs to. This table documentation offers a structured overview of your city table fields and how they might relate to other tables. You can enhance or adjust the "Description" fields depending on the specific intricacies or additional details of your application.