Dont use ORDER BY in .schema

This commit is contained in:
jussisaurio
2024-07-24 12:41:48 +03:00
parent d50d98d164
commit c1f4f5879c
2 changed files with 7 additions and 7 deletions

View File

@@ -168,7 +168,7 @@ fn display_schema(
table_name
),
None => String::from(
"SELECT sql FROM sqlite_schema WHERE type IN ('table', 'index') AND name NOT LIKE 'sqlite_%' ORDER BY type, name"
"SELECT sql FROM sqlite_schema WHERE type IN ('table', 'index') AND name NOT LIKE 'sqlite_%'"
),
};