Files
notifications-api/migrations/versions/0313_email_access_validated_at.py

28 lines
682 B
Python
Raw Normal View History

"""
Revision ID: 0313_email_access_validated_at
Revises: 0312_populate_returned_letters
Create Date: 2020-01-28 18:03:22.237386
"""
2024-04-01 15:12:33 -07:00
import sqlalchemy as sa
from alembic import op
2023-08-29 14:54:30 -07:00
revision = "0313_email_access_validated_at"
down_revision = "0312_populate_returned_letters"
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
2023-08-29 14:54:30 -07:00
op.add_column(
"users", sa.Column("email_access_validated_at", sa.DateTime(), nullable=True)
)
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
2023-08-29 14:54:30 -07:00
op.drop_column("users", "email_access_validated_at")
# ### end Alembic commands ###