File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
lib/galaxy/model/migrations/alembic/versions_gxy Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 11"""migrate custos to psa tokens
22
33Revision ID: 724237cc4cf0
4- Revises: a5c5455b849a
4+ Revises: 1d1d7bf6ac02
55Create Date: 2025-11-03 15:22:13.111461
66
77"""
88
9- import json
109from datetime import datetime
1110
1211from alembic import op
2120 Text ,
2221 VARCHAR ,
2322)
24- from sqlalchemy .orm import Session
2523
2624from galaxy .model .custom_types import MutableJSONType
2725from galaxy .model .migrations .util import (
3028
3129# revision identifiers, used by Alembic.
3230revision = "724237cc4cf0"
33- down_revision = "a5c5455b849a "
31+ down_revision = "1d1d7bf6ac02 "
3432branch_labels = None
3533depends_on = None
3634
@@ -179,7 +177,6 @@ def upgrade():
179177 """
180178 with transaction ():
181179 connection = op .get_bind ()
182- session = Session (bind = connection )
183180
184181 # Get table definitions
185182 custos_table = get_custos_table (connection )
Original file line number Diff line number Diff line change 88# Import the core migration function
99# We need to use importlib since the filename has a revision prefix
1010import importlib .util
11- import json
1211from datetime import (
1312 datetime ,
1413 timedelta ,
2120 create_engine ,
2221 DateTime ,
2322 Integer ,
24- select ,
2523 String ,
2624 Text ,
2725 VARCHAR ,
You can’t perform that action at this time.
0 commit comments