define database::kCurrentDbVersion publicly
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user