29 lines
719 B
Python
29 lines
719 B
Python
"""add flight_plan.description
|
|
|
|
Revision ID: a3e1f1a37899
|
|
Revises: 8a67af3909aa
|
|
Create Date: 2024-06-11 16:46:29.786830
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = 'a3e1f1a37899'
|
|
down_revision = '8a67af3909aa'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('flight_plan', sa.Column('description', sa.Text(), server_default='', nullable=False))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('flight_plan', 'description')
|
|
# ### end Alembic commands ###
|