feat: add sqlx sqlite + tokio + uuid:v4

This commit is contained in:
itsscb 2025-05-03 22:25:14 +02:00
parent 853b04e46d
commit ae29e83c80
3 changed files with 7 additions and 0 deletions

View File

@ -8,3 +8,6 @@ repository = "https://git.itsscb.de/itsscb/BefehlsWerk"
[dependencies]
serde = { version = "1.0.219", features = ["derive", "rc"] }
serde_json = "1.0.140"
sqlx = { version = "0.8.5", features = ["macros", "runtime-tokio", "sqlite", "uuid"] }
tokio = { version = "1.44.2", features = ["full"] }
uuid = { version = "1.16.0", features = ["v4"] }

BIN
db_dev.db Normal file

Binary file not shown.

View File

@ -13,6 +13,10 @@
buildInputs = with pkgs; [
powershell
];
shellHook = ''
export DATABASE_URL=sqlite://db_dev.db
'';
};
}
);