diff --git a/alembic/versions/0019_rbac_groups.py b/alembic/versions/0019_rbac_groups.py index 2136f1f..f67e1c7 100644 --- a/alembic/versions/0019_rbac_groups.py +++ b/alembic/versions/0019_rbac_groups.py @@ -80,7 +80,7 @@ def upgrade() -> None: gen_random_uuid(), t.id, :role_name, - :perms::jsonb, + CAST(:perms AS jsonb), '[]'::jsonb, '{}'::jsonb, 1,