Closed krbrs closed 1 year ago
That was an oversight, rather than intended behavior. After thinking on it, though. I do at least want them to match. I'm still torn on whether I want the database model to be bound directly to the Enum. It would make a lot of things more simple
I'm in favor of the database model being directly tied to the enum(s). Also, we don't need to be strictly using anidb's terminology either.
Ok after some thought, for now, we will take this. (thank you). We will wait an making it an enum in the database model, only because Desktop is dependent on that, and I don't want to fix it. When we merge/separate Commons and Models, then it can be done
Added DB migrations for File_Source to make already present entries consistent with currently inserted values. Please let me know if I forgot something. Also, if somebody could test the migrations for other DBs than MariaDB that would be great!