Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add idShow to the episode table and drop the unneeded tvshowlinkepisode
- Loading branch information
2fc3a8f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When exactly does the idShow value get set when scanning in new episodes? Because none of my newly scraped episodes are showing up, and looking in the database all their idShow fields are empty and if I manually add the right value, the episode shows up. All the old episodes are fine from the update, just nothing new.
2fc3a8f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same thing on a fresh install. Not looked through all the SQL statements and not an expert by any means but shouldn't "CREATE TABLE episode" gain an ", idShow integer" on L195? Also a little later an index is created on season rather than seasons - L312. Plus whatever is causing the idShow integer to not be set in the episode table. I very quickly and very very blindly tried modifying L1138 to set it but that didn't seem to fix it.
2fc3a8f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The season/seasons thing is already fixed.
Looks like I missed the update for show - will fix.
2fc3a8f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest should be fixed now as well.