Files
eveAI/migrations/public/versions/f0ab991a6411_add_financial_role.py
Josako 7702a6dfcc - Modernized authentication with the introduction of TenantProject
- 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
2024-11-21 17:24:33 +01:00

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 ###