Renamed art_author to art_to_presence
Renamed collection to art_collection
Renamed art_collection to art_to_art_collection
Renamed artist_topic to artist_to_topic
Renamed art_tag to art_to_tag
CREATETABLEIFNOTEXISTSCollection(-- for ordered lists of art
CREATETABLEIFNOTEXISTSArt_Collection(-- for ordered lists of art
IDINTEGERPRIMARYKEYgeneratedalwaysasidentity,
nameVARCHAR,
descriptionVARCHAR
);
CREATETABLEIFNOTEXISTSArt_Collection(
CREATETABLEIFNOTEXISTSArt_to_Art_Collection(
collection_IDINTEGERNOTNULL,
art_IDINTEGERNOTNULL,
rankingVARCHAR,-- order in the collection by string value, allows easy insert see https://stackoverflow.com/questions/9536262/best-representation-of-an-ordered-list-in-a-database; same rank or empty rank means unordered