feat(catalog): add saved packages, preview and bulk price editing
CI / check (push) Successful in 52s
CI / deploy (push) Successful in 1m23s
CI / publish-container (push) Failing after 27s

This commit is contained in:
Simo committed 2026-09-09 20:04:10 +02:00
1 parent 867113d5d4
commit 047cd9f3dd
48 files changed
+7712

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import {
int,
longtext,
mysqlTable,
timestamp,
varchar,
} from "drizzle-orm/mysql-core";
export const CatalogPackages = mysqlTable("website_catalog_packages", {
id: varchar("id", { length: 36 }).primaryKey(),
name: varchar("name", { length: 128 }).notNull(),
version: int("version", { unsigned: true }).notNull(),
status: varchar("status", { length: 16 }).notNull(),
mode: varchar("mode", { length: 16 }).notNull(),
payload: longtext("payload").notNull(),
updatedAt: timestamp("updated_at").notNull().defaultNow(),
});