Diffusion Elisa e200b17ab6c5

[WIP] improve database performance and reliability

Authored by mgallien on Oct 12 2018, 3:52 PM.

Description

[WIP] improve database performance and reliability

Summary:
let database test addOneTrackWithoutAlbumArtist have a file database

let the numeric unique id starts at 1 instead of 2

let fix warnings from QtCreator in database tests

DatabaseInterface: does not emit track changed signals for newly added

album artist name is directly a foreign key in Albums

should help to ensure greater reliability

lists of authors where not working so let's scrap this

use the unique fields of Albums for foreign key in Tracks

remove TracksArtists Table

no longer store tracks count and single disc states in albums table

Test Plan: tests are OK and Elisa application is still working

Reviewers: astippich, januz

Differential Revision: https://phabricator.kde.org/D16302

Details

Committed
mgallienNov 17 2018, 2:13 PM
Differential Revision
D16302: improve database performance and reliability
Parents
R255:67bce5909c93: remove TracksArtists Table
Branches
Unknown
Tags
Unknown