add ability to move cards
This commit is contained in:
@@ -106,6 +106,8 @@ export const card = pgTable(
|
||||
dashboardId: uuid("dashboard_id")
|
||||
.notNull()
|
||||
.references(() => dashboard.id, { onDelete: "cascade" }),
|
||||
// order on the dashboard
|
||||
position: integer("position").notNull().default(0),
|
||||
name: text("name").notNull(),
|
||||
createdAt: timestamp("created_at").notNull().defaultNow(),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user