mirror of
https://git.zhongyuan.online/ytke/tap.git
synced 2026-11-24 22:15:18 -08:00
Build business demand registration workspace from SOP
This commit is contained in:
commit
4556a5b483
126 files changed
+25398
No files matched your search
@@ -0,0 +1,5 @@
|
||||
import { sqliteTable, text, integer, index } from 'drizzle-orm/sqlite-core';
|
||||
export const demands = sqliteTable('demands', {
|
||||
id: text('id').primaryKey(), ownerId: text('owner_id').notNull(), payload: text('payload').notNull(),
|
||||
revision: integer('revision').notNull().default(1), updatedAt: text('updated_at').notNull(),
|
||||
}, table => [index('idx_demands_owner_updated').on(table.ownerId, table.updatedAt)]);
|
||||
Reference in new issue
Block a user