import { sqliteTable, text, integer } from 'drizzle-orm/sqlite-core'; export const cache = sqliteTable('cache', { key: text('key').primaryKey(), value: text('value').notNull(), expireAt: integer('expire_at').notNull(), createdAt: integer('created_at').notNull(), }); export const xhsNote = sqliteTable('xhs_note', { id: text('id').primaryKey(), content: text('content').notNull(), title: text('title'), description: text('description'), tags: text('tags').notNull(), noteUrl: text('note_url'), status: text('status'), authorUrl: text('author_url'), cover: text('cover'), syncStatus: integer('sync_status').notNull(), syncAt: integer('sync_at').notNull(), createdAt: integer('created_at').notNull(), updatedAt: integer('updated_at').notNull(), });