Files
Epicnabbo-Catalogus-Updated…/packages/db/src/schema/website-settings.ts
T

11 lines
514 B
TypeScript

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(),
});