migracja array

    public function down(Schema $schema): void
    {
        $this->addSql(
            "DELETE FROM flag WHERE system_code in (:codes)",
            [
                'codes' => [
                    ENP0026OrderFlagEnum::TERG_LEASING,
                    ENP0026OrderFlagEnum::TERG_LOAN_LEASING,
                ],
            ],
            [
                'codes' => Connection::PARAM_STR_ARRAY,
            ]
        );
    }
Komentarze wyłączone