We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed9fe61 commit cd4e7eeCopy full SHA for cd4e7ee
sql/migration5.sql
@@ -0,0 +1,4 @@
1
+BEGIN TRANSACTION;
2
+-- New Column
3
+ALTER TABLE Accounts ADD Email TEXT DEFAULT '' NOT NULL;
4
+COMMIT;
sql/tables.sql
@@ -9,6 +9,7 @@ CREATE TABLE IF NOT EXISTS Accounts (
9
BannedUntil INTEGER DEFAULT 0 NOT NULL,
10
BannedSince INTEGER DEFAULT 0 NOT NULL,
11
BanReason TEXT DEFAULT '' NOT NULL,
12
+ Email TEXT DEFAULT '' NOT NULL,
13
PRIMARY KEY(AccountID AUTOINCREMENT)
14
);
15
src/db/Database.hpp
@@ -5,7 +5,7 @@
5
#include <string>
6
#include <vector>
7
8
-#define DATABASE_VERSION 5
+#define DATABASE_VERSION 6
namespace Database {
0 commit comments