Merge pull request #2703 from alphagov/fix_migration

Fix typo where wrong column name was checked for being null
This commit is contained in:
Pea M. Tyczynska
2020-01-30 16:49:10 +00:00
committed by GitHub

View File

@@ -31,7 +31,7 @@ def upgrade():
WHERE
auth_type = 'email_auth'
AND
email_access_validated_at IS NOT NULL
logged_in_at IS NOT NULL
""")
op.alter_column('users', 'email_access_validated_at', nullable=False)
# ### end Alembic commands ###