mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
fix(alembic): shorten 023 revision id to fit version_num varchar(32)
The 023 prompter migration's revision id `023_add_prompter_tracking_columns` was 33 characters — one over the `alembic_version.version_num` varchar(32) limit — so `alembic upgrade` aborted while recording it (transactional DDL rolled the whole step back) and a fresh deploy stalled at 022. Rename the revision to `023_prompter_tracking_columns` (29 chars), update the 024 migration's down_revision, and rename the file to match. No schema change; the upgrade body is untouched.
This commit is contained in:
@@ -9,7 +9,7 @@ feature with DB-persisted conversation history and task draft tracking:
|
||||
links to a real Task once the human confirms via /confirm endpoint
|
||||
|
||||
Revision ID: 024_add_prompter_tables
|
||||
Revises: 023_add_prompter_tracking_columns
|
||||
Revises: 023_prompter_tracking_columns
|
||||
Create Date: 2026-06-07
|
||||
"""
|
||||
|
||||
@@ -20,7 +20,7 @@ from alembic import op
|
||||
from sqlalchemy.dialects.postgresql import JSONB, UUID
|
||||
|
||||
revision = "024_add_prompter_tables"
|
||||
down_revision = "023_add_prompter_tracking_columns"
|
||||
down_revision = "023_prompter_tracking_columns"
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user