Initial commit from create-react-router
This commit is contained in:
7
database/schema.ts
Normal file
7
database/schema.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { integer, pgTable, varchar } from "drizzle-orm/pg-core";
|
||||
|
||||
export const guestBook = pgTable("guestBook", {
|
||||
id: integer().primaryKey().generatedAlwaysAsIdentity(),
|
||||
name: varchar({ length: 255 }).notNull(),
|
||||
email: varchar({ length: 255 }).notNull().unique(),
|
||||
});
|
||||
Reference in New Issue
Block a user