minor bug files, remove unqiue constraint, and start migration

This commit is contained in:
miloschwartz 2025-02-24 22:06:21 -05:00
parent ff37e07ce6
commit e11748fe30
No known key found for this signature in database
5 changed files with 97 additions and 10 deletions

View file

@ -3,7 +3,7 @@ import { sqliteTable, text, integer } from "drizzle-orm/sqlite-core";
export const domains = sqliteTable("domains", {
domainId: text("domainId").primaryKey(),
baseDomain: text("baseDomain").notNull().unique(),
baseDomain: text("baseDomain").notNull(),
configManaged: integer("configManaged", { mode: "boolean" })
.notNull()
.default(false)