This commit is contained in:
Frank
2025-10-06 23:57:52 -04:00
parent 4f33594b99
commit 0534bc0c09
5 changed files with 728 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ export const WorkspaceTable = mysqlTable(
{
id: ulid("id").notNull().primaryKey(),
slug: varchar("slug", { length: 255 }),
name: varchar("name", { length: 255 }),
name: varchar("name", { length: 255 }).notNull(),
...timestamps,
},
(table) => [uniqueIndex("slug").on(table.slug)],