]> Untitled Git - lemmy.git/blobdiff - lemmy_db/src/schema.rs
In activity table, remove `user_id` and add `sensitive` (#127)
[lemmy.git] / lemmy_db / src / schema.rs
index c755009b10e69b6f169f1908439fdbd807c69607..ec1e259958efe7d16bb00c34309bcadea29b3805 100644 (file)
@@ -2,9 +2,9 @@ table! {
     activity (id) {
         id -> Int4,
         ap_id -> Text,
-        user_id -> Int4,
         data -> Jsonb,
         local -> Bool,
+        sensitive -> Bool,
         published -> Timestamp,
         updated -> Nullable<Timestamp>,
     }
@@ -481,7 +481,6 @@ table! {
     }
 }
 
-joinable!(activity -> user_ (user_id));
 joinable!(comment -> post (post_id));
 joinable!(comment -> user_ (creator_id));
 joinable!(comment_like -> comment (comment_id));