diff --git a/src/db/idb.c b/src/db/idb.c index 7cf03dd..f5bd8c2 100644 --- a/src/db/idb.c +++ b/src/db/idb.c @@ -147,9 +147,9 @@ Result(Table*) idb_getOrCreateTable(IncrementalDB* db, str _table_name, u32 row_ t->db = db; t->name = table_name_null_terminated; t->table_file_path = str_from_cstr( - strcat_malloc(db->db_dir.data, path_seps, t->name.data, ".table.idb")); + strcat_malloc(db->db_dir.data, path_seps, t->name.data, ".idb-table")); t->changes_file_path = str_from_cstr( - strcat_malloc(db->db_dir.data, path_seps, t->name.data, ".changes.idb")); + strcat_malloc(db->db_dir.data, path_seps, t->name.data, ".idb-changes")); bool table_exists = file_exists(t->table_file_path.data);