DEV Community

Discussion on: Building a Telegram Bot with Python and Fauna

lordghostx profile image
LordGhostX Author

Yes you're right, our app has 2 collections which are "users" and "todo"

The users collection stores information about our user such as their chat_id and username while the todo collection stores tasks created by users.

In Fauna, we need to create different collections and an index for each that's why we have different ones.