implement recursive channel query

This commit is contained in:
Mikayla Maki 2023-07-28 13:14:24 -07:00
parent 15631a6fd5
commit 0998440bdd
No known key found for this signature in database
5 changed files with 191 additions and 138 deletions

View file

@ -8,7 +8,6 @@ pub struct Model {
pub id: ChannelId,
pub name: String,
pub room_id: Option<RoomId>,
// pub id_path: String,
}
impl ActiveModelBehavior for ActiveModel {}

View file

@ -11,3 +11,6 @@ pub struct Model {
}
impl ActiveModelBehavior for ActiveModel {}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}