Commit Graph

8 Commits

Author SHA1 Message Date
0d022af335 Implement index assignments
The index assignment UI uses the same table-form pattern as the index
UI. There is currently no control over deleting indices when an index
assignment exists on that index.
2021-09-20 14:50:37 -07:00
abbe6e6b2e Track Ersatz status with flag instead of null character
Previously, articles written by Ersatz Scrivener were represented in
the data model by having a NULL character id. This had several awkward
consequences, such as therebeing no real way to distinguish Ersatz
articles from different players without doubling up on foreign keys
whenever there was a character reference, because there would need to
be a user reference as well.

Using a flag on the article itself is a much cleaner solution. There is
no longer a need to have both character and user FKs. Ersatz-ness is
still a special case, but one easily tracked on articles without
changing how basic objects of the game relate to each other. Ersatz
articles can be treated differently in the stats just as easily while
still being subject to character-specific rules like index assignments.
2021-09-15 00:22:38 -07:00
7645c85c9d Make backend argument type errors more specific 2021-08-13 17:23:03 -07:00
74fe79dbf9 Make importing backends easier 2021-08-12 23:08:56 -07:00
06d662982c Rename lookup functions 2021-08-12 23:04:56 -07:00
9025be28bf Add update timestamp defaults to lexicon and article 2021-08-02 21:59:45 -07:00
9f6f5e92f5 Add unit tests for new backend functions 2021-06-17 02:06:48 -07:00
ba346c29bc Move backend tests 2021-06-16 20:17:35 -07:00