db&adapter, add sqlx + schema & add adapter

Adds SQLX for database management, and an Adapter interface for
interacting with it. Through the type "AdapterPool"

Creates an initial_schema with everything I think I'll need.
This commit is contained in:
Julia Lange 2026-02-05 12:23:27 -08:00
parent a42853ac5a
commit dac085756a
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto
7 changed files with 1514 additions and 14 deletions

View file

@ -5,4 +5,5 @@ edition = "2024"
[dependencies]
tokio = { version = "1.49.0", features = ["full"] }
sqlx = { version = "0.8.6", features = [ "runtime-tokio", "sqlite" ] }
chrono = "0.4.43"