Skip to content

Commit b6369b4

Browse files
migration
1 parent 1da768b commit b6369b4

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
"""computational collection uniquencess
2+
3+
Revision ID: 61b98a60e934
4+
Revises: df61d1b2b967
5+
Create Date: 2025-07-08 15:40:12.714684+00:00
6+
7+
"""
8+
9+
from alembic import op
10+
11+
# revision identifiers, used by Alembic.
12+
revision = "61b98a60e934"
13+
down_revision = "df61d1b2b967"
14+
branch_labels = None
15+
depends_on = None
16+
17+
18+
def upgrade():
19+
# ### commands auto generated by Alembic - please adjust! ###
20+
op.create_unique_constraint(
21+
"client_or_system_generated_id_uniqueness",
22+
"comp_runs_collections",
23+
["client_or_system_generated_id"],
24+
)
25+
# ### end Alembic commands ###
26+
27+
28+
def downgrade():
29+
# ### commands auto generated by Alembic - please adjust! ###
30+
op.drop_constraint(
31+
"client_or_system_generated_id_uniqueness",
32+
"comp_runs_collections",
33+
type_="unique",
34+
)
35+
# ### end Alembic commands ###

0 commit comments

Comments
 (0)