mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 00:48:32 +01:00
Tweak migration
This commit is contained in:
parent
b5c369f084
commit
be76322190
1 changed files with 3 additions and 3 deletions
|
@ -19,9 +19,9 @@ depends_on = None
|
|||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.alter_column("contact", "user_id", existing_type=sa.INTEGER(), nullable=False)
|
||||
op.alter_column("email_log", "user_id", existing_type=sa.INTEGER(), nullable=False)
|
||||
op.alter_column("file", "user_id", existing_type=sa.INTEGER(), nullable=False)
|
||||
op.alter_column("contact", "user_id", existing_type=sa.INTEGER(), nullable=True)
|
||||
op.alter_column("email_log", "user_id", existing_type=sa.INTEGER(), nullable=True)
|
||||
op.alter_column("file", "user_id", existing_type=sa.INTEGER(), nullable=True)
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue