From 07b3284c00ec95b774c2c6960d083163cb410bd3 Mon Sep 17 00:00:00 2001 From: Cy Rossignol Date: Wed, 20 May 2026 12:50:20 -0700 Subject: [PATCH] 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. --- alembic_osm/versions/9221408912dd_add_user_role_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alembic_osm/versions/9221408912dd_add_user_role_table.py b/alembic_osm/versions/9221408912dd_add_user_role_table.py index 3963de9..d34f97e 100644 --- a/alembic_osm/versions/9221408912dd_add_user_role_table.py +++ b/alembic_osm/versions/9221408912dd_add_user_role_table.py @@ -45,7 +45,7 @@ def upgrade() -> None: if not insp.has_table("user_workspace_roles"): op.create_table( "user_workspace_roles", - sa.Column("user_auth_uid", sa.Uuid(), nullable=False), + sa.Column("user_auth_uid", sa.String(), nullable=False), sa.Column("workspace_id", sa.BigInteger(), nullable=False), sa.Column( "role",