mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
Cast to JSONB type to match altered column type (#6707)
This commit is contained in:
@@ -63,7 +63,7 @@ def upgrade():
|
||||
existing_type=sa.Text(),
|
||||
type_=JSONB(astext_type=sa.Text()),
|
||||
nullable=True,
|
||||
postgresql_using='data::text',
|
||||
postgresql_using='data::jsonb',
|
||||
server_default=sa.text("'{}'::jsonb"))
|
||||
op.alter_column('changes', 'change',
|
||||
existing_type=JSON(astext_type=sa.Text()),
|
||||
|
||||
Reference in New Issue
Block a user