Skip to content

Commit

Permalink
Update 937d04c16b64_update_datasources.py (#7361)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley authored Apr 24, 2019
1 parent 1388452 commit f58e7b2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def upgrade():
with op.batch_alter_table('datasources') as batch_op:
batch_op.alter_column(
'datasource_name',
existing_type=sa.String(255),
nullable=False,
type_=sa.String(255),
)


Expand All @@ -47,6 +47,6 @@ def downgrade():
with op.batch_alter_table('datasources') as batch_op:
batch_op.alter_column(
'datasource_name',
existing_type=sa.String(255),
nullable=True,
type_=sa.String(255),
)

0 comments on commit f58e7b2

Please sign in to comment.