creates db before migrating, in case of db change