mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-21 20:44:29 +00:00
feat(organization): allow setting a default role for new members
This commit is contained in:
@@ -66,6 +66,7 @@ export const organization = pgTable("organization", {
|
||||
logo: text("logo"),
|
||||
createdAt: timestamp("created_at").notNull(),
|
||||
metadata: text("metadata"),
|
||||
defaultRole: text("default_role"),
|
||||
ownerId: text("owner_id")
|
||||
.notNull()
|
||||
.references(() => user.id, { onDelete: "cascade" }),
|
||||
|
||||
Reference in New Issue
Block a user