https://bugs.kde.org/show_bug.cgi?id=363697

--- Comment #15 from swatilodh...@gmail.com ---
Is it possible to already have a "Fake Album" row when the DB is initially
created? 
In the DB schema file, adding a query:
//
INSERT INTO AlbumRoots values(0, "Fake Album Root", 0, 0, NULL, NULL);
//

This way the current UPDATE query in the makeStaleAlbum() would execute without
foreign key constraint failure.

Also, when deleteStaleAlbum() would be called, all those Albums would be
deleted from the DB.
It just need to be take care to include this function in a way that it gets
executed each time when digiKam is started.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to