lemmy/crates/db_schema/src
Nutomic e4a49b6eab
Tag posts and comments with language (fixes #440) (#2269)
* Tag posts and comments with language (fixes #440)

* Untangle PostView tests

* Implement test for PostView language query

* Store languages directly in database

* finish moving languages into db, it compiles

* update post_view

* serde skip Language.id field

* add local_user_language table, other changes suggested in review

* add code for local_user_discussion_language_view

* Remove unnecessary clones in db view converteres

* Fixing up some table and join issues.

* Clearing the current languages.

* Fix formatting.

* update user languages in single transaction

* proper test for user language queries

* Some fixes for all / missing user languages. (#2404)

* Some fixes for all / missing user languages.

* Adding back in transaction.

* fix test

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-08-18 15:11:19 -04:00
..
aggregates First pass at adding comment trees. (#2362) 2022-07-30 05:55:59 +02:00
impls Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
source Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
lib.rs Add Modlog Filters (#2313) 2022-08-16 11:52:04 +00:00
newtypes.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
schema.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
traits.rs Use typed-builder crate for queries (#2379) 2022-08-04 15:30:17 -04:00
utils.rs First pass at adding comment trees. (#2362) 2022-07-30 05:55:59 +02:00