Add name and date columns to sharedAdventures table and display them in shared adventure page

This commit is contained in:
Sean Morley
2024-04-11 22:21:09 +00:00
parent 167080441a
commit a6c3738c48
7 changed files with 241 additions and 3 deletions

View File

@@ -16,6 +16,8 @@ export const featuredAdventures = pgTable("featuredAdventures", {
export const sharedAdventures = pgTable("sharedAdventures", {
id: text("id").primaryKey(),
data: json("data").notNull(),
name: text("name").notNull(),
date: text("date").notNull(),
});
export const userTable = pgTable("user", {