diff --git a/roles/database/files/upgrade/7.1.0.sql b/roles/database/files/upgrade/7.1.0.sql index 7c7d572ce..bee624aea 100644 --- a/roles/database/files/upgrade/7.1.0.sql +++ b/roles/database/files/upgrade/7.1.0.sql @@ -6,7 +6,7 @@ BEGIN END $$; ALTER TABLE report_template -ADD COLUMN viewable_by_all boolean Default FALSE; +ADD COLUMN IF NOT EXISTS viewable_by_all boolean Default FALSE; Create table if not exists "report_template_viewable_by" (