mirror of
https://github.com/simple-login/app.git
synced 2024-11-14 08:01:13 +01:00
c19b62b878
(cherry picked from commit ea46ca0af5f6912d17cf7c656f00257cdee191d1)
34 lines
841 B
Python
34 lines
841 B
Python
"""empty message
|
|
|
|
Revision ID: ec7fdde8da9f
|
|
Revises: 0a5701a4f5e4
|
|
Create Date: 2023-09-28 18:09:48.016620
|
|
|
|
"""
|
|
import sqlalchemy_utils
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = "ec7fdde8da9f"
|
|
down_revision = "0a5701a4f5e4"
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.get_context().autocommit_block():
|
|
op.create_index(
|
|
"ix_email_log_created_at", "email_log", ["created_at"], unique=False
|
|
)
|
|
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.get_context().autocommit_block():
|
|
op.drop_index("ix_email_log_created_at", table_name="email_log")
|
|
# ### end Alembic commands ###
|