Add migration to drop unique constraint on worldTravelCountryRegions_id

This commit is contained in:
Sean Morley
2024-04-12 14:28:45 +00:00
parent 0d84445791
commit 11ace187a7
4 changed files with 320 additions and 1 deletions

View File

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