Skip to content

Commit 9fb6c85

Browse files
lorykSAMIBETTAYEB
authored andcommitted
Fix Index upgrade
Seems like syntax error: - autoupdate not working due to variable is unset - without this change (just comment this line) Indexes was not updated Signed-off-by: SAMI BETTAYEB <[email protected]>
1 parent 871374d commit 9fb6c85

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/migration.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -783,8 +783,7 @@ function mixinMigration(PostgreSQL) {
783783
if (identical && siKeys.length > 1) {
784784
if (siKeys.length !== i.keys.length) {
785785
// lengths differ, obviously non-matching
786-
// ??? orderMatched is not defined and not used anywhere else
787-
// orderMatched = false;
786+
identical = false;
788787
} else {
789788
siKeys.forEach(function(propName, iter) {
790789
identical = identical && self.column(model, propName) === i.keys[iter];

0 commit comments

Comments
 (0)