mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-14 14:29:56 +00:00
56e26fc3d4
* Adding a post_view mode. Fixes #3730 * Fix test. * Addressing PR comments. * Adding a post_view mode. Fixes #3730 * Fix test. * Addressing PR comments. * Fixing column order. * Fix default Ok returns. * Removing return Err(... where feasible.
20 lines
515 B
Diff
20 lines
515 B
Diff
diff --git a/crates/db_schema/src/schema.rs b/crates/db_schema/src/schema.rs
|
|
index 255c6422..f2ccf5e2 100644
|
|
--- a/crates/db_schema/src/schema.rs
|
|
+++ b/crates/db_schema/src/schema.rs
|
|
@@ -76,13 +76,13 @@ diesel::table! {
|
|
published -> Timestamptz,
|
|
}
|
|
}
|
|
|
|
diesel::table! {
|
|
use diesel::sql_types::*;
|
|
- use super::sql_types::Ltree;
|
|
+ use diesel_ltree::sql_types::Ltree;
|
|
|
|
comment (id) {
|
|
id -> Int4,
|
|
creator_id -> Int4,
|
|
post_id -> Int4,
|
|
content -> Text,
|