11 lines
389 B
TypeScript
11 lines
389 B
TypeScript
|
|
import { pgTable, text, timestamp } from "drizzle-orm/pg-core";
|
||
|
|
|
||
|
|
export const platformSettings = pgTable("platform_settings", {
|
||
|
|
key: text("key").primaryKey(),
|
||
|
|
value: text("value"),
|
||
|
|
updatedAt: timestamp("updatedAt").notNull().defaultNow(),
|
||
|
|
});
|
||
|
|
|
||
|
|
export type PlatformSetting = typeof platformSettings.$inferSelect;
|
||
|
|
export type NewPlatformSetting = typeof platformSettings.$inferInsert;
|