lemmy/migrations/2020-11-05-152724_activity_remove_user_id/down.sql
nutomic 7c51a36012 In activity table, remove user_id and add sensitive (#127)
Forgot to add migrations

Add `sensitive` column to activities table, so PMs arent served over HTTP

Remove user_id column from actvity table

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/127
2020-11-06 13:06:47 +00:00

2 lines
92 B
SQL

ALTER TABLE activity ADD COLUMN user_id INTEGER;
ALTER TABLE activity DROP COLUMN sensitive;