Commit 4dd9392d authored by Bart Visscher's avatar Bart Visscher

"0" columns location doesn't matter

parent 18cbfdcf
......@@ -170,12 +170,6 @@ class SqliteSchemaManager extends AbstractSchemaManager
if ($a['pk'] == $b['pk']) {
return $a['cid'] - $b['cid'];
}
if ($a['pk'] == "0" && $b['pk'] != "0") {
return 1;
}
if ($a['pk'] != "0" && $b['pk'] == "0") {
return -1;
}
return $a['pk'] - $b['pk'];
});
foreach ($indexArray as $indexColumnRow) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment