Add channel moving test
This commit is contained in:
parent
119d1c9746
commit
aa9a9be7e9
4 changed files with 572 additions and 2 deletions
|
@ -703,6 +703,16 @@ impl Database {
|
|||
})
|
||||
.await
|
||||
}
|
||||
|
||||
pub async fn move_channel(
|
||||
&self,
|
||||
user: UserId,
|
||||
from: ChannelId,
|
||||
to: Option<ChannelId>,
|
||||
link: bool,
|
||||
) -> Result<()> {
|
||||
self.transaction(|tx| async move { todo!() }).await
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, EnumIter, DeriveColumn)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue