mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
feat(init::schema) init database schema
This commit is contained in:
6 files changed
+71
-13
No files matched your search
@@ -1,4 +1,6 @@
|
||||
pub fn task() {
|
||||
use sqlx::{Pool, Postgres};
|
||||
|
||||
pub fn task(db_connection: &Pool<Postgres>) {
|
||||
// get dir
|
||||
// let git_work_dir_path = &env::var("GIT_WORK_DIR").unwrap_or_else(|e| {
|
||||
// if let Ok(default_log_path) = env::var("WORK_DIR") {
|
||||
|
||||
Reference in new issue
Block a user