mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-12-22 11:20:05 +00:00
Add Email column to Account table
This commit is contained in:
parent
ed9fe61faf
commit
cd4e7ee159
4
sql/migration5.sql
Normal file
4
sql/migration5.sql
Normal file
@ -0,0 +1,4 @@
|
||||
BEGIN TRANSACTION;
|
||||
-- New Column
|
||||
ALTER TABLE Accounts ADD Email TEXT DEFAULT '' NOT NULL;
|
||||
COMMIT;
|
@ -9,6 +9,7 @@ CREATE TABLE IF NOT EXISTS Accounts (
|
||||
BannedUntil INTEGER DEFAULT 0 NOT NULL,
|
||||
BannedSince INTEGER DEFAULT 0 NOT NULL,
|
||||
BanReason TEXT DEFAULT '' NOT NULL,
|
||||
Email TEXT DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY(AccountID AUTOINCREMENT)
|
||||
);
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#define DATABASE_VERSION 5
|
||||
#define DATABASE_VERSION 6
|
||||
|
||||
namespace Database {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user