diff options
Diffstat (limited to 'admin/upgrades/1.0.0.php')
| -rw-r--r-- | admin/upgrades/1.0.0.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/admin/upgrades/1.0.0.php b/admin/upgrades/1.0.0.php index 02cd919..3eaa535 100644 --- a/admin/upgrades/1.0.0.php +++ b/admin/upgrades/1.0.0.php @@ -33,12 +33,10 @@ array( 'DATADICT' => array( // copy data into new column array( 'QUERY' => // postgres > 8.2 needs to have the type cast - array( 'PGSQL' => array( - "UPDATE `".BIT_DB_PREFIX."wiki_footnotes` SET `user_id` = `temp_column`::integer", - )), - array( 'SQL92' => array( - "UPDATE `".BIT_DB_PREFIX."wiki_footnotes` SET `user_id` = `temp_column`", - )), + array( + 'PGSQL' => array( "UPDATE `".BIT_DB_PREFIX."wiki_footnotes` SET `user_id` = `temp_column`::integer" ), + 'SQL92' => array( "UPDATE `".BIT_DB_PREFIX."wiki_footnotes` SET `user_id` = `temp_column`" ), + ), ), array( 'DATADICT' => array( |
