added migration.sh to run the migration