fix/conceptos-catalogo-general
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
"""add description to classification concept
|
||||
|
||||
Revision ID: 1f4ba75eaa35
|
||||
Revises: f1a2b3c4d5e6
|
||||
Create Date: 2026-04-21 20:55:04.259655
|
||||
|
||||
"""
|
||||
from typing import Sequence, Union
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision: str = '1f4ba75eaa35'
|
||||
down_revision: Union[str, Sequence[str], None] = 'f1a2b3c4d5e6'
|
||||
branch_labels: Union[str, Sequence[str], None] = None
|
||||
depends_on: Union[str, Sequence[str], None] = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
"""Upgrade schema."""
|
||||
op.add_column('classification_concepts', sa.Column('description', sa.String(length=255), nullable=True), schema='a76')
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
"""Downgrade schema."""
|
||||
op.drop_column('classification_concepts', 'description', schema='a76')
|
||||
Reference in New Issue
Block a user