aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-06-11 23:42:20 +0100
committerrubenwardy <rw@rubenwardy.com>2018-06-11 23:42:20 +0100
commitba08becd3add13d8c3c11aa368addcf0d0924a67 (patch)
treefb9e73703378dc6f679f380808bd29e1eb19d7ef
parent68b7a5e922472202599ae598cc490865ef20bbb0 (diff)
downloadcheatdb-ba08becd3add13d8c3c11aa368addcf0d0924a67.tar.xz
Fix migration errorv1.7.0
-rw-r--r--migrations/versions/28a427cbd4cf_.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/migrations/versions/28a427cbd4cf_.py b/migrations/versions/28a427cbd4cf_.py
index 9a59c75..247fdfa 100644
--- a/migrations/versions/28a427cbd4cf_.py
+++ b/migrations/versions/28a427cbd4cf_.py
@@ -19,17 +19,11 @@ depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
- op.alter_column('user','username', type_=ty.VARCHAR(50, collation='NOCASE'))
- op.alter_column('user','github_username', type_=ty.VARCHAR(50, collation='NOCASE'))
- op.alter_column('user','forums_username', type_=ty.VARCHAR(50, collation='NOCASE'))
- op.create_index(op.f('ix_user_username'), 'user', ['username'], unique=True)
+ pass
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
- op.alter_column('user','username', type_=ty.VARCHAR(50))
- op.alter_column('user','github_username', type_=ty.VARCHAR(50))
- op.alter_column('user','forums_username', type_=ty.VARCHAR(50))
- op.drop_index(op.f('ix_user_username'), table_name='user')
+ pass
# ### end Alembic commands ###