erikbra / grate

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

Bug #553: Baseline creates orphan version_id in ScriptsRun #567

Closed erikbra closed 4 months ago

erikbra commented 4 months ago

When running in baseline mode, no SQL is actually run, so there was not inserted any entry into the Version table. However, this should be inserted in baseline mode, as this makes sense business-wise, to register the baseline as a version of the database (even with no changes)

Fixes #553