forked from crunk/distribusi-verse
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
910 B
37 lines
910 B
7 months ago
|
"""empty message
|
||
|
|
||
|
Revision ID: 8ede45e978d9
|
||
|
Revises:
|
||
|
Create Date: 2024-04-30 22:15:48.023060
|
||
|
|
||
|
"""
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '8ede45e978d9'
|
||
|
down_revision = None
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
with op.batch_alter_table('distribusi_files', schema=None) as batch_op:
|
||
|
batch_op.alter_column('type',
|
||
|
existing_type=sa.VARCHAR(length=300),
|
||
|
nullable=True)
|
||
|
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
with op.batch_alter_table('distribusi_files', schema=None) as batch_op:
|
||
|
batch_op.alter_column('type',
|
||
|
existing_type=sa.VARCHAR(length=300),
|
||
|
nullable=False)
|
||
|
|
||
|
# ### end Alembic commands ###
|