mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-16 06:58:46 +00:00
사용자 관련 DB 스키마 생성
This commit is contained in:
7
src/lib/server/db/schema/user.ts
Normal file
7
src/lib/server/db/schema/user.ts
Normal 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(),
|
||||
});
|
||||
Reference in New Issue
Block a user