Description
Running any sub-agent (general, explore, vision) crashes with no such column: replacement_seq. Root cause: the __drizzle_migrations table only tracks 21 migrations while the CLI has applied 38. Migrations 22-38 add columns (replacement_seq, revision) to 8 tables. When the CLI auto-updates past those migrations, existing databases still using the older plugin hit this error on every task dispatch.
Plugins
@opencode-ai/plugin v1.14.28
OpenCode version
CLI v1.17.9, plugin v1.14.28
Steps to reproduce
- Have an opencode DB where migration table has 38 rows but __drizzle_migrations only has 21
- Run any /task command
- Observe no such column: replacement_seq
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
Windows Terminal
Description
Running any sub-agent (general, explore, vision) crashes with no such column: replacement_seq. Root cause: the __drizzle_migrations table only tracks 21 migrations while the CLI has applied 38. Migrations 22-38 add columns (replacement_seq, revision) to 8 tables. When the CLI auto-updates past those migrations, existing databases still using the older plugin hit this error on every task dispatch.
Plugins
@opencode-ai/plugin v1.14.28
OpenCode version
CLI v1.17.9, plugin v1.14.28
Steps to reproduce
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
Windows Terminal