Skip to content

Commit

Permalink
Create db project folder for databases. Databases will be ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
Umur Ozkul committed Mar 10, 2023
1 parent aa808c7 commit bb4e522
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions db/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*
Empty file added db/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion src/db/server/rocks_db_accessor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub struct RocksDbAccessor {
impl Default for RocksDbAccessor {
fn default() -> Self {
// Define the default path for the database
let db_path = "./ondo_rocksdb";
let db_path = "./db/ondo_rocksdb";

// Create options for the RocksDB instance
let mut options = Options::default();
Expand Down

0 comments on commit bb4e522

Please sign in to comment.