mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-25 21:28:47 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -10,10 +10,10 @@ export const auditLog = pgTable(
|
|||||||
id: text("id")
|
id: text("id")
|
||||||
.primaryKey()
|
.primaryKey()
|
||||||
.$defaultFn(() => nanoid()),
|
.$defaultFn(() => nanoid()),
|
||||||
organizationId: text("organization_id")
|
organizationId: text("organization_id").references(() => organization.id, {
|
||||||
.references(() => organization.id, { onDelete: "set null" }),
|
onDelete: "set null",
|
||||||
userId: text("user_id")
|
}),
|
||||||
.references(() => user.id, { onDelete: "set null" }),
|
userId: text("user_id").references(() => user.id, { onDelete: "set null" }),
|
||||||
userEmail: text("user_email").notNull(),
|
userEmail: text("user_email").notNull(),
|
||||||
userRole: text("user_role").notNull(),
|
userRole: text("user_role").notNull(),
|
||||||
action: text("action").notNull(),
|
action: text("action").notNull(),
|
||||||
|
|||||||
Reference in New Issue
Block a user