Add channel moving test

This commit is contained in:
Mikayla 2023-08-31 17:48:51 -07:00
parent 119d1c9746
commit aa9a9be7e9
No known key found for this signature in database
4 changed files with 572 additions and 2 deletions

View file

@ -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)]