Skip to content

fix: rerun migrations when mysql starts#34

Open
harshapalnati wants to merge 1 commit intomainfrom
fix/mysql-migrations
Open

fix: rerun migrations when mysql starts#34
harshapalnati wants to merge 1 commit intomainfrom
fix/mysql-migrations

Conversation

@harshapalnati
Copy link
Collaborator

  • Added helpers to stream each .
  • sql migration into the running MySQL container (runMysqlScript + applyMysqlMigrations), and updated the MySQL startup logic so every tsbx start run waits for the DB (whether newly created or restarted) and reapplies the SQL files from db/migrations.
  • This keeps Docker-based setups in sync even though raw DB files aren’t bundled with the image.

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.

2 participants