lemmy/crates/db_schema/src
Nutomic 6047257bfc
Move admin flag from person to local_user (fixes #3060) (#3403)
* Move admin flag from person to local_user (fixes #3060)

The person table is for federated data, but admin flag can only
apply to local users. Thats why it really belongs in the local_user
table. This will also prevent the federation code from accidentally
overwriting the admin flag

* fmt

* try to fix api tests

* lint

* fix person view

* ci

* ci

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-08-24 05:40:08 -04:00
..
aggregates Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
impls Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
source Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
diesel_ltree.patch feat: re-added captcha checks (#3289) 2023-06-27 06:38:53 -04:00
lib.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00
newtypes.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
schema.rs Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
traits.rs Automatically resolve report when post/comment is removed (#3850) 2023-08-08 11:19:55 -04:00
utils.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00