fix: migration 0019 - use CAST(:perms AS jsonb) to avoid SQLAlchemy bind param collision with ::jsonb cast
This commit is contained in:
@@ -80,7 +80,7 @@ def upgrade() -> None:
|
||||
gen_random_uuid(),
|
||||
t.id,
|
||||
:role_name,
|
||||
:perms::jsonb,
|
||||
CAST(:perms AS jsonb),
|
||||
'[]'::jsonb,
|
||||
'{}'::jsonb,
|
||||
1,
|
||||
|
||||
Reference in New Issue
Block a user