mirror of https://github.com/apache/superset.git
fix migrations
This commit is contained in:
parent
a4065e4be6
commit
59c1ee3c03
|
@ -15,7 +15,7 @@ import sqlalchemy as sa
|
|||
|
||||
def upgrade():
|
||||
op.add_column('dashboards', sa.Column('slug', sa.String(length=255), nullable=True))
|
||||
op.create_unique_constraint(None, 'dashboards', ['slug'])
|
||||
op.create_unique_constraint('idx_unique_slug', 'dashboards', ['slug'])
|
||||
|
||||
|
||||
def downgrade():
|
||||
|
|
Loading…
Reference in New Issue