Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Clinical-Genomics/cg into remove-…
Browse files Browse the repository at this point in the history
…FFPE-from-loqusdb
  • Loading branch information
ivadym committed May 14, 2024
2 parents f85df3b + eab73a8 commit 2126fdd
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 60.7.12
current_version = 60.7.13
commit = True
tag = True
tag_name = v{new_version}
Expand Down
39 changes: 39 additions & 0 deletions alembic/versions/2024-05-14_e5c6bf847e25_fix_run_tables.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
"""fix_run_tables
Revision ID: e5c6bf847e25
Revises: 4766684153e3
Create Date: 2024-05-14 15:34:50.944774
"""

import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "e5c6bf847e25"
down_revision = "4766684153e3"
branch_labels = None
depends_on = None


def upgrade():
op.drop_column(table_name="run_device", column_name="device_id")
op.add_column(
table_name="run_metrics",
column=sa.Column(
"device_id",
sa.Integer(),
sa.ForeignKey(column="run_device.id", name="fk_device_id"),
nullable=False,
),
)


def downgrade():
op.drop_constraint(constraint_name="fk_device_id", table_name="run_metrics", type_="foreignkey")
op.drop_column(table_name="run_metrics", column_name="device_id")
op.add_column(
table_name="run_device",
column=sa.Column("device_id", sa.Integer(), nullable=False),
)
2 changes: 1 addition & 1 deletion cg/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__title__ = "cg"
__version__ = "60.7.12"
__version__ = "60.7.13"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "cg"
version = "60.7.12"
version = "60.7.13"
description = "Clinical Genomics command center"
authors = ["Clinical Genomics <support@clinicalgenomics.se>"]
readme = "README.md"
Expand Down

0 comments on commit 2126fdd

Please sign in to comment.