Skip to content

Commit 07b3284

Browse files
committed
Fix user_auth_uid type in user_role migration
The type of the `user_auth_uid` column was modified in 80156fc to a UUID which breaks the foreign key reference. The original VARCHAR type was correct.
1 parent b0ff03a commit 07b3284

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

alembic_osm/versions/9221408912dd_add_user_role_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def upgrade() -> None:
4545
if not insp.has_table("user_workspace_roles"):
4646
op.create_table(
4747
"user_workspace_roles",
48-
sa.Column("user_auth_uid", sa.Uuid(), nullable=False),
48+
sa.Column("user_auth_uid", sa.String(), nullable=False),
4949
sa.Column("workspace_id", sa.BigInteger(), nullable=False),
5050
sa.Column(
5151
"role",

0 commit comments

Comments
 (0)