created database migration script