Files

3 lines
120 B
SQL

ALTER TABLE user_badges
ADD COLUMN IF NOT EXISTS trigger_concert_id INTEGER REFERENCES concerts(id) ON DELETE SET NULL;