Globinours/migrations/032_care_round_private_photos.sql

2 lines
157 B
SQL

ALTER TABLE animal_photos ADD COLUMN caption TEXT;
ALTER TABLE animal_photos ADD COLUMN care_round_id INTEGER REFERENCES care_rounds(id) ON DELETE SET NULL;