[pLog-svn] r3169 - plog/trunk
mark at devel.lifetype.net
mark at devel.lifetype.net
Fri Mar 31 08:07:57 GMT 2006
Author: mark
Date: 2006-03-31 08:07:56 +0000 (Fri, 31 Mar 2006)
New Revision: 3169
Modified:
plog/trunk/wizard.php
Log:
Now, the upgrade works ..
Modified: plog/trunk/wizard.php
===================================================================
--- plog/trunk/wizard.php 2006-03-31 08:07:26 UTC (rev 3168)
+++ plog/trunk/wizard.php 2006-03-31 08:07:56 UTC (rev 3169)
@@ -1117,20 +1117,20 @@
// ---
$dict = NewDataDictionary( $this->_db );
$errors = false;
- foreach( $Changes as $name => $change ) {
+ foreach( $Tables as $name => $table ) {
$errorMessage = "";
$upperName = $dict->upperName;
- $changeSchema = $change["schema"];
- if ( isset( $change["options"] ) )
+ $tableSchema = $table["schema"];
+ if ( isset( $table["options"] ) )
{
- $changeOptions = $change["options"];
- $options = array ( $upperName => $changeOptions );
+ $tableOptions = $table["options"];
+ $options = array ( $upperName => $tableOptions );
} else {
$options = array ();
}
// generate the code with the changes for the table
- $sqlarray = $dict->ChangeTableSQL( $this->_dbPrefix.$name, $changeSchema, $options );
+ $sqlarray = $dict->ChangeTableSQL( $this->_dbPrefix.$name, $tableSchema, $options );
//print("<hr/><pre>");
foreach( $sqlarray as $sql ) {
More information about the pLog-svn
mailing list