diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-04-04 13:09:37 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-04-04 13:09:37 +0000 |
| commit | c6adbc259ba3f4ab578681ddab55863623f275dc (patch) | |
| tree | a92c31b74baa9b92f67ea38afb90eab0587f4cbe /BitInstaller.php | |
| parent | 9e0b5b08e0f3afa7ff8655a1d3b8647c24ae83b2 (diff) | |
| download | install-c6adbc259ba3f4ab578681ddab55863623f275dc.tar.gz install-c6adbc259ba3f4ab578681ddab55863623f275dc.tar.bz2 install-c6adbc259ba3f4ab578681ddab55863623f275dc.zip | |
add CREATESEQUENCE upgrade option
Diffstat (limited to 'BitInstaller.php')
| -rw-r--r-- | BitInstaller.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/BitInstaller.php b/BitInstaller.php index 9b3a005..0f33d33 100644 --- a/BitInstaller.php +++ b/BitInstaller.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_install/BitInstaller.php,v 1.26 2007/04/02 18:54:59 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_install/BitInstaller.php,v 1.27 2007/04/04 13:09:37 squareing Exp $ * @package install */ @@ -200,6 +200,13 @@ class BitInstaller extends BitSystem { } } break; + case 'CREATESEQUENCE': + foreach( $dd as $create ) { + foreach( $create as $sequence ) { + $this->mDb->CreateSequence( $sequence ); + } + } + break; case 'RENAMESEQUENCE': foreach( $dd as $rename ) { foreach( $rename as $from => $to ) { |
