lots of things
This commit is contained in:
32
migrations/versions/fad6fe2b5e43_auto.py
Normal file
32
migrations/versions/fad6fe2b5e43_auto.py
Normal file
@ -0,0 +1,32 @@
|
||||
"""auto
|
||||
|
||||
Revision ID: fad6fe2b5e43
|
||||
Revises: 6cb1c3054071
|
||||
Create Date: 2025-06-06 09:24:38.663461
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
from sqlalchemy.dialects import mysql
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'fad6fe2b5e43'
|
||||
down_revision = '6cb1c3054071'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.alter_column('submissions', 'plant_name',
|
||||
existing_type=mysql.VARCHAR(length=100),
|
||||
nullable=True)
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.alter_column('submissions', 'plant_name',
|
||||
existing_type=mysql.VARCHAR(length=100),
|
||||
nullable=False)
|
||||
# ### end Alembic commands ###
|
Reference in New Issue
Block a user