Migrate the db.