feat: include migrations in binary

Lets us change the schema and not worry about instance admins having to manually update their DB!
This commit is contained in:
Radical 2025-05-22 16:29:57 +02:00
parent 2e1382c1d4
commit c1885210fb
3 changed files with 21 additions and 5 deletions

View file

@ -30,8 +30,9 @@ random-string = "1.1"
actix-ws = "0.3.0"
futures-util = "0.3.31"
deadpool = "0.12"
diesel = "2.2"
diesel-async = { version = "0.5", features = ["deadpool", "postgres"] }
diesel = { version = "2.2", features = ["uuid"] }
diesel-async = { version = "0.5", features = ["deadpool", "postgres", "async-connection-wrapper"] }
diesel_migrations = { version = "2.2.0", features = ["postgres"] }
[dependencies.tokio]
version = "1.44"