You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2019/04/24 01:08:11 UTC
[incubator-superset] branch john-bodley--update-937d04c16b64
created (now 31242ac)
This is an automated email from the ASF dual-hosted git repository.
johnbodley pushed a change to branch john-bodley--update-937d04c16b64
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.
at 31242ac Update 937d04c16b64_update_datasources.py
This branch includes the following new commits:
new 31242ac Update 937d04c16b64_update_datasources.py
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[incubator-superset] 01/01: Update
937d04c16b64_update_datasources.py
Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
johnbodley pushed a commit to branch john-bodley--update-937d04c16b64
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
commit 31242ac464c89c9ee438bc5b0e120765c5c10ba8
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Tue Apr 23 18:08:02 2019 -0700
Update 937d04c16b64_update_datasources.py
---
superset/migrations/versions/937d04c16b64_update_datasources.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/superset/migrations/versions/937d04c16b64_update_datasources.py b/superset/migrations/versions/937d04c16b64_update_datasources.py
index 5fb34ab..a233a44 100644
--- a/superset/migrations/versions/937d04c16b64_update_datasources.py
+++ b/superset/migrations/versions/937d04c16b64_update_datasources.py
@@ -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),
)
@@ -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),
)