Add a column in family table to toggle genealogy feature

This commit is contained in:
2024-05-15 18:56:18 +02:00
parent c6b518d8de
commit 88e40fece6
4 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,3 @@
-- Remove column to toggle genealogy
ALTER TABLE public.families
DROP COLUMN enable_genealogy;

View File

@ -0,0 +1,5 @@
-- Add column to toggle genealogy
ALTER TABLE public.families
ADD enable_genealogy boolean NOT NULL DEFAULT false;
COMMENT
ON COLUMN public.families.enable_genealogy IS 'Specify whether genealogy feature is enabled for the family';