feat(db): hand-author drizzle schema for users, users_currency, bans, website_settings
This commit is contained in:
1 parent
0966aa7dda
commit
5369f99b07
5 files changed
+68
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { mysqlTable, bigint, varchar, text } from "drizzle-orm/mysql-core";
|
||||
|
||||
// CMS-owned table (created by Laravel migration, not in default.sql).
|
||||
// `value` was widened from varchar(255) to TEXT by a later migration.
|
||||
export const websiteSettings = mysqlTable("website_settings", {
|
||||
id: bigint("id", { mode: "number", unsigned: true }).autoincrement().primaryKey(),
|
||||
key: varchar("key", { length: 255 }).notNull(),
|
||||
value: text("value").notNull(),
|
||||
comment: varchar("comment", { length: 255 }).notNull(),
|
||||
});
|
||||
Reference in new issue
Block a user