chore: remove features that don't compile
add: posts "circle" column
This commit is contained in:
parent
0310418837
commit
50704d27a9
42 changed files with 71 additions and 365 deletions
|
@ -260,6 +260,10 @@ pub struct Post {
|
|||
pub title: String,
|
||||
/// If the post is "open". Posts can act as tickets in a forge community.
|
||||
pub is_open: bool,
|
||||
/// The ID of the circle this post belongs to. 0 means no circle is connected.
|
||||
///
|
||||
/// If circle is not 0, community should be 0 (and vice versa).
|
||||
pub circle: usize,
|
||||
}
|
||||
|
||||
impl Post {
|
||||
|
@ -287,6 +291,7 @@ impl Post {
|
|||
poll_id,
|
||||
title: String::new(),
|
||||
is_open: true,
|
||||
circle: 0,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue