Files
spsays-bff/migrations/0023_sampradaya_nullable.up.sql
T

5 lines
213 B
SQL

-- Sampradāya is optional. Keep the 'gaudiya' DEFAULT so new accounts still
-- start in the Gaudiya lineage, but allow NULL so a devotee can clear it.
ALTER TABLE users
ALTER COLUMN sampradaya DROP NOT NULL;