added migration scripts for 'offers', 'purchases', 'applications' tables