private function CleanForeignKeys($table)
    {
        $foreignKeys = $this->connection->GetForeignKeys($table);
        foreach ($foreignKeys as $foreignKey)
        {
            $this->connection->DropForeignKey($table, $foreignKey);
        }
    }