Initialer Import: Raceplaner mit Flask & Nginx Proxy
This commit is contained in:
32
app/migrations/versions/0489144eea7b_auto_migration.py
Normal file
32
app/migrations/versions/0489144eea7b_auto_migration.py
Normal file
@@ -0,0 +1,32 @@
|
||||
"""Auto-Migration
|
||||
|
||||
Revision ID: 0489144eea7b
|
||||
Revises:
|
||||
Create Date: 2026-01-21 19:09:43.187967
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '0489144eea7b'
|
||||
down_revision = None
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
with op.batch_alter_table('driver', schema=None) as batch_op:
|
||||
batch_op.add_column(sa.Column('order_index', sa.Integer(), nullable=True))
|
||||
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
with op.batch_alter_table('driver', schema=None) as batch_op:
|
||||
batch_op.drop_column('order_index')
|
||||
|
||||
# ### end Alembic commands ###
|
||||
Reference in New Issue
Block a user