Add and delete migration files
This commit is contained in:
@@ -5,6 +5,8 @@ import {
|
||||
json,
|
||||
serial,
|
||||
varchar,
|
||||
foreignKey,
|
||||
integer,
|
||||
} from "drizzle-orm/pg-core";
|
||||
|
||||
export const featuredAdventures = pgTable("featuredAdventures", {
|
||||
@@ -51,3 +53,10 @@ export const userVisitedAdventures = pgTable("userVisitedAdventures", {
|
||||
location: text("location"),
|
||||
visitedDate: text("visited_date"),
|
||||
});
|
||||
|
||||
export const worldTravelCountries = pgTable("worldTravelCountries", {
|
||||
id: serial("id").primaryKey(),
|
||||
name: text("name").notNull(),
|
||||
country_code: text("country_code").notNull(),
|
||||
continent: text("continent").notNull(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user