lemmy/crates/db_schema/src/source
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
..
activity.rs Split activity table into sent and received parts (fixes #3103) (#3583) 2023-07-14 11:17:06 -04:00
actor_language.rs Group imports dess (#2526) 2022-11-02 15:18:22 -04:00
captcha_answer.rs feat: re-added captcha checks (#3289) 2023-06-27 06:38:53 -04:00
comment.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
comment_reply.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
comment_report.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
community.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
community_block.rs Group imports dess (#2526) 2022-11-02 15:18:22 -04:00
custom_emoji.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
custom_emoji_keyword.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
email_verification.rs Group imports dess (#2526) 2022-11-02 15:18:22 -04:00
federation_allowlist.rs Group imports dess (#2526) 2022-11-02 15:18:22 -04:00
federation_blocklist.rs Group imports dess (#2526) 2022-11-02 15:18:22 -04:00
instance.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
language.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
local_site.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
local_site_rate_limit.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
local_user.rs Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
local_user_language.rs Diesel 2.0.0 upgrade (#2452) 2022-09-26 14:09:32 +00:00
mod.rs Use serde(skip) instead of skip_serializing, add placeholder values (#3362) 2023-07-03 15:14:01 +02:00
moderator.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
password_reset_request.rs Dont use sha hash for password reset token (fixes #3491) (#3795) 2023-08-02 13:02:53 -04:00
person.rs Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
person_block.rs Group imports dess (#2526) 2022-11-02 15:18:22 -04:00
person_mention.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
post.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
post_report.rs Automatically resolve report when post/comment is removed (#3850) 2023-08-08 11:19:55 -04:00
private_message.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
private_message_report.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
registration_application.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
secret.rs Diesel 2.0.0 upgrade (#2452) 2022-09-26 14:09:32 +00:00
site.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
tagline.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00