You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
9 months ago
..
activity.rs Cache & Optimize Woodpecker CI (#3450) 11 months ago
actor_language.rs Cache & Optimize Woodpecker CI (#3450) 11 months ago
captcha_answer.rs Cache & Optimize Woodpecker CI (#3450) 11 months ago
comment.rs Replace TypedBuilder with Default in update forms (#3814) 10 months ago
comment_reply.rs Default imprementations for read and delete in Crud trait (#3707) 10 months ago
comment_report.rs Automatically resolve report when post/comment is removed (#3850) 10 months ago
community.rs Lowercase domain on db query filters (#3849) (#3873) 9 months ago
community_block.rs Make functions work with both connection and pool (#3420) 11 months ago
custom_emoji.rs Make functions work with both connection and pool (#3420) 11 months ago
email_verification.rs Make functions work with both connection and pool (#3420) 11 months ago
federation_allowlist.rs Cache & Optimize Woodpecker CI (#3450) 11 months ago
federation_blocklist.rs Make functions work with both connection and pool (#3420) 11 months ago
instance.rs Lowercase domain on db query filters (#3849) (#3873) 9 months ago
language.rs Cache & Optimize Woodpecker CI (#3450) 11 months ago
local_site.rs Make functions work with both connection and pool (#3420) 11 months ago
local_site_rate_limit.rs Make functions work with both connection and pool (#3420) 11 months ago
local_user.rs Default imprementations for read and delete in Crud trait (#3707) 10 months ago
mod.rs feat: re-added captcha checks (#3289) 11 months ago
moderator.rs Default imprementations for read and delete in Crud trait (#3707) 10 months ago
password_reset_request.rs Dont use sha hash for password reset token (fixes #3491) (#3795) 10 months ago
person.rs Move admin flag from person to local_user (fixes #3060) (#3403) 9 months ago
person_block.rs Make functions work with both connection and pool (#3420) 11 months ago
person_mention.rs Default imprementations for read and delete in Crud trait (#3707) 10 months ago
post.rs Sitemap (#3808) 9 months ago
post_report.rs Automatically resolve report when post/comment is removed (#3850) 10 months ago
private_message.rs Replace TypedBuilder with Default in update forms (#3814) 10 months ago
private_message_report.rs Automatically resolve report when post/comment is removed (#3850) 10 months ago
registration_application.rs Default imprementations for read and delete in Crud trait (#3707) 10 months ago
secret.rs Make functions work with both connection and pool (#3420) 11 months ago
site.rs Default imprementations for read and delete in Crud trait (#3707) 10 months ago
tagline.rs Make functions work with both connection and pool (#3420) 11 months ago