Closed fukamachi closed 2 years ago
When creating the DB, the latest schema version was recorded until now. New migration files created thereafter are applied sequentially.
However, it may confuse when another branch has "older" migration files, which won't be applied.
This patch fixes the problem by recording all existing schema versions on the first DB creation.
When creating the DB, the latest schema version was recorded until now. New migration files created thereafter are applied sequentially.
However, it may confuse when another branch has "older" migration files, which won't be applied.
This patch fixes the problem by recording all existing schema versions on the first DB creation.