feat(catalog): add saved packages, preview and bulk price editing
This commit is contained in:
1 parent
867113d5d4
commit
047cd9f3dd
48 files changed
+7712
No files matched your search
@@ -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(),
|
||||
});
|
||||
Reference in new issue
Block a user