mirror of https://github.com/LemmyNet/lemmy
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/127pull/1261/head
parent
b7d2dac9bf
commit
7c51a36012
@ -0,0 +1,2 @@
|
||||
ALTER TABLE activity ADD COLUMN user_id INTEGER;
|
||||
ALTER TABLE activity DROP COLUMN sensitive;
|
@ -0,0 +1,2 @@
|
||||
ALTER TABLE activity DROP COLUMN user_id;
|
||||
ALTER TABLE activity ADD COLUMN sensitive BOOLEAN DEFAULT TRUE;
|
Loading…
Reference in New Issue