Skip to content

Commit 7c4b5a3

Browse files
committed
Fix postgresql index creation
1 parent fdb849f commit 7c4b5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/v20x/m16_update_lang_postgres.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function alter_rule_language()
8585
}
8686

8787
// Add an index for the rule_language column
88-
$this->db_tools->sql_create_index($boardrules_table, 'rule_language', 'rule_language');
88+
$this->db_tools->sql_create_index($boardrules_table, 'rule_language', array('rule_language'));
8989

9090
// Get installed language identifiers and iso codes
9191
$sql = 'SELECT lang_id, lang_iso

0 commit comments

Comments
 (0)