mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 09:21:39 -05:00
Merge pull request #2703 from alphagov/fix_migration
Fix typo where wrong column name was checked for being null
This commit is contained in:
@@ -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 ###
|
||||
|
||||
Reference in New Issue
Block a user