full adjustment
This commit is contained in:
32
migrations/versions/c242c2733a7f_adjustmen_of_bdsv2.py
Normal file
32
migrations/versions/c242c2733a7f_adjustmen_of_bdsv2.py
Normal file
@@ -0,0 +1,32 @@
|
||||
"""adjustmen of BDsV2
|
||||
|
||||
Revision ID: c242c2733a7f
|
||||
Revises: 876421e4eea2
|
||||
Create Date: 2026-04-09 20:37:27.188549
|
||||
|
||||
"""
|
||||
from typing import Sequence, Union
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision: str = 'c242c2733a7f'
|
||||
down_revision: Union[str, None] = '876421e4eea2'
|
||||
branch_labels: Union[str, Sequence[str], None] = None
|
||||
depends_on: Union[str, Sequence[str], None] = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('edos', sa.Column('publicacion_sat', sa.Date(), nullable=True))
|
||||
op.drop_column('edos', 'publicaccion_sat')
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('edos', sa.Column('publicaccion_sat', sa.DATE(), autoincrement=False, nullable=True))
|
||||
op.drop_column('edos', 'publicacion_sat')
|
||||
# ### end Alembic commands ###
|
||||
Reference in New Issue
Block a user