Skip to content

Commit

Permalink
chore: shift sqlite db location
Browse files Browse the repository at this point in the history
  • Loading branch information
BRAVO68WEB committed Jun 12, 2024
1 parent ba63c65 commit 1e0ad3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dbgen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct Database {

#[tokio::main]
async fn main() {
let db_result = Builder::new_local("local.db").build().await;
let db_result = Builder::new_local("db/local.db").build().await;
let db = db_result.expect("Failed to build the database");
let client = db.connect().expect("Failed to connect to the database");

Expand Down
1 change: 1 addition & 0 deletions scripts/get_pkgs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ mkdir -p pkgs/multilib
mkdir -p pkgs/chaotic-aur
mkdir -p pkgs/blackarch
mkdir -p pkgs/mingw64
mkdir -p db
echo "Directories created"

echo "Extracting Databases"
Expand Down

0 comments on commit 1e0ad3b

Please sign in to comment.