mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
DBBrowserDB: Don't export sqlite_sequence table
When creating an SQL dump don't export the sqlite_sequence table as it is created internally by SQLite and it is not possible to import it again.
This commit is contained in:
@@ -229,7 +229,7 @@ bool DBBrowserDB::dump(const QString& filename)
|
||||
it.next();
|
||||
|
||||
// Remove the sqlite_stat1 table if there is one
|
||||
if(it.value().getname() == "sqlite_stat1")
|
||||
if(it.value().getname() == "sqlite_stat1" || it.value().getname() == "sqlite_sequence")
|
||||
{
|
||||
it.remove();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user