1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Fix unique index creation during profile migration

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
Juraj Oravec 2022-10-04 21:24:18 +02:00
parent 3b259711f4
commit 513c3dd849
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -377,7 +377,7 @@ void ProfileManager::updateDatabase()
}
query.prepare(QStringLiteral(
"CREATE UNIQUE INDEX IF NOT EXISTS site_settings_domainuniqueindex ON site_settings (domain);"
"CREATE UNIQUE INDEX IF NOT EXISTS site_settings_server_uniqueindex ON site_settings (server);"
));
if (!query.exec()) {