Fix issue #1, dupe migrations

Fixes the issue when running db:migrations.