mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
Fix typo where wrong column name was checked for being null
This commit is contained in:
@@ -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 ###
|
||||||
|
|||||||
Reference in New Issue
Block a user