CI / skip-ci-check (pull_request) Successful in 29s
CI / python-lint (pull_request) Successful in 31s
CI / docker-ci (pull_request) Successful in 32s
CI / secret-scan (pull_request) Successful in 37s
CI / e2e (pull_request) Successful in 4m32s
CI / viewer-unit (pull_request) Successful in 4m42s
CI / admin-unit (pull_request) Successful in 5m6s
Capture optional contact fields on identify/approve, add Select All and Approve Next 10 on User Identified Faces, and email admins when the pending queue grows (ADMIN_NOTIFY_EMAIL via existing noreply SMTP).
12 lines
442 B
SQL
12 lines
442 B
SQL
-- Migration: optional contact fields on people (main punimtag DB)
|
|
-- Usage: ./scripts/run-psql-migration.sh migrations/add-people-contact-columns.sql
|
|
|
|
ALTER TABLE people
|
|
ADD COLUMN IF NOT EXISTS email TEXT;
|
|
|
|
ALTER TABLE people
|
|
ADD COLUMN IF NOT EXISTS phone TEXT;
|
|
|
|
COMMENT ON COLUMN people.email IS 'Optional contact email for the identified person';
|
|
COMMENT ON COLUMN people.phone IS 'Optional contact phone for the identified person';
|