32 lines
865 B
Python
32 lines
865 B
Python
"""nome completo
|
|
|
|
Revision ID: 8b5eaa353af9
|
|
Revises: 223ec99140a9
|
|
Create Date: 2024-12-29 04:23:00.693428
|
|
|
|
"""
|
|
from typing import Sequence, Union
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
import fastapi_users_db_sqlalchemy
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision: str = '8b5eaa353af9'
|
|
down_revision: Union[str, None] = '223ec99140a9'
|
|
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('rbac_usuarios', sa.Column('nome_completo', sa.String(length=100), nullable=True))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('rbac_usuarios', 'nome_completo')
|
|
# ### end Alembic commands ###
|