feat: add publicId to workspace roles
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": "50b875bf-3579-4fde-9073-33a40244182d",
|
||||
"id": "c24a8e89-c100-4483-9f0b-391201327ac5",
|
||||
"prevId": "4e1ebb8b-bd52-48c5-87d6-8e6e5eb8bbde",
|
||||
"version": "7",
|
||||
"dialect": "postgresql",
|
||||
@@ -3071,6 +3071,12 @@
|
||||
"primaryKey": true,
|
||||
"notNull": true
|
||||
},
|
||||
"publicId": {
|
||||
"name": "publicId",
|
||||
"type": "varchar(12)",
|
||||
"primaryKey": false,
|
||||
"notNull": true
|
||||
},
|
||||
"workspaceId": {
|
||||
"name": "workspaceId",
|
||||
"type": "bigint",
|
||||
@@ -3170,7 +3176,15 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {},
|
||||
"uniqueConstraints": {
|
||||
"workspace_roles_publicId_unique": {
|
||||
"name": "workspace_roles_publicId_unique",
|
||||
"nullsNotDistinct": false,
|
||||
"columns": [
|
||||
"publicId"
|
||||
]
|
||||
}
|
||||
},
|
||||
"policies": {},
|
||||
"checkConstraints": {},
|
||||
"isRLSEnabled": true
|
||||
@@ -166,8 +166,8 @@
|
||||
{
|
||||
"idx": 23,
|
||||
"version": "7",
|
||||
"when": 1769433866743,
|
||||
"tag": "20260126132426_AddWorkspaceRoles",
|
||||
"when": 1769435949476,
|
||||
"tag": "20260126135909_AddWorkspaceRoles",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user