Skip to content

Commit e2e3da0

Browse files
autogenerae alembic for funcapi read funcstions
1 parent 744e8c2 commit e2e3da0

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
"""computational collection runs 2
2+
3+
Revision ID: df61d1b2b967
4+
Revises: 42ec7816c0b4
5+
Create Date: 2025-07-02 16:04:02.458800+00:00
6+
7+
"""
8+
9+
import sqlalchemy as sa
10+
from alembic import op
11+
12+
# revision identifiers, used by Alembic.
13+
revision = "df61d1b2b967"
14+
down_revision = "42ec7816c0b4"
15+
branch_labels = None
16+
depends_on = None
17+
18+
19+
def upgrade():
20+
# ### commands auto generated by Alembic - please adjust! ###
21+
op.alter_column(
22+
"funcapi_group_api_access_rights",
23+
"read_functions",
24+
existing_type=sa.BOOLEAN(),
25+
nullable=False,
26+
)
27+
# ### end Alembic commands ###
28+
29+
30+
def downgrade():
31+
# ### commands auto generated by Alembic - please adjust! ###
32+
op.alter_column(
33+
"funcapi_group_api_access_rights",
34+
"read_functions",
35+
existing_type=sa.BOOLEAN(),
36+
nullable=True,
37+
)
38+
# ### end Alembic commands ###

0 commit comments

Comments
 (0)