mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-25 07:49:37 +02:00
12 lines
363 B
TypeScript
12 lines
363 B
TypeScript
import { pgTable, json, text, serial } from "drizzle-orm/pg-core";
|
|
|
|
export const featuredAdventures = pgTable("featuredAdventures", {
|
|
id: serial("id").primaryKey(),
|
|
name: text("name").notNull(),
|
|
location: text("location"),
|
|
});
|
|
|
|
export const sharedAdventures = pgTable("sharedAdventures", {
|
|
id: text("id").primaryKey(),
|
|
data: json("data").notNull(),
|
|
});
|