import {
  pgTable,
  text,
  timestamp,
  uuid
} from 'drizzle-orm/pg-core'

export const siteconfig = pgTable('siteconfig', {
  id: uuid('id').primaryKey().defaultRandom(),
  key: text('key').notNull().unique(),
  value: text('value').notNull(),
  description: text('description'),
  createdAt: timestamp('created_at').defaultNow(),
  updatedAt: timestamp('updated_at').defaultNow()
})
