Skip to content

fix(build): include migration name in builds OPENCODE_MIGRATIONS var#16384

Open
OpeOginni wants to merge 3 commits intoanomalyco:devfrom
OpeOginni:fix/builds-drizzle-migrations
Open

fix(build): include migration name in builds OPENCODE_MIGRATIONS var#16384
OpeOginni wants to merge 3 commits intoanomalyco:devfrom
OpeOginni:fix/builds-drizzle-migrations

Conversation

@OpeOginni
Copy link
Contributor

@OpeOginni OpeOginni commented Mar 6, 2026

Issue for this PR

Closes #16381

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Makes sure the name object is passed into the Build MIGRATION var, when used by the current beta release of drizzle as it seems is required now and errors out migrations without it.

Error

Failed to run the query 'INSERT INTO "__drizzle_migrations" ("hash", "created_at", "name", "applied_at") values(?, ?, , ?)' Caused by: near ",": syntax error failed 

How did you verify your code works?

Tested running bun run tauri dev, which builds opencode to use as the sidecar-cli this time it worked.

Screenshots / recordings

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions bot added needs:compliance This means the issue will auto-close after 2 hours. needs:issue contributor labels Mar 6, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@OpeOginni OpeOginni changed the title fix(build): include migration name in returned object fix(build): include migration name in builds OPENCODE_MIGRATIONS var Mar 6, 2026
@github-actions github-actions bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Mar 6, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@OpeOginni OpeOginni closed this Mar 6, 2026
@OpeOginni OpeOginni reopened this Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Opencode won't launch and it's saddening

1 participant