From be76322190416cd477cd77081e0e1a1b340a8cb1 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Tue, 14 Apr 2020 22:32:12 +0200 Subject: [PATCH] Tweak migration --- migrations/versions/2020_032010_dbd80d290f04_.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/migrations/versions/2020_032010_dbd80d290f04_.py b/migrations/versions/2020_032010_dbd80d290f04_.py index 2d47593c..c7ae9c87 100644 --- a/migrations/versions/2020_032010_dbd80d290f04_.py +++ b/migrations/versions/2020_032010_dbd80d290f04_.py @@ -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 ###