Doctrine\DBAL\Schema\SchemaDiff
Schema Diff
- Author: Benjamin Eberlei <kontakt@beberlei.de>
- Copyright: Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.
- License: http://ez.no/licenses/new_bsd New BSD License
Synopsis
class SchemaDiff
{
- // members
- public array(string=>ezcDbSchemaTable) $newTables;
- public array(string=>ezcDbSchemaTableDiff) $changedTables;
- public array(string=>Table) $removedTables;
- public array $newSequences;
- public array $changedSequences;
- public array $removedSequences;
- public array $orphanedForeignKeys;
- // methods
- public void __construct()
- public array toSaveSql()
- public array toSql()
- protected array _toSql()
Members
public
- $changedSequences — array
- $changedTables
—
Doctrine\DBAL\Schema\array(string=>ezcDbSchemaTableDiff)
All changed tables - $newSequences — array
- $newTables
—
Doctrine\DBAL\Schema\array(string=>ezcDbSchemaTable)
All added tables - $orphanedForeignKeys — array
- $removedSequences — array
- $removedTables
—
Doctrine\DBAL\Schema\array(string=>Table)
All removed tables
Methods
protected
public
- __construct() — Constructs an SchemaDiff object.
- toSaveSql() — The to save sql mode ensures that the following things don't happen:
- toSql()