Skip to content

Commit

Permalink
fix migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Dec 11, 2015
1 parent a4065e4 commit 59c1ee3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

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():
Expand Down

0 comments on commit 59c1ee3

Please sign in to comment.