-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into utilities_stress_stability
- Loading branch information
Showing
70 changed files
with
1,697 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v2.11-beta1+fall2024 | ||
v2.11-beta3+fall2024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
"""pics_v2_support | ||
Revision ID: e2c185af1226 | ||
Revises: 9df8004ad9bb | ||
Create Date: 2024-06-19 11:46:15.158526 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = "e2c185af1226" | ||
down_revision = "9df8004ad9bb" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.add_column( | ||
"testrunexecution", | ||
sa.Column("certification_mode", sa.Boolean(), nullable=True, default=False), | ||
) | ||
op.add_column( | ||
"testsuiteexecution", | ||
sa.Column("mandatory", sa.Boolean(), nullable=True, default=False), | ||
) | ||
|
||
op.add_column( | ||
"testsuitemetadata", | ||
sa.Column("mandatory", sa.Boolean(), nullable=True, default=False), | ||
) | ||
op.add_column( | ||
"testcasemetadata", | ||
sa.Column("mandatory", sa.Boolean(), nullable=True, default=False), | ||
) | ||
|
||
op.execute("UPDATE testrunexecution SET certification_mode = false") | ||
op.execute("UPDATE testsuiteexecution SET mandatory = false") | ||
op.execute("UPDATE testsuitemetadata SET mandatory = false") | ||
op.execute("UPDATE testcasemetadata SET mandatory = false") | ||
|
||
op.alter_column( | ||
"testrunexecution", | ||
"certification_mode", | ||
existing_type=sa.Boolean(), | ||
nullable=False, | ||
) | ||
op.alter_column( | ||
"testsuiteexecution", "mandatory", existing_type=sa.Boolean(), nullable=False | ||
) | ||
op.alter_column( | ||
"testsuitemetadata", | ||
sa.Column("mandatory", nullable=False, default=False), | ||
) | ||
op.alter_column( | ||
"testcasemetadata", | ||
sa.Column("mandatory", nullable=False, default=False), | ||
) | ||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.drop_column("testrunexecution", "certification_mode") | ||
op.drop_column("testsuiteexecution", "mandatory") | ||
op.drop_column("testsuitemetadata", "mandatory") | ||
op.drop_column("testcasemetadata", "mandatory") | ||
# ### end Alembic commands ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.