Add channel moving test

This commit is contained in:
Mikayla
2023-09-15 11:20:04 -07:00
parent 119d1c9746
commit aa9a9be7e9
4 changed files with 572 additions and 2 deletions
+10
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)]