migrating db and schema