Merge branch 'main' into apub-breaking-changes-0.18

This commit is contained in:
Dessalines 2023-06-07 15:17:06 -04:00 committed by GitHub
commit ca19b73310
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 0 deletions

View file

@ -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,

View file

@ -0,0 +1 @@
drop index idx_post_url;

View file

@ -0,0 +1 @@
create index idx_post_url on post(url);