You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/postgres-database/src/simcore_postgres_database/migration/versions/50af59b6c37a_move_projects_workbench.py
+22-25Lines changed: 22 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -1,42 +1,39 @@
1
1
"""Move projects workbench
2
2
3
-
Revision ID: 5c69e5661f45
3
+
Revision ID: 50af59b6c37a
4
4
Revises: 307017ee1a49
5
-
Create Date: 2025-01-13 13:45:47.583609+00:00
5
+
Create Date: 2025-01-15 12:39:46.219516+00:00
6
6
7
7
"""
8
8
fromalembicimportop
9
9
importsqlalchemyassa
10
10
fromsqlalchemy.dialectsimportpostgresql
11
11
12
12
# revision identifiers, used by Alembic.
13
-
revision='5c69e5661f45'
13
+
revision='50af59b6c37a'
14
14
down_revision='307017ee1a49'
15
15
branch_labels=None
16
16
depends_on=None
17
17
18
18
19
19
defupgrade():
20
-
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('projects_nodes', sa.Column('input_nodes', postgresql.JSONB(astext_type=sa.Text()), nullable=True, comment='IDs of the nodes where is connected to'))
op.add_column('projects_nodes', sa.Column('output_nodes', postgresql.JSONB(astext_type=sa.Text()), nullable=True, comment='Node IDs of those connected to the output'))
op.add_column('projects_nodes', sa.Column('run_hash', sa.String(), nullable=True, comment='HEX digest of the resolved inputs + outputs hash at the time when the last outputs were generated'))
op.add_column('projects_nodes', sa.Column('boot_options', postgresql.JSONB(astext_type=sa.Text()), nullable=True, comment="Some services provide alternative parameters to be injected at boot time.The user selection should be stored here, and it will overwrite the services's defaults"))
38
36
39
-
# Populate the new columns with data from the workbench
0 commit comments