mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-06-06 23:49:23 +00:00
Merge branch 'main' into apub-breaking-changes-0.18
This commit is contained in:
commit
ca19b73310
|
@ -38,6 +38,8 @@ pub struct Comment {
|
|||
#[cfg_attr(feature = "full", ts(type = "string"))]
|
||||
/// The path / tree location of a comment, separated by dots, ending with the comment's id. Ex: 0.24.27
|
||||
pub path: Ltree,
|
||||
#[cfg(not(feature = "full"))]
|
||||
pub path: String,
|
||||
/// Whether the comment has been distinguished(speaking officially) by a mod.
|
||||
pub distinguished: bool,
|
||||
pub language_id: LanguageId,
|
||||
|
|
1
migrations/2023-06-06-104440_index_post_url/down.sql
Normal file
1
migrations/2023-06-06-104440_index_post_url/down.sql
Normal file
|
@ -0,0 +1 @@
|
|||
drop index idx_post_url;
|
1
migrations/2023-06-06-104440_index_post_url/up.sql
Normal file
1
migrations/2023-06-06-104440_index_post_url/up.sql
Normal file
|
@ -0,0 +1 @@
|
|||
create index idx_post_url on post(url);
|
Loading…
Reference in a new issue