Closed xmclark closed 5 years ago
This PR adds diesel ORM for interacting with sqlite database. It sets us up to interact with the database actor to query and command our data.
There is a directory structure that should help separate important concerns:
db |-- handlers |-- messages |-- models
Handlers are functions that process messages. Messages are the messages important to the db actor. Models represent the data.
We can use sqlite for now during early development. This allows us to move a little faster.
This PR addresses some of the concerns in #16
This PR adds diesel ORM for interacting with sqlite database. It sets us up to interact with the database actor to query and command our data.
There is a directory structure that should help separate important concerns:
Handlers are functions that process messages. Messages are the messages important to the db actor. Models represent the data.
We can use sqlite for now during early development. This allows us to move a little faster.
This PR addresses some of the concerns in #16