diff options
| author | Daniel Sutcliffe <dansut@users.sourceforge.net> | 2010-01-26 15:38:13 +0000 |
|---|---|---|
| committer | Daniel Sutcliffe <dansut@users.sourceforge.net> | 2010-01-26 15:38:13 +0000 |
| commit | da0b34dc2e40700946aa87b4ba95cc570b80ef6b (patch) | |
| tree | ea97a2e75f0cd8389fc8f51729a0825ed989db7e /BitInstaller.php | |
| parent | 44f77f13b79a2b5406378804ab51cd8e26efa98b (diff) | |
| download | install-da0b34dc2e40700946aa87b4ba95cc570b80ef6b.tar.gz install-da0b34dc2e40700946aa87b4ba95cc570b80ef6b.tar.bz2 install-da0b34dc2e40700946aa87b4ba95cc570b80ef6b.zip | |
Introduce ability for installer to drop sequences, and make articles upgrade 1.0.0 use so it works properly
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 05745aa..d2385fa 100644 --- a/BitInstaller.php +++ b/BitInstaller.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_install/BitInstaller.php,v 1.52 2009/03/31 08:14:43 lsces Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_install/BitInstaller.php,v 1.53 2010/01/26 15:38:13 dansut Exp $ * @package install */ @@ -427,6 +427,13 @@ class BitInstaller extends BitSystem { } } break; + case 'DROPSEQUENCE': + foreach( $dd as $drop ) { + foreach( $drop as $sequence ) { + $this->mDb->DropSequence( $sequencePrefix.$sequence ); + } + } + break; case 'DROPCOLUMN': foreach( $dd as $drop ) { foreach( array_keys( $drop ) as $tableName ) { |
