This commit is contained in:
Owen Schwartz 2024-12-25 15:58:46 -05:00
commit 907504eefb
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
29 changed files with 411 additions and 254 deletions

View file

@ -89,7 +89,10 @@ export const users = sqliteTable("user", {
emailVerified: integer("emailVerified", { mode: "boolean" })
.notNull()
.default(false),
dateCreated: text("dateCreated").notNull()
dateCreated: text("dateCreated").notNull(),
serverAdmin: integer("serverAdmin", { mode: "boolean" })
.notNull()
.default(false)
});
export const newts = sqliteTable("newt", {