Migrations not working on github actions
Any suggestions to debug this on actions? Is it possible that the database is not created?
5 Replies
well, you'll need to shine some light on what exactly are you doing in CI, cause your stacktrace is not sufficient at all
I see that you have segmentation fault, but not sure what is it related to
In the GH action, as a CLI command, we're basically running migrations through a simple test in
vitest
- just calls the drizzle migrate
function --- curious how do you guys run migrations through CLI?further context: SSHing into the action shows that the migration never went through -
if you run that SQL command manually in CI it works?
I mean it's first time I see problems like that and what our migrator does - just runs the SQL on the database connection
so it does seem like an environment problem, not migrator