From 596d390f5a46948e6cf2dc1247cb62f21f379f26 Mon Sep 17 00:00:00 2001 From: Bob Rogers Date: Tue, 5 Apr 2022 12:05:11 -0400 Subject: [PATCH] Bookworm Release 0.2 * makefile: + Update the RELEASE macro. * database/schema.sql: + Merge schema changes for release 0.2 to change book.category and add location.bg_color. --- database/schema.sql | 9 ++++++--- makefile | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/database/schema.sql b/database/schema.sql index 7112efc..1dc7484 100644 --- a/database/schema.sql +++ b/database/schema.sql @@ -1,7 +1,7 @@ -- *** Bookworm Schema *** -- -- [the next line is parsed by the DB uploader. -- rgr, 29-Jan-11.] --- Version: 0.1 +-- Version: 0.2 -- -- Or upload manually with: -- @@ -35,8 +35,8 @@ create table book ( title varchar(200) default '', publisher_id int(11) default null, publication_year varchar(4), - category enum('fiction', 'sf', 'history', 'biography', 'text', - 'guidebook', 'nonfiction'), + category enum('fiction', 'biography', 'guidebook', 'history', + 'nonfiction', 'reference', 'satire', 'text'), date_read varchar(100) NOT NULL default '', notes varchar(4000) default '', location_id int(11) default NULL, @@ -67,6 +67,9 @@ create table location ( location_id int(11) NOT NULL auto_increment, name varchar(100) NOT NULL default '', description varchar(4000) default '', + bg_color enum('inherit', 'grey', 'yellow', 'orange', 'red', + 'purple', 'blue', 'aqua', 'green', 'chartreuse') + default 'inherit', parent_location_id int(11) default NULL, PRIMARY KEY (location_id) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; diff --git a/makefile b/makefile index 4711ccd..308181b 100644 --- a/makefile +++ b/makefile @@ -15,7 +15,7 @@ server-prefix = bookworm # bookworm-path is the filesystem path to server-prefix. bookworm-path = /srv/www/htdocs/${server-prefix} -RELEASE = 0.1 +RELEASE = 0.2 # This is the number of the compatible MODFRAME release. MODFRAME_RELEASE = 3.7 -- 2.45.2