Update tt and create.sql

This commit is contained in:
2023-02-25 23:11:29 +01:00
parent c3c8d51e68
commit ad77a472ce

View File

@ -286,6 +286,7 @@ CREATE TABLE member (
phone_mobile_2 TEXT CHECK (phone_mobile_2 REGEXP '^\+[0-9]+$') DEFAULT NULL,
default_kgnr INTEGER CHECK (NOT active OR default_kgnr IS NOT NULL),
default_contact TEXT NOT NULL CHECK (default_contact IN ('email', 'post')) DEFAULT 'post',
comment TEXT DEFAULT NULL,
CONSTRAINT pk_member PRIMARY KEY (mgnr),