- 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
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
"""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 ###
|
||||
Reference in New Issue
Block a user