Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
fix: provide empty migrations for all previous versions
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau committed Nov 9, 2019
1 parent 10752a3 commit 6ecba01
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion migrations/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,11 @@ const emptyMigration = {
}

module.exports = [
Object.assign({version: 7}, emptyMigration),
Object.assign({}, emptyMigration, {version: 7, revert: undefined}),
Object.assign({}, emptyMigration, {version: 6, revert: undefined}),
Object.assign({}, emptyMigration, {version: 5, revert: undefined}),
Object.assign({}, emptyMigration, {version: 4, revert: undefined}),
Object.assign({}, emptyMigration, {version: 3, revert: undefined}),
Object.assign({}, emptyMigration, {version: 2, revert: undefined}),
Object.assign({}, emptyMigration, {version: 1, revert: undefined}),
]

0 comments on commit 6ecba01

Please sign in to comment.