1
0
mirror of synced 2024-12-13 14:56:01 +03:00
This commit is contained in:
zYne 2007-06-10 19:09:36 +00:00
parent 15e28efdb4
commit b70f6cd7ac
2 changed files with 5 additions and 5 deletions

View File

@ -44,7 +44,7 @@ class Doctrine_Import_Mssql extends Doctrine_Import
$query = "SELECT name FROM sysobjects WHERE xtype = 'U'";
$tableNames = $this->conn->fetchColumn($query);
return array_map(array($this->conn, 'fixSequenceName'), $tableNames);
return array_map(array($this->conn->formatter, 'fixSequenceName'), $tableNames);
}
/**
* lists table constraints
@ -168,7 +168,7 @@ class Doctrine_Import_Mssql extends Doctrine_Import
foreach ($indexes as $index) {
if (!in_array($index, $pkAll) && $index != null) {
$result[] = $this->_fixIndexName($index);
$result[] = $this->conn->formatter->fixIndexName($index);
}
}

View File

@ -88,7 +88,7 @@ class Doctrine_Import_Oracle extends Doctrine_Import
$tableNames = $this->conn->fetchColumn($query);
return array_map(array($this->conn, 'fixSequenceName'), $tableNames);
return array_map(array($this->conn->formatter, 'fixSequenceName'), $tableNames);
}
/**
* lists table constraints
@ -105,7 +105,7 @@ class Doctrine_Import_Oracle extends Doctrine_Import
$constraints = $this->conn->fetchColumn($query);
return array_map(array($this->conn, 'fixIndexName'), $constraints);
return array_map(array($this->conn->formatter, 'fixIndexName'), $constraints);
}
/**
* lists table constraints
@ -154,7 +154,7 @@ class Doctrine_Import_Oracle extends Doctrine_Import
$indexes = $this->conn->fetchColumn($query);
return array_map(array($this->conn, 'fixIndexName'), $indexes);
return array_map(array($this->conn->formatter, 'fixIndexName'), $indexes);
}
/**
* lists tables