]> Untitled Git - lemmy.git/commit
Add support for Taglines (#2548)
authorAnon <makotech222@users.noreply.github.com>
Sat, 19 Nov 2022 14:48:29 +0000 (08:48 -0600)
committerGitHub <noreply@github.com>
Sat, 19 Nov 2022 14:48:29 +0000 (09:48 -0500)
commitc27d2a56873de58142e531915c3df002878d59e1
tree029e8aeb74d2a7eaad176a04950c73a4600f1c21
parent6f3bf4634b0e1cf529c4683d6ee971917e2bfa50
Add support for Taglines (#2548)

* Add support for Taglines

* recreate migration

* Update content column -> Text

* Optimize replace function

* Change taglines to Option

* Move Ok() call

* Move taglines to GetSiteResponse

* Fix logic

Co-authored-by: layla <layla@chapo.dev>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
crates/api/src/site/leave_admin.rs
crates/api_common/src/site.rs
crates/api_crud/src/site/read.rs
crates/api_crud/src/site/update.rs
crates/db_schema/src/impls/mod.rs
crates/db_schema/src/impls/tagline.rs [new file with mode: 0644]
crates/db_schema/src/schema.rs
crates/db_schema/src/source/mod.rs
crates/db_schema/src/source/tagline.rs [new file with mode: 0644]
migrations/2022-11-13-181529_create_taglines/down.sql [new file with mode: 0644]
migrations/2022-11-13-181529_create_taglines/up.sql [new file with mode: 0644]