Skip to content

fix: remove HOP columns from embedded schema (crystallizes, quality_score)#2837

Merged
maphew merged 1 commit intosteveyegge:mainfrom
outdoorsea:fix/remove-hop-columns-from-embedded-schema
Mar 26, 2026
Merged

fix: remove HOP columns from embedded schema (crystallizes, quality_score)#2837
maphew merged 1 commit intosteveyegge:mainfrom
outdoorsea:fix/remove-hop-columns-from-embedded-schema

Conversation

@outdoorsea
Copy link
Copy Markdown
Contributor

Summary

  • Remove crystallizes and quality_score columns from embedded Dolt schema files
  • Migration 012 (MigrateDropHOPColumns) already drops these columns for server Dolt, but the embedded schema files still define them
  • No Go code references either column — they were Gas Town agent credibility fields that don't belong in the beads schema

Changes

  • 0001_create_issues.up.sql: removed crystallizes TINYINT(1) and quality_score DOUBLE
  • 0020_create_wisps.up.sql: same

Test plan

  • Fresh embedded Dolt initialization should succeed without these columns
  • Existing server Dolt databases are unaffected (migration 012 already drops them if present)

Fixes #2817

🤖 Generated with Claude Code

…core)

Migration 012 drops crystallizes and quality_score from issues and wisps
tables, but the embedded Dolt schema files still define them. This creates
a schema mismatch: fresh embedded installations get columns that the
migration system intends to remove, and no Go code references either column.

Remove both columns from 0001_create_issues.up.sql and
0020_create_wisps.up.sql to align embedded schema with the migration path.

Fixes steveyegge#2817

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@maphew maphew merged commit b38da2d into steveyegge:main Mar 26, 2026
@maphew
Copy link
Copy Markdown
Collaborator

maphew commented Mar 26, 2026

Small surgical fix with clean CI, thanks @outdoorsea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dolt: crystallizes column missing from Dolt migration path (added to SQLite schema but no ALTER TABLE for existing Dolt DBs)

2 participants