Store phone/tablet/photo-frame shells with catalogs, append pages from extra images or PDFs, and reorder drafts with drag-and-drop. Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
441 B
TypeScript
13 lines
441 B
TypeScript
import { sqliteTable, text, integer } from "drizzle-orm/sqlite-core";
|
|
|
|
export const catalogsTable = sqliteTable("catalogs", {
|
|
id: text("id").primaryKey(),
|
|
deleteToken: text("delete_token").notNull(),
|
|
title: text("title").notNull(),
|
|
effect: text("effect").notNull(),
|
|
pageCount: integer("page_count").notNull(),
|
|
flipMs: integer("flip_ms").notNull(),
|
|
frame: text("frame").notNull(),
|
|
createdAt: text("created_at").notNull(),
|
|
});
|