summaryrefslogtreecommitdiffstats
path: root/migdb.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't add quality to coversArno2010-07-291-2/+2
| | | | | | | | | | | | Fix adding quality to cover files in database by binding a NULL value when type != Movie in FilesTreeModel. While fixing this I discovered a typo in the database schema. The sequence for genres was named genres_igrenres_id__seq. Removed the superfluous 'r' in the name and fixed migdb.py on the way. Now SheMov doesn't crash any more when adding a new series part, but the new item still doesn't get selected...
* Update for migdb.pyArno2010-06-251-1/+1
| | | | | Pass the right var to Migrator::newEntry for the file nubmer. Before it passed the series part number as the file number to newEntry.
* Treemodel DevelopmentArno2010-06-161-8/+8
| | | | | | | | | | -Changed the database schema. Attached quality to files -Subclassed SmTreeModel for SeriesTreeModel -Made SmTreeModel virtual for that Well, it seems there is a serious problem with the database schema. Curiously everything inside the model works beside the db update. Seems I have it wrong with the fks :(
* New database schemaArno2010-06-121-0/+213
Created a new database schema and implemented a migration script to migrate data from the old schema to the new one. The new schema is more "modular". Actors and files, including covers are assigned to series parts.