Skip to content

Commit 05f619b

Browse files
update thumbnail
1 parent 4573217 commit 05f619b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/postgres-database/src/simcore_postgres_database/migration/versions/e11f9d1e3f44_migrate_workbench.py renamed to packages/postgres-database/src/simcore_postgres_database/migration/versions/028ada3e3ec9_move_projects_workbench.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
"""Migrate workbench
1+
"""Move projects workbench
22
3-
Revision ID: e11f9d1e3f44
3+
Revision ID: 028ada3e3ec9
44
Revises: 307017ee1a49
5-
Create Date: 2025-01-07 10:16:43.305789+00:00
5+
Create Date: 2025-01-07 10:25:54.137095+00:00
66
77
"""
88
import sqlalchemy as sa
99
from alembic import op
1010
from sqlalchemy.dialects import postgresql
1111

1212
# revision identifiers, used by Alembic.
13-
revision = "e11f9d1e3f44"
13+
revision = "028ada3e3ec9"
1414
down_revision = "307017ee1a49"
1515
branch_labels = None
1616
depends_on = None
@@ -22,7 +22,7 @@ def upgrade():
2222
op.add_column("projects_nodes", sa.Column("version", sa.String(), nullable=False))
2323
op.add_column("projects_nodes", sa.Column("label", sa.String(), nullable=False))
2424
op.add_column("projects_nodes", sa.Column("progress", sa.Numeric(), nullable=True))
25-
op.add_column("projects_nodes", sa.Column("thumbnail", sa.String(), nullable=False))
25+
op.add_column("projects_nodes", sa.Column("thumbnail", sa.String(), nullable=True))
2626
op.add_column(
2727
"projects_nodes",
2828
sa.Column("inputs", postgresql.JSONB(astext_type=sa.Text()), nullable=True),

packages/postgres-database/src/simcore_postgres_database/models/projects_nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
sa.Column(
8585
"thumbnail",
8686
sa.String,
87-
nullable=False,
87+
nullable=True,
8888
doc="Url of the latest screenshot of the node",
8989
),
9090
sa.Column(

0 commit comments

Comments
 (0)