adonisjs / lucid

AdonisJS SQL ORM. Supports PostgreSQL, MySQL, MSSQL, Redshift, SQLite and many more
https://lucid.adonisjs.com/
MIT License
1.08k stars 195 forks source link

fix(migrator): step option #1023

Closed MaximeMRF closed 7 months ago

MaximeMRF commented 7 months ago

❓ Type of change

📚 Description

bug: DeepinScreenshot_select-area_20240403171308

now: DeepinScreenshot_select-area_20240403171553

thetutlage commented 7 months ago

Sorry, I did not get the issue. Is it reversing the order in which migrations are reverted? Or is it something related to the way logs are displayed?

MaximeMRF commented 7 months ago

Currently the migrator with the step flag rollback the migrations that are migrated firstly but it's make nonsens because we want to rollback the last ones.

And another problem was the display of the grey word "reverting" while all the concerning migrations was already reverted.