mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-02 17:14:55 +02:00
minor bug files, remove unqiue constraint, and start migration
This commit is contained in:
parent
ff37e07ce6
commit
e11748fe30
5 changed files with 97 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue