chagne structure from `db/migrate/` to `db/legacy/migrate`