Skip to content

Avram::Migrator::Runner.new.run_pending_migrations not work anymore? #1867

Answered by zw963
zw963 asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, add a require "../db/migrations/**" into config/database.cr do the trick.

So, is there possible to create a precompile binary, like bin/lucky.db.migrate?

Thanks.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@robacarp
Comment options

Answer selected by zw963
Comment options

You must be logged in to vote
3 replies
@jwoertink
Comment options

@zw963
Comment options

@jwoertink
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants