search full_name continue
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
"""add full_name, medical_card_id
|
||||
|
||||
Revision ID: 459fcf60b75b
|
||||
Revises: 3510de1e1ff1
|
||||
Create Date: 2023-10-02 01:17:01.122039
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '459fcf60b75b'
|
||||
down_revision = '3510de1e1ff1'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('persons', sa.Column('full_name', sa.String(length=310), nullable=True))
|
||||
op.add_column('persons', sa.Column('medical_card_id', sa.UUID(), nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('persons', 'medical_card_id')
|
||||
op.drop_column('persons', 'full_name')
|
||||
# ### end Alembic commands ###
|
||||
Reference in New Issue
Block a user