Complex database structure

We have covered one example with a single table. In this section, we will create an example with a complex table structure to cover holistic database interaction. We will develop a separate crate for database interaction that covers the functionality of a complex chat application—chat with users, channels, and roles. Also, we will test the functionality we have implemented and show you how to test the database interaction layer of the Rust application.