Refactor database schema and add planner functionality
This commit is contained in:
@@ -89,4 +89,14 @@ export const userVisitedWorldTravel = pgTable("userVisitedWorldTravel", {
|
||||
region_id: varchar("region_id")
|
||||
.notNull()
|
||||
.references(() => worldTravelCountryRegions.id),
|
||||
});
|
||||
});
|
||||
|
||||
export const userPlannedAdventures = pgTable("userPlannedAdventures", {
|
||||
id: serial("id").primaryKey(),
|
||||
userId: text("userId")
|
||||
.notNull()
|
||||
.references(() => userTable.id),
|
||||
name: text("adventureName").notNull(),
|
||||
location: text("location"),
|
||||
activityTypes: json("activityTypes"),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user