made sync-migrations work with localhost and not dev. oops