View Single Post
Old 03-03-2020, 04:41 AM   #35
rtiangha
Evangelist
rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.
 
Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
Quote:
Originally Posted by geek1011 View Post
Yes, that should work for now. Just copy the contents of 'Series' to 'SeriesID' for sideloaded books (and remember to exclude the rows used for TOC entries).
Ok, dumb question, but for TOC entries, isn't the Series data set to NULL anyways? So copying it over to SeriesID should still be NULL and be fine, right? Although I only really spot checked and didn't check every TOC entry but the ones I did encounter were NULL.

I was really hoping something like
Code:
UPDATE content SET SeriesID = Series;
would work.

Although I was playing around (haven't actually deployed it yet) and it seemed to set SeriesNumberFloat to 0.0 for all non-NULL entries at the same time. Not sure if that's a quirk of the program I'm using (DB Browser for SQLite) or if that's what's supposed to happen. Should I be copying over SeriesNumber to that column too?

Last edited by rtiangha; 03-03-2020 at 05:05 AM.
rtiangha is offline   Reply With Quote