fix debug statement in scheduled tasks

This commit is contained in:
Kenneth Kehl
2026-01-27 07:33:54 -08:00
parent 6ff3205f43
commit 0c10e1cdde
63 changed files with 230 additions and 464 deletions
@@ -15,18 +15,15 @@ down_revision = "0313_email_access_validated_at"
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
# if user has email_auth, set email_access_validated_at on last login, else set it at user created_at date.
op.execute(
"""
op.execute("""
UPDATE
users
SET
email_access_validated_at = created_at
WHERE
email_access_validated_at IS NULL
"""
)
op.execute(
"""
""")
op.execute("""
UPDATE
users
SET
@@ -35,8 +32,7 @@ def upgrade():
auth_type = 'email_auth'
AND
logged_in_at IS NOT NULL
"""
)
""")
op.alter_column("users", "email_access_validated_at", nullable=False)
# ### end Alembic commands ###