This commit is contained in:
sam 2023-10-18 17:17:53 +02:00
commit b050eaac9b
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
12 changed files with 2545 additions and 0 deletions

5
src/state.rs Normal file
View file

@ -0,0 +1,5 @@
use sqlx::{postgres::Postgres, Pool};
pub struct AppState {
pub pool: Pool<Postgres>,
}