public function destroy(Migration $migration)
 {
     if (is_integer($migration)) {
         $migration = Migration::find($migration);
     }
     $migration->delete();
     Flash::success('Migration has been created Deleted!');
     return Redirect::back();
 }
 public function destroy($migration)
 {
     $migration = Migration::find($migration);
     $migration->delete();
     return response(['data' => true, 'status' => 'success', 'message' => 'successfully deleted']);
 }