사용자 관련 DB 스키마 생성

This commit is contained in:
static
2024-12-26 16:01:14 +09:00
parent 07252126ec
commit d83dc6b8d2
7 changed files with 40 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
import { sqliteTable, text, integer } from "drizzle-orm/sqlite-core";
export const user = sqliteTable("user", {
id: integer("id").primaryKey(),
email: text("email").notNull().unique(),
password: text("password").notNull(),
});