From 32bcab3c9a33293e9dcc0b1949e7fab19f9afd30 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 8 Feb 2026 18:41:03 +0000 Subject: [PATCH] chore: stop tracking shared --- .gitignore | 3 +++ shared/schema.ts | 18 ------------------ 2 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 shared/schema.ts diff --git a/.gitignore b/.gitignore index aef04873..78cb764a 100644 --- a/.gitignore +++ b/.gitignore @@ -56,3 +56,6 @@ dist/ # package-lock.json # yarn.lock # pnpm-lock.yaml + +shared/ + diff --git a/shared/schema.ts b/shared/schema.ts deleted file mode 100644 index 8e718919..00000000 --- a/shared/schema.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { sql } from "drizzle-orm"; -import { pgTable, text, varchar } from "drizzle-orm/pg-core"; -import { createInsertSchema } from "drizzle-zod"; -import { z } from "zod"; - -export const users = pgTable("users", { - id: varchar("id").primaryKey().default(sql`gen_random_uuid()`), - username: text("username").notNull().unique(), - password: text("password").notNull(), -}); - -export const insertUserSchema = createInsertSchema(users).pick({ - username: true, - password: true, -}); - -export type InsertUser = z.infer; -export type User = typeof users.$inferSelect;