From 61abd1cb3ab2308682c36c82b7e2e365cc3a6e83 Mon Sep 17 00:00:00 2001 From: matusdrobuliak66 Date: Mon, 9 Dec 2024 15:43:39 +0100 Subject: [PATCH] migration --- .../4d007819e61a_add_license_type_to_pricing_plan.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/postgres-database/src/simcore_postgres_database/migration/versions/4d007819e61a_add_license_type_to_pricing_plan.py b/packages/postgres-database/src/simcore_postgres_database/migration/versions/4d007819e61a_add_license_type_to_pricing_plan.py index 652417fa06a..03b117ca485 100644 --- a/packages/postgres-database/src/simcore_postgres_database/migration/versions/4d007819e61a_add_license_type_to_pricing_plan.py +++ b/packages/postgres-database/src/simcore_postgres_database/migration/versions/4d007819e61a_add_license_type_to_pricing_plan.py @@ -5,6 +5,7 @@ Create Date: 2024-12-09 14:25:45.024814+00:00 """ +import sqlalchemy as sa from alembic import op # revision identifiers, used by Alembic. @@ -15,9 +16,7 @@ def upgrade(): - # ### commands auto generated by Alembic - please adjust! ### - op.execute("ALTER TYPE pricingplanclassification ADD VALUE 'LICENSE'") - # ### end Alembic commands ### + op.execute(sa.DDL("ALTER TYPE pricingplanclassification ADD VALUE 'LICENSE'")) def downgrade():