define database::kCurrentDbVersion publicly

This commit is contained in:
Hailey Somerville
2024-02-05 22:32:33 +11:00
parent f2df12836f
commit 44d848ac66
2 changed files with 2 additions and 1 deletions
-1
View File
@@ -56,7 +56,6 @@ static SingletonEnv<leveldb::EspEnv> sEnv;
static const char kDbPath[] = "/.tangara-db"; static const char kDbPath[] = "/.tangara-db";
static const char kKeyDbVersion[] = "schema_version"; static const char kKeyDbVersion[] = "schema_version";
static const uint8_t kCurrentDbVersion = 5;
static const char kKeyCustom[] = "U\0"; static const char kKeyCustom[] = "U\0";
static const char kKeyCollator[] = "collator"; static const char kKeyCollator[] = "collator";
+2
View File
@@ -35,6 +35,8 @@
namespace database { namespace database {
const uint8_t kCurrentDbVersion = 5;
struct SearchKey; struct SearchKey;
class Record; class Record;
class Iterator; class Iterator;