From 64ae890ec8795dff97bc6bcd2c7f0189cfd121a8 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Thu, 3 Dec 2020 19:19:48 +1100 Subject: [PATCH] changed publisher link over to a 1-to-many, removed book_publisher_link table, etc. fully works in show books, edit book for publisher now & notes/blurb save too --- README | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/README b/README index 7fdc859..416bdea 100644 --- a/README +++ b/README @@ -26,7 +26,6 @@ python3 main.py ### TODO: - need to save a book - - still missing publisher, notes, blurb. - not sure about series/loan/subbook, etc. - need to create all classes (green + button) - need to delete all classes (and watch for referential integrity) @@ -43,16 +42,3 @@ python3 main.py ### MAYBE: when moving a book in a series (which is part of 2 series), do we pop-up offer to move parent/child series orders as well to match (think Thomas Covenant) - - -### WARNING WARNING, edit book has broken publisher setting on GET of /book/, DONT SAVE, until FIX as per below ### - need to get publisher to be a single 1-to-many Foreign key, not linkage many-to-many table - think I recall add new field to book (new_pub_id) as Foreign key - use ORM to copy into new_pub_id, from publisher[0].id - rename publisher to old_pub_field - rename new_pub_id to publisher - TEST - delete book_publisher_link table - delete column old_pub_field - profit -