Skip to content

Commit 4914c53

Browse files
seedspiritclaude
andcommitted
fix(BA-6085): make migration downgrade a no-op
The prior revision 7ea9f3c1b2d5 already sets custom.reads_vfolder_config_files to TRUE during column creation, so unconditionally writing FALSE on downgrade clobbered that valid prior state. Drop the UPDATE so downgrade leaves the row untouched. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 464ea60 commit 4914c53

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/ai/backend/manager/models/alembic/versions/0b10b2c6a972_seed_reads_vfolder_for_custom_variant.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,4 @@ def upgrade() -> None:
3636

3737

3838
def downgrade() -> None:
39-
op.execute(
40-
sa.text(
41-
"UPDATE runtime_variants SET reads_vfolder_config_files = false WHERE name = 'custom'"
42-
)
43-
)
39+
pass

0 commit comments

Comments
 (0)