Add country regions for Germany, South Africa, Australia, New Zealand, Egypt, Brazil, China

This commit is contained in:
Sean Morley
2024-04-12 14:04:23 +00:00
parent 3887ac845e
commit 61458b3cc2
12 changed files with 510 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ export const worldTravelCountries = pgTable("worldTravelCountries", {
export const worldTravelCountryRegions = pgTable("worldTravelCountryRegions", {
id: varchar("id").primaryKey().unique(),
name: text("name").notNull().unique(),
name: text("name").notNull(),
country_code: text("country_code")
.notNull()
.references(() => worldTravelCountries.country_code),