1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-23 23:09:37 +02:00

Add featuredAdventures table and related code

This commit is contained in:
Sean Morley 2024-04-02 14:01:35 +00:00
parent c23ea0ce5e
commit 33122894c2
10 changed files with 1936 additions and 39 deletions

9
src/lib/db/schema.ts Normal file
View file

@ -0,0 +1,9 @@
import { pgTable,serial,text } from "drizzle-orm/pg-core";
export const featuredAdventures = pgTable("featuredAdventures",{
id:serial("id").primaryKey(),
name:text("name").notNull(),
location:text("location"),
})