[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-03-16 05:02:48 +00:00
committed by GitHub
parent 947100c041
commit 5ffd664570

View File

@@ -10,10 +10,10 @@ export const auditLog = pgTable(
id: text("id")
.primaryKey()
.$defaultFn(() => nanoid()),
organizationId: text("organization_id")
.references(() => organization.id, { onDelete: "set null" }),
userId: text("user_id")
.references(() => user.id, { onDelete: "set null" }),
organizationId: text("organization_id").references(() => organization.id, {
onDelete: "set null",
}),
userId: text("user_id").references(() => user.id, { onDelete: "set null" }),
userEmail: text("user_email").notNull(),
userRole: text("user_role").notNull(),
action: text("action").notNull(),