File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,15 @@ dbmate up # create the database (if it does not already exist) and run an
117117dbmate create # create the database
118118dbmate drop # drop the database
119119dbmate migrate # run any pending migrations
120- dbmate rollback # roll back the most recent migration
120+ --only < version> # apply only the specified migration version
121+ --to < version> # apply migrations up to the specified version (inclusive)
122+ --one # apply exactly one pending migration
123+ --all # apply all pending migrations (default)
124+ dbmate rollback # rollback migrations
125+ --only < version> # rollback only the specified migration version
126+ --to < version> # rollback migrations down to the specified version (exclusive)
127+ --one # rollback exactly one migration (default)
128+ --all # rollback all migrations
121129dbmate down # alias for rollback
122130dbmate status # show the status of all migrations (supports --exit-code and --quiet)
123131dbmate dump # write the database schema.sql file
You can’t perform that action at this time.
0 commit comments