-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #198 from wtsi-npg/devel
pull from devel to master to create release 2.0.0
- Loading branch information
Showing
12 changed files
with
784 additions
and
715 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
"""drop_json_properties_column | ||
Revision ID: 2.0.0 | ||
Revises: 3814003a709a | ||
Create Date: 2024-02-20 10:51:40.326882 | ||
""" | ||
from alembic import op | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = "2.0.0" | ||
down_revision = "3814003a709a" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade() -> None: | ||
sql = """ | ||
ALTER TABLE sub_product DROP COLUMN properties | ||
""" | ||
op.execute(sql) | ||
|
||
|
||
def downgrade() -> None: | ||
sql = """ | ||
ALTER TABLE sub_product ADD COLUMN properties JSON DEFAULT NULL AFTER value_attr_three | ||
""" | ||
op.execute(sql) | ||
pass |
28 changes: 28 additions & 0 deletions
28
alembic/versions/3814003a709a_make_column_properties_nullable.py
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,28 @@ | ||
"""Make column properties nullable | ||
Revision ID: 3814003a709a | ||
Revises: 36952df5b8ba | ||
Create Date: 2024-02-02 14:30:20.079955 | ||
""" | ||
from alembic import op | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = "3814003a709a" | ||
down_revision = "36952df5b8ba" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade() -> None: | ||
sql = """ | ||
ALTER TABLE sub_product MODIFY properties JSON DEFAULT NULL | ||
""" | ||
op.execute(sql) | ||
|
||
|
||
def downgrade() -> None: | ||
sql = """ | ||
ALTER TABLE sub_product MODIFY properties JSON NOT NULL | ||
""" | ||
op.execute(sql) |
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,6 +1,6 @@ | ||
{ | ||
"name": "npg-longue-vue", | ||
"version": "1.5.1", | ||
"version": "2.0.0", | ||
"description": "UI for LangQC", | ||
"author": "Kieron Taylor <[email protected]>", | ||
"license": "GPL-3.0-or-later", | ||
|
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 @@ | ||
__version__ = "1.5.1" | ||
__version__ = "2.0.0" |
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.