Merge branch 'issue-19-fix' into 'develop'

fix #19 migration on remove ocb type egg

Closes #19

See merge request ldc-web/projets/le-gaulois!58
This commit is contained in:
Vincent BRIDIER 2023-06-26 16:29:05 +00:00
commit 6b86c4f4bc
2 changed files with 3 additions and 3 deletions

View file

@ -94,7 +94,7 @@ MERCANET_ENV=
NOCRM=false
#OP INSTA
## Démarre le à d-m-Y 0h00
## Démarre le à d-m-YYYY
OPINSTA_START=
## Fin le à d-m-Y 23h59
## Fin le à d-m-YYYY
OPINSTA_END=

View file

@ -14,7 +14,7 @@ class RemoveOcbEgg extends Migration
public function up()
{
// * 0 OCB type EGG.
OCBContent::query()->where('ocbType', 0)->delete();
OCBContent::query()->where('type', 0)->delete();
OCBBreeder::query()->where('ocbType', 0)->delete();
}