From 71498256f6dc91e9b70f35c3c0bd0867a1f7a82b Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Mon, 29 Apr 2024 02:09:29 +0200 Subject: [PATCH] Update sqlx handling --- .env.example | 4 +--- ...fe12a7a37ef509f50954509557ec985c996960da2.json | Bin 0 -> 833 bytes emgauwa-core/build.rs | 2 -- emgauwa-lib/build.rs | 1 - 4 files changed, 1 insertion(+), 6 deletions(-) create mode 100644 .sqlx/query-772c710d542c7f5aaa49069fe12a7a37ef509f50954509557ec985c996960da2.json diff --git a/.env.example b/.env.example index d3e5feb..fb629ae 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,3 @@ -DATABASE_URL=sqlite://emgauwa-dev.sqlite - #EMGAUWA_CONTROLLER_LOGGING_LEVEL=INFO -#EMGAUWA_CORE_LOGGING_LEVEL=INFO \ No newline at end of file +#EMGAUWA_CORE_LOGGING_LEVEL=INFO diff --git a/.sqlx/query-772c710d542c7f5aaa49069fe12a7a37ef509f50954509557ec985c996960da2.json b/.sqlx/query-772c710d542c7f5aaa49069fe12a7a37ef509f50954509557ec985c996960da2.json new file mode 100644 index 0000000000000000000000000000000000000000..6915ce7920e8c9c3df5cb1e450b130536602b792 GIT binary patch literal 833 zcmbtSO-sZu5WVlO2sw&}w%ZRQh=^7cR>f8DAW~+NsSRe+wI4`X_P?8?&CLaM15L@B zd2c3pvz-w_#j4P-MtVx<)8j&RNRKW2*<&*}Fkj@C&*X?)FCXs68hBF|z&ly%mb~2L z%Y4G5AZO&9T-;xgFT@W4gFTO80$bk5l`XP0;zpj=s$c8Y0Iv=pQ@{m%KT`t6k&{lRFb`|1tr9m<1^-F^nLCd4^>YF#9F3-I5GB QJ4rZWDN6$Z5uNR3-#^I64*&oF literal 0 HcmV?d00001 diff --git a/emgauwa-core/build.rs b/emgauwa-core/build.rs index 443df4c..27e067f 100644 --- a/emgauwa-core/build.rs +++ b/emgauwa-core/build.rs @@ -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") diff --git a/emgauwa-lib/build.rs b/emgauwa-lib/build.rs index 65d8d11..827c260 100644 --- a/emgauwa-lib/build.rs +++ b/emgauwa-lib/build.rs @@ -1,4 +1,3 @@ fn main() { println!("cargo:rerun-if-changed=migrations"); - println!("cargo:rustc-env=DATABASE_URL=sqlite://emgauwa-dev.sqlite"); }