erikbra / grate

grate - the SQL scripts migration runner
MIT License
209 stars 40 forks source link

Update --isuptodate documentation #584

Open Tsingis opened 2 months ago

Tsingis commented 2 months ago

As requested in #582

Tsingis commented 1 month ago

@erikbra Btw how should this work with scripts marked EVERYTIME.

Outputs whether the database is up to date or not (whether any non-everytime scripts would be run)

If there's even single one script marked as EVERYTIME, then --isuptodate never says database is up to date. I find this somewhat confusing behavior when everything has run successfully but database is not up to date.