Fix typo where wrong column name was checked for being null

This commit is contained in:
Pea Tyczynska
2020-01-30 16:34:59 +00:00
parent 20124d599c
commit a2333c2009

View File

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