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(),
|
gen_random_uuid(),
|
||||||
t.id,
|
t.id,
|
||||||
:role_name,
|
:role_name,
|
||||||
:perms::jsonb,
|
CAST(:perms AS jsonb),
|
||||||
'[]'::jsonb,
|
'[]'::jsonb,
|
||||||
'{}'::jsonb,
|
'{}'::jsonb,
|
||||||
1,
|
1,
|
||||||
|
|||||||
Reference in New Issue
Block a user