feat: modules API + membership

This commit is contained in:
2026-09-07 18:52:45 +00:00
parent 28b2cbd095
commit 75bcd14233
3 changed files with 472 additions and 0 deletions
+2
View File
@@ -184,9 +184,11 @@ export const modules = pgTable(
sortOrder: integer('sort_order').default(0),
createdAt: timestamp('created_at', { withTimezone: true }).defaultNow().notNull(),
updatedAt: timestamp('updated_at', { withTimezone: true }).defaultNow().notNull(),
deletedAt: timestamp('deleted_at', { withTimezone: true }),
},
(table) => [
index('modules_project_id_idx').on(table.projectId),
index('modules_deleted_at_idx').on(table.deletedAt),
]
);