Skip to content

Commit 61c6b55

Browse files
Resolve clash in DB version
1 parent 79c7216 commit 61c6b55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/SQLHelper.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#define __STDC_FORMAT_MACROS
3535
#include <inttypes.h>
3636

37-
#define DB_VERSION 132
37+
#define DB_VERSION 133
3838

3939
extern http::server::CWebServerHelper m_webservers;
4040
extern std::string szWWWFolder;
@@ -2567,7 +2567,7 @@ bool CSQLHelper::OpenDatabase()
25672567
{
25682568
query("DROP TABLE IF EXISTS [EventActions]");
25692569
}
2570-
if (dbversion < 132)
2570+
if (dbversion < 133)
25712571
{
25722572
query("ALTER TABLE Hardware RENAME TO tmp_Hardware;");
25732573
query(sqlCreateHardware);

0 commit comments

Comments
 (0)