diff --git a/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php index faa207cf42..8caf232066 100644 --- a/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php +++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php @@ -525,7 +525,7 @@ protected function introspectSchema($table) { $index_name = substr($name, strlen($info['table']) + 1); $result = $this->connection->query('PRAGMA ' . $info['schema'] . '.index_info(' . $name . ')'); foreach ($result as $row) { - $schema[$index['schema_key']][$index_name][] = $row->name; + $schema[$index['schema_key']][$index_name][$row->seqno] = $row->name; } } return $schema;