]> Some of my projects - localmylist.git/commit
Add new FileEpisode table to DynamicModel.
authorAPTX <marek321@gmail.com>
Sun, 14 Jun 2015 10:27:56 +0000 (12:27 +0200)
committerAPTX <marek321@gmail.com>
Sun, 14 Jun 2015 10:27:56 +0000 (12:27 +0200)
commit098eefeb5b6f44abbd2d11839c4234b45afa6d3a
treef582b346f11e9ce723bfb298f59e2c93c77b3fe0
parent27bd075a9288750411b8b08ce7049c837679e3a2
Add new FileEpisode table to DynamicModel.

This new table shows all files related to an episode
and not just the files for which an episode is the
main episode.

To get all episodes a UNION is needed over file and file
joined with file_episode_rel, but Dynamic Model's query
builder does not support building such queries. The
workaround is to do the UNION in a view and query it
instead.

File will be changed to what FileEpisode does in the
future as it was File's intended behaviour.
localmylist-management/tabs/dynamicmodeltab.cpp
localmylist/dynamicmodel/types.cpp
localmylist/dynamicmodel/types.h
localmylist/share/schema/schema.sql