public function applySchema(bool $strict = false): array
    {
        $sqlStatements = $this->getMigrationSql();
        foreach ($sqlStatements as $sqlStatement) {
            $this->connection->exec($sqlStatement);
        }
        if ($strict) {
            $reorderSql = $this->reorderSql();
            $sqlStatements = array_merge($sqlStatements, $reorderSql);
            foreach ($reorderSql as $sqlStatement) {
                $this->connection->exec($sqlStatement);
            }
        }
        return $sqlStatements;
    }