From 429b9240779be068525141f71da88728fc845bec Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc kop@karlpinc.com" Date: Mon, 8 Sep 2025 14:59:40 +0000 Subject: [PATCH] Add CERTAINTIES table --- db/schemas/codes/tables/Makefile | 3 +- db/schemas/codes/tables/create/certainties.m4 | 29 +++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 db/schemas/codes/tables/create/certainties.m4 diff --git a/db/schemas/codes/tables/Makefile b/db/schemas/codes/tables/Makefile index 41c4cf7..7629d04 100644 --- a/db/schemas/codes/tables/Makefile +++ b/db/schemas/codes/tables/Makefile @@ -20,7 +20,8 @@ # This determines the order in which the tables are put into the database. # This is important because the tables containing foreign keys must be put # into the database after the tables they reference. -ORDER := comm_ids \ +ORDER := certainties \ + comm_ids \ comm_membs_sources \ departtypes \ entrytypes \ diff --git a/db/schemas/codes/tables/create/certainties.m4 b/db/schemas/codes/tables/create/certainties.m4 new file mode 100644 index 0000000..a882288 --- /dev/null +++ b/db/schemas/codes/tables/create/certainties.m4 @@ -0,0 +1,29 @@ +dnl Copyright (C) 2025 The Meme Factory, Inc., http://www.karlpinc.com/ +dnl +dnl This program is free software: you can redistribute it and/or modify +dnl it under the terms of the GNU Affero General Public License as published +dnl by the Free Software Foundation, either version 3 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU Affero General Public License for more details. +dnl +dnl You should have received a copy of the GNU Affero General Public License +dnl along with this program. If not, see . +dnl +dnl Karl O. Pinc +dnl +dnl +dnl m4 includes +include(`copyright.m4')dnl +include(`constants.m4')dnl +include(`tablemacros.m4')dnl +include(`grants.m4')dnl +dnl + +support_table(`CERTAINTIES', `Certainty', `TEXT', ` + emptytext_check(`Certainty') + uppercase_check(`Certainty')' +) -- 2.34.1