Index: trunk/extensions/ReaderFeedback/ReaderFeedback.php |
— | — | @@ -140,5 +140,10 @@ |
141 | 141 | function efReaderFeedbackSchemaUpdates() { |
142 | 142 | global $wgDBtype, $wgExtNewFields, $wgExtPGNewFields, $wgExtNewIndexes, $wgExtNewTables; |
143 | 143 | $base = dirname(__FILE__); |
| 144 | + if( $wgDBtype == 'mysql' ) { |
| 145 | + $wgExtNewTables[] = array( 'reader_feedback', "$base/readerfeedback.sql" ); // Initial install tables |
| 146 | + } elseif( $wgDBtype == 'postgres' ) { |
| 147 | + $wgExtNewTables[] = array( 'reader_feedback', "$base/reader_feedback.pg.sql" ); // Initial install tables |
| 148 | + } |
144 | 149 | return true; |
145 | 150 | } |