crunk
7 months ago
5 changed files with 50 additions and 13 deletions
@ -0,0 +1 @@ |
|||
from models.distribusi_file_model import DistribusiFiles |
@ -0,0 +1,36 @@ |
|||
"""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 ### |
Loading…
Reference in new issue