Added a script for database migration