created a spec and class for database migration methods.