Migration1677470540AddProvincesForCanada example

'country_state_id' => $countryStateId,
            ]);
        }

        $this->connection->delete('country_state', [
            'country_id' => $countryId,
        ]);
    }

    public function testAddCountryState(): void
    {
        $migration = new Migration1677470540AddProvincesForCanada();

        $migration->update($this->connection);

        $countryId = $this->getCountryId();

        $sql = <<<SQL SELECT COUNT(id) FROM country_state WHERE country_id = :countryId SQL;

        
Home | Imprint | This part of the site doesn't use cookies.