From eb99226bf95b5b5dc5ae635b6d802ea0c4cc0737 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc kop@karlpinc.com" Date: Sat, 20 Jun 2026 00:42:41 +0000 Subject: [PATCH] Change the sdb_mating symbol to sdb_mating_event Matings sometimes are recorded without a follow, so we will need the sdb_mating symbol to designate a WATCHES.Type value. --- db/schemas/sokwedb/tables/create/events.m4 | 2 +- doc/src/tables/events.m4 | 8 ++++---- include/global_constants.m4 | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/db/schemas/sokwedb/tables/create/events.m4 b/db/schemas/sokwedb/tables/create/events.m4 index 33011b3..45c1fef 100644 --- a/db/schemas/sokwedb/tables/create/events.m4 +++ b/db/schemas/sokwedb/tables/create/events.m4 @@ -74,7 +74,7 @@ CREATE TABLE events ( , 'sdb_groom_scan' , 'sdb_groom_scan_a' , 'sdb_map' - , 'sdb_mating' + , 'sdb_mating_event' , 'sdb_other_species' , 'sdb_pg_event')) ,start TIME NOT NULL diff --git a/doc/src/tables/events.m4 b/doc/src/tables/events.m4 index 9c36c2e..c5d868e 100644 --- a/doc/src/tables/events.m4 +++ b/doc/src/tables/events.m4 @@ -563,9 +563,9 @@ The following table lists these rules and implications: must be ``sdb_identity_certain``. -.. _EVENTS_mating_code: +.. _EVENTS_mating_event_code: -``sdb_mating`` (Mating) +``sdb_mating_event`` (Mating) A row must exist on MATINGS. .. _EVENTS_other_species_code: @@ -712,8 +712,8 @@ The following list summarizes the available codes: ``sdb_groom_scan`` (follow SCAN interval Groomings) A row must exist on |GROOM_SCANS_B|. -``sdb_mating`` (Mating) - A row must exist on MATINGS. +``sdb_mating_event`` (Mating) + A row must exist on |MATINGS|. ``sdb_map`` (Map Location) A row must exist on |LOCATIONS_MAP|. diff --git a/include/global_constants.m4 b/include/global_constants.m4 index 55546dd..a017a0e 100644 --- a/include/global_constants.m4 +++ b/include/global_constants.m4 @@ -136,7 +136,7 @@ define(`sdb_grooming', `GROOM') dnl The recording of a map location define(`sdb_map', `MAP') dnl The mating event -define(`sdb_mating', `MATE') +define(`sdb_mating_event', `MATE') dnl The other species is present event define(`sdb_other_species', `OS') dnl The pantgrunt event -- 2.34.1