apply migration scripts