From f7260625bc5bbf37c8e023ec4b03715318f590ed Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc kop@karlpinc.com" Date: Sat, 6 Jun 2026 21:11:09 +0000 Subject: [PATCH] Create ED_CERTAINTIES code table --- db/schemas/codes/tables/Makefile | 1 + .../codes/tables/create/ed_certainties.m4 | 29 +++++++++++++ doc/src/code_tables.m4 | 43 +++++++++++++++++++ doc/src/epilog.inc.m4 | 4 ++ 4 files changed, 77 insertions(+) create mode 100644 db/schemas/codes/tables/create/ed_certainties.m4 diff --git a/db/schemas/codes/tables/Makefile b/db/schemas/codes/tables/Makefile index a1cac64..5ea5ef4 100644 --- a/db/schemas/codes/tables/Makefile +++ b/db/schemas/codes/tables/Makefile @@ -28,6 +28,7 @@ ORDER := agg_severities \ cycle_states \ dad_statuses \ departtypes \ + ed_certainties \ entrytypes \ food_names \ food_parts \ diff --git a/db/schemas/codes/tables/create/ed_certainties.m4 b/db/schemas/codes/tables/create/ed_certainties.m4 new file mode 100644 index 0000000..9501b27 --- /dev/null +++ b/db/schemas/codes/tables/create/ed_certainties.m4 @@ -0,0 +1,29 @@ +dnl Copyright (C) 2026 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(`ED_CERTAINTIES', `Code', `TEXT', ` + emptytext_check(`Code') + uppercase_check(`Code')' +) diff --git a/doc/src/code_tables.m4 b/doc/src/code_tables.m4 index 9776cbe..927a2a6 100644 --- a/doc/src/code_tables.m4 +++ b/doc/src/code_tables.m4 @@ -515,6 +515,49 @@ Description |DEPARTTYPES.Description_summary| |emptytext| +.. _ED_CERTAINTIES: + +ED_CERTAINTIES (Estrus Day CERTAINTIES) +--------------------------------------- + +.. |ED_CERTAINTIES_summary| replace:: + Contains one row for each category of certainty of the number of + days to full detuminescence. + +|ED_CERTAINTIES_summary| + + +Special Values +`````````````` + +None. + + +Column Descriptions +``````````````````` + +.. _ED_CERTAINTIES.Code: + +Code +'''' + +.. |ED_CERTAINTIES.Code_summary| replace:: + A code identifying a category of certainty. + +|ED_CERTAINTIES.Code_summary| |keycol| |uppercase| + + +.. _ED_CERTAINTIES.Description: + +Description +''''''''''' + +.. |ED_CERTAINTIES.Description_summary| replace:: + A description of the code. + +|ED_CERTAINTIES.Description_summary| |emptytext| |notnull| + + .. _ENTRYTYPES: ENTRYTYPES (community Entry reasons) diff --git a/doc/src/epilog.inc.m4 b/doc/src/epilog.inc.m4 index 3217682..057082d 100644 --- a/doc/src/epilog.inc.m4 +++ b/doc/src/epilog.inc.m4 @@ -310,6 +310,10 @@ sdb_generated_rst()dnl .. |DEPARTTYPES.Description| replace:: :ref:`Description ` +.. |ED_CERTAINTIES| replace:: :ref:`ED_CERTAINTIES ` +.. |ED_CERTAINTIES.Code| replace:: + :ref:`Code ` + .. |ENTRYTYPES| replace:: :ref:`ENTRYTYPES ` .. |ENTRYTYPES.EntryType| replace:: :ref:`EntryType ` -- 2.34.1