fix #19 migration on remove ocb type egg

(cherry picked from commit d4657fd99177026061e068633c0dbe83cd9d1e7e)
This commit is contained in:
Jérémy Munsch 2023-06-26 17:58:05 +02:00
parent 78e388c9df
commit ae78359251
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

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();
}