🎨 lint
This commit is contained in:
parent
4656e17d8e
commit
ac3981fbb1
@ -5,29 +5,29 @@ Revises: 23320f01d8ce
|
|||||||
Create Date: 2025-10-09 19:02:32.979368
|
Create Date: 2025-10-09 19:02:32.979368
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from alembic import op
|
|
||||||
import sqlalchemy as sa
|
import sqlalchemy as sa
|
||||||
import sqlmodel.sql.sqltypes
|
import sqlmodel.sql.sqltypes
|
||||||
|
from alembic import op
|
||||||
|
|
||||||
# revision identifiers, used by Alembic.
|
# revision identifiers, used by Alembic.
|
||||||
revision = '4f837664b686'
|
revision = "4f837664b686"
|
||||||
down_revision = '23320f01d8ce'
|
down_revision = "23320f01d8ce"
|
||||||
branch_labels = None
|
branch_labels = None
|
||||||
depends_on = None
|
depends_on = None
|
||||||
|
|
||||||
|
|
||||||
def upgrade():
|
def upgrade():
|
||||||
# ### commands auto generated by Alembic - please adjust! ###
|
# ### commands auto generated by Alembic - please adjust! ###
|
||||||
with op.batch_alter_table('trip', schema=None) as batch_op:
|
with op.batch_alter_table("trip", schema=None) as batch_op:
|
||||||
batch_op.add_column(sa.Column('archival_review', sqlmodel.sql.sqltypes.AutoString(), nullable=True))
|
batch_op.add_column(sa.Column("archival_review", sqlmodel.sql.sqltypes.AutoString(), nullable=True))
|
||||||
|
|
||||||
# ### end Alembic commands ###
|
# ### end Alembic commands ###
|
||||||
|
|
||||||
|
|
||||||
def downgrade():
|
def downgrade():
|
||||||
# ### commands auto generated by Alembic - please adjust! ###
|
# ### commands auto generated by Alembic - please adjust! ###
|
||||||
with op.batch_alter_table('trip', schema=None) as batch_op:
|
with op.batch_alter_table("trip", schema=None) as batch_op:
|
||||||
batch_op.drop_column('archival_review')
|
batch_op.drop_column("archival_review")
|
||||||
|
|
||||||
# ### end Alembic commands ###
|
# ### end Alembic commands ###
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user