Add country regions for GB, FR, AR, CA, MX, and DE

This commit is contained in:
Sean Morley
2024-04-12 13:39:08 +00:00
parent d9116b2a15
commit 3887ac845e
14 changed files with 891 additions and 89 deletions

View File

@@ -5,7 +5,6 @@ import {
json,
serial,
varchar,
foreignKey,
integer,
} from "drizzle-orm/pg-core";
@@ -62,7 +61,7 @@ export const worldTravelCountries = pgTable("worldTravelCountries", {
});
export const worldTravelCountryRegions = pgTable("worldTravelCountryRegions", {
id: serial("id").primaryKey(),
id: varchar("id").primaryKey().unique(),
name: text("name").notNull().unique(),
country_code: text("country_code")
.notNull()