简体   繁体   中英

holding old goose version while run test case in go lang

Firstly I created some migration and their goose version is 20220125506 something like that but afterwords I add some new migration files but my goose version does not change every time while running the test case. How do I change my goose version? is there any hope please give me a solution.

You can recreate the schema before running the test to try to run all migrations each time you run the test migration.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM