lemmy/migrations/2020-11-05-152724_activity_remove_user_id/down.sql
Dull Bananas d71cfaa503 stuff
2024-05-22 20:34:35 +00:00

7 lines
170 B
SQL

ALTER TABLE activity
ADD COLUMN user_id INTEGER NOT NULL REFERENCES user_ (id) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE activity
DROP COLUMN sensitive;