sqlite test
parent
182a4207dd
commit
60c0e7e146
|
@ -8,7 +8,7 @@
|
|||
outputs = { self, nixpkgs, rust-overlay, flake-utils, ... }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
tag = "v0.1.5_2-alpha";
|
||||
tag = "sqlite-test";
|
||||
overlays = [ (import rust-overlay) ];
|
||||
pkgs = import nixpkgs {
|
||||
inherit system overlays;
|
||||
|
|
|
@ -313,7 +313,7 @@ async fn main() -> std::io::Result<()> {
|
|||
|
||||
let (run_api, run_bot) = (settings.run_api, settings.run_bot);
|
||||
let db = Arc::new(tokio::sync::Mutex::new(
|
||||
db::Database::new("db.sqlite").expect("couldn't open sqlite db"),
|
||||
db::Database::new("./config/db.sqlite").expect("couldn't open sqlite db"),
|
||||
));
|
||||
|
||||
if run_api {
|
||||
|
|
Loading…
Reference in New Issue