How to get the target version? #190
Unanswered
danielniccoli
asked this question in
Q&A
Replies: 2 comments
-
I believe that you're looking for |
Beta Was this translation helpful? Give feedback.
0 replies
-
In the end and after discussing the various use cases in #170, we have exposed the pending_migrations method, which gives the number of yet unapplied migrations. It seemed that this number is more aligned with what users actually wanted to do, but if want really want a target version, one can do: MIGRATIONS.current_version() + MIGRATIONS.pending_migrations() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I can get the current version with
MIGRATIONS.current_version()
, but how do I get the target version? I know it's possible, as the log below shows, but I have not been able to figure out how.Beta Was this translation helpful? Give feedback.
All reactions