Skip to content

Commit 3a067b8

Browse files
committed
Add 0546_update_permissions_type_enum
This adds send_files_via_ui to the permissions_type enum
1 parent 5685b9c commit 3a067b8

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

migrations/.current-alembic-head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0545_add_pending_column
1+
0546_update_permissions_enum
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
"""
2+
Create Date: 2026-03-19 11:15:54.687868
3+
"""
4+
5+
from alembic import op
6+
7+
revision = '0546_update_permissions_enum'
8+
down_revision = '0545_add_pending_column'
9+
10+
11+
def upgrade():
12+
with op.get_context().autocommit_block():
13+
op.execute("ALTER TYPE permission_types ADD VALUE IF NOT EXISTS 'send_files_via_ui'")
14+
15+
16+
def downgrade():
17+
pass

0 commit comments

Comments
 (0)