Update sqlx handling

This commit is contained in:
Tobias Reisinger 2024-04-29 02:09:29 +02:00
parent 661b5004e8
commit 71498256f6
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 1 additions and 6 deletions

View file

@ -1,5 +1,3 @@
DATABASE_URL=sqlite://emgauwa-dev.sqlite
#EMGAUWA_CONTROLLER_LOGGING_LEVEL=INFO
#EMGAUWA_CORE_LOGGING_LEVEL=INFO
#EMGAUWA_CORE_LOGGING_LEVEL=INFO

View file

@ -1,8 +1,6 @@
use std::process::{exit, Command};
fn main() {
println!("cargo:rustc-env=DATABASE_URL=sqlite://emgauwa-core.sqlite");
println!("cargo:rerun-if-changed=../api.v1.yaml");
let output = Command::new("sh")
.arg("-c")

View file

@ -1,4 +1,3 @@
fn main() {
println!("cargo:rerun-if-changed=migrations");
println!("cargo:rustc-env=DATABASE_URL=sqlite://emgauwa-dev.sqlite");
}