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 (is_int(array_search([$column->toPosition['index'], $column->fromPosition['index']], $takenIndices))) {
314
302
continue;
315
303
}
316
304
if ($column->fromPosition === $column->toPosition) {
317
305
continue;
318
306
}
319
-
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
-
// }
329
-
330
307
if ($column->fromPosition['index'] === $column->toPosition['index']) {
331
308
continue;
332
309
}
333
310
334
-
// if ($this->checkAfterPosition($column)) {
335
-
// continue;
336
-
// }
337
-
// if ($this->checkBeforePosition($column)) {
338
-
// continue;
339
-
// }
340
-
341
-
// if ($column->fromPosition['before'] === $column->toPosition['before']
0 commit comments