lemmy/crates/db_schema/src/impls
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 Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
actor_language.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
captcha_answer.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
comment.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
comment_reply.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
comment_report.rs Automatically resolve report when post/comment is removed (#3850) 2023-08-08 11:19:55 -04:00
community.rs Lowercase domain on db query filters (#3849) (#3873) 2023-08-22 11:10:21 -04:00
community_block.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
custom_emoji.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
email_verification.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
federation_allowlist.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
federation_blocklist.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
instance.rs Lowercase domain on db query filters (#3849) (#3873) 2023-08-22 11:10:21 -04:00
language.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
local_site.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
local_site_rate_limit.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
local_user.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
mod.rs feat: re-added captcha checks (#3289) 2023-06-27 06:38:53 -04:00
moderator.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04: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 Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
person_mention.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
post.rs Sitemap (#3808) 2023-08-22 10:30:15 -04: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 Automatically resolve report when post/comment is removed (#3850) 2023-08-08 11:19:55 -04:00
registration_application.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
secret.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
site.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
tagline.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00