diff --git a/db/migrations/20201211_add_seminare_semester_table.php b/db/migrations/20201211_add_seminare_semester_table.php index afa429576cd471b393651a288c18781069063220..7986dcc65931c23496d6c20e0afc19ec877a9757 100644 --- a/db/migrations/20201211_add_seminare_semester_table.php +++ b/db/migrations/20201211_add_seminare_semester_table.php @@ -29,11 +29,10 @@ class AddSeminareSemesterTable extends Migration FROM `seminare` INNER JOIN `semester_data` ON (`seminare`.`start_time` < `semester_data`.`ende` AND ( - (`seminare`.`start_time` >= `semester_data`.`beginn` AND `seminare`.`duration_time` = '0') - OR (`seminare`.`duration_time` > 0 AND `seminare`.`start_time` + `seminare`.`duration_time` >= `semester_data`.`beginn`) + `seminare`.`start_time` >= `semester_data`.`beginn` AND `seminare`.`duration_time` >= '0' ) - )" - ); + ) + "); } public function down()