feat(init::schema) init database schema

This commit is contained in:
lumither committed 2024-11-20 21:38:36 -08:00
1 parent 7f400470ff
commit 99a19d8d9e
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") {