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
This commit is contained in:
14
README
14
README
@@ -26,7 +26,6 @@ python3 main.py
|
|||||||
|
|
||||||
### TODO:
|
### TODO:
|
||||||
- need to save a book
|
- need to save a book
|
||||||
- still missing publisher, notes, blurb.
|
|
||||||
- not sure about series/loan/subbook, etc.
|
- not sure about series/loan/subbook, etc.
|
||||||
- need to create all classes (green + button)
|
- need to create all classes (green + button)
|
||||||
- need to delete all classes (and watch for referential integrity)
|
- need to delete all classes (and watch for referential integrity)
|
||||||
@@ -43,16 +42,3 @@ python3 main.py
|
|||||||
### MAYBE:
|
### MAYBE:
|
||||||
when moving a book in a series (which is part of 2 series), do we pop-up
|
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)
|
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/<id>, 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
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user