- Created a base mail template - Adapt and improve document API to usage of catalogs and processors - Adapt eveai_sync to new authentication mechanism and usage of catalogs and processors
37 lines
825 B
Python
37 lines
825 B
Python
"""Add Financial Role
|
|
|
|
Revision ID: f0ab991a6411
|
|
Revises: 392d48aa045e
|
|
Create Date: 2024-11-20 14:30:19.068984
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = 'f0ab991a6411'
|
|
down_revision = '392d48aa045e'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.execute("""
|
|
INSERT INTO public.role (name, description)
|
|
VALUES ('Tenant Financial', 'Role for managing tenant financial operations');
|
|
""")
|
|
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.execute("""
|
|
DELETE FROM public.role
|
|
WHERE name = 'Tenant Financial';
|
|
""")
|
|
|
|
# ### end Alembic commands ###
|