]> Untitled Git - lemmy.git/commit
Removing the site creator, adding leave_admin. Fixes #1808 (#2052)
authorDessalines <dessalines@users.noreply.github.com>
Wed, 26 Jan 2022 17:57:16 +0000 (12:57 -0500)
committerGitHub <noreply@github.com>
Wed, 26 Jan 2022 17:57:16 +0000 (17:57 +0000)
commite36ad9d98474a0e36a2d64111aa31e20df152d43
tree6e9a0f7a467dd439c9b6d48a929eeaaceda41918
parent1372827b411a4aaec1f0d6d8903d615687260da9
Removing the site creator, adding leave_admin. Fixes #1808 (#2052)

* Removing the site creator, adding leave_admin. Fixes #1808

* Making sure there's at least one admin. Fixing unit tests
18 files changed:
crates/api/src/community.rs
crates/api/src/lib.rs
crates/api/src/local_user.rs
crates/api/src/site.rs
crates/api_common/src/site.rs
crates/api_crud/src/site/create.rs
crates/api_crud/src/site/read.rs
crates/api_crud/src/site/update.rs
crates/db_schema/src/aggregates/site_aggregates.rs
crates/db_schema/src/impls/person.rs
crates/db_schema/src/impls/site.rs
crates/db_schema/src/schema.rs
crates/db_schema/src/source/site.rs
crates/db_views/src/site_view.rs
crates/websocket/src/lib.rs
migrations/2022-01-20-160328_remove_site_creator/down.sql [new file with mode: 0644]
migrations/2022-01-20-160328_remove_site_creator/up.sql [new file with mode: 0644]
src/api_routes.rs