OracleMigrator¶
-
class
OC\DB\
OracleMigrator
¶ Source: lib/private/DB/OracleMigrator.php#41 Parent: OC\DB\Migrator
Methods¶
-
protected
OC\DB\OracleMigrator::
quoteColumn
($column)¶ - Quote a column’s name but changing the name requires recreatingthe column instance and copying over all properties.
Source: Parameters: - $column (
Doctrine\DBAL\Schema\Column
) old column
Returns: \Doctrine\DBAL\Schema\Column
new column instance with new name - $column (
-
protected
OC\DB\OracleMigrator::
quoteIndex
($index)¶ - Quote an index’s name but changing the name requires recreatingthe index instance and copying over all properties.
Source: Parameters: - $index (
Doctrine\DBAL\Schema\Index
) old index
Returns: \Doctrine\DBAL\Schema\Index
new index instance with new name - $index (
-
protected
OC\DB\OracleMigrator::
quoteForeignKeyConstraint
($fkc)¶ - Quote an ForeignKeyConstraint’s name but changing the name requires recreatingthe ForeignKeyConstraint instance and copying over all properties.
Source: Parameters: - $fkc (
Doctrine\DBAL\Schema\ForeignKeyConstraint
) old fkc
Returns: \Doctrine\DBAL\Schema\ForeignKeyConstraint
new fkc instance with new name - $fkc (
-
protected
OC\DB\OracleMigrator::
getDiff
($targetSchema, $connection)¶ Source: Parameters: - $targetSchema (
Doctrine\DBAL\Schema\Schema
) - $connection (
Doctrine\DBAL\Connection
)
Returns: \Doctrine\DBAL\Schema\SchemaDiff
Throws: \Doctrine\DBAL\Exception
- $targetSchema (
-
protected
OC\DB\OracleMigrator::
convertStatementToScript
($statement)¶ Source: Parameters: - $statement
Returns: string
-
protected
OC\DB\OracleMigrator::
getFilterExpression
()¶ Source: lib/private/DB/OracleMigrator.php#221