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 recreating
the column instance and copying over all properties.
Source:

lib/private/DB/OracleMigrator.php#50

Parameters:
  • $column (Doctrine\DBAL\Schema\Column) old column
Returns:

\Doctrine\DBAL\Schema\Column new column instance with new name

protected OC\DB\OracleMigrator::quoteIndex($index)
Quote an index’s name but changing the name requires recreating
the index instance and copying over all properties.
Source:

lib/private/DB/OracleMigrator.php#77

Parameters:
  • $index (Doctrine\DBAL\Schema\Index) old index
Returns:

\Doctrine\DBAL\Schema\Index new index instance with new name

protected OC\DB\OracleMigrator::quoteForeignKeyConstraint($fkc)
Quote an ForeignKeyConstraint’s name but changing the name requires recreating
the ForeignKeyConstraint instance and copying over all properties.
Source:

lib/private/DB/OracleMigrator.php#98

Parameters:
  • $fkc (Doctrine\DBAL\Schema\ForeignKeyConstraint) old fkc
Returns:

\Doctrine\DBAL\Schema\ForeignKeyConstraint new fkc instance with new name

protected OC\DB\OracleMigrator::getDiff($targetSchema, $connection)
Source:

lib/private/DB/OracleMigrator.php#118

Parameters:
  • $targetSchema (Doctrine\DBAL\Schema\Schema)
  • $connection (Doctrine\DBAL\Connection)
Returns:

\Doctrine\DBAL\Schema\SchemaDiff

Throws:

\Doctrine\DBAL\Exception

protected OC\DB\OracleMigrator::convertStatementToScript($statement)
Source:

lib/private/DB/OracleMigrator.php#211

Parameters:
  • $statement
Returns:

string

protected OC\DB\OracleMigrator::getFilterExpression()
Source:lib/private/DB/OracleMigrator.php#221