From: Jane Sandberg Date: Wed, 15 Jan 2020 02:52:44 +0000 (-0800) Subject: LP1859728: Add missing column to course materials user table X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c32bb8b82dd399e929af73c0f347722aa57e9e3d;p=evergreen%2Fpines.git LP1859728: Add missing column to course materials user table Signed-off-by: Jane Sandberg Signed-off-by: Michele Morgan Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/sql/Pg/040.schema.asset.sql b/Open-ILS/src/sql/Pg/040.schema.asset.sql index 7534094754..5a45e2a8fb 100644 --- a/Open-ILS/src/sql/Pg/040.schema.asset.sql +++ b/Open-ILS/src/sql/Pg/040.schema.asset.sql @@ -1118,7 +1118,8 @@ CREATE TABLE asset.course_module_course_users ( id SERIAL PRIMARY KEY, course INT NOT NULL REFERENCES asset.course_module_course (id), usr INT NOT NULL REFERENCES actor.usr (id), - usr_role TEXT + usr_role TEXT, + is_public BOOLEAN NOT NULL DEFAULT false ); CREATE TABLE asset.course_module_course_materials ( diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.course-materials-module.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.course-materials-module.sql index 6b0031e786..d4e0d52242 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.course-materials-module.sql +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.course-materials-module.sql @@ -15,7 +15,8 @@ CREATE TABLE asset.course_module_course_users ( id SERIAL PRIMARY KEY, course INT NOT NULL REFERENCES asset.course_module_course (id), usr INT NOT NULL REFERENCES actor.usr (id), - usr_role TEXT + usr_role TEXT, + is_public BOOLEAN NOT NULL DEFAULT false ); CREATE TABLE asset.course_module_course_materials (