You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($haveNamesOnlyColNamesCopy === $haveNamesOnlyColNames) {
302
+
continue;
303
+
}
304
+
}
305
+
306
+
278
307
if (!$column->fromPosition || !$column->toPosition) {
279
308
continue;
280
309
}
@@ -288,20 +317,26 @@ public function setPositions()
288
317
continue;
289
318
}
290
319
291
-
if (!in_array($column->fromPosition['after'], $onlyColumnNames) && !in_array($column->fromPosition['before'], $onlyColumnNames)) { // deleted column
292
-
continue;
293
-
}
320
+
// TODO this does not look correct
321
+
// if (!in_array($column->fromPosition['after'], $onlyColumnNames) && !in_array($column->fromPosition['before'], $onlyColumnNames)) { // after and before column are deleted
322
+
// continue;
323
+
// }
324
+
325
+
// TODO this does not look correct
326
+
// if (!in_array($column->toPosition['after'], $haveNamesOnlyColNames) && !in_array($column->toPosition['before'], $haveNamesOnlyColNames)) { // after and before column are added just now
327
+
// continue;
328
+
// }
294
329
295
330
if ($column->fromPosition['index'] === $column->toPosition['index']) {
296
331
continue;
297
332
}
298
333
299
-
if ($this->checkAfterPosition($column)) {
300
-
continue;
301
-
}
302
-
if ($this->checkBeforePosition($column)) {
303
-
continue;
304
-
}
334
+
// if ($this->checkAfterPosition($column)) {
335
+
// continue;
336
+
// }
337
+
// if ($this->checkBeforePosition($column)) {
338
+
// continue;
339
+
// }
305
340
306
341
// if ($column->fromPosition['before'] === $column->toPosition['before']
0 commit comments