try to update SQLite estateban

This commit is contained in:
UbitUmarov
2019-08-18 20:35:24 +01:00
parent d5db4b9d93
commit 7f52bcbc7f
2 changed files with 16 additions and 6 deletions

View File

@@ -63,7 +63,16 @@ CREATE TABLE IF NOT EXISTS estateban (
bannedIpHostMask varchar(16) NOT NULL,
bannedNameMask varchar(64) default NULL
);
CREATE INDEX estate_ban_estate_id on estateban(EstateID);
COMMIT;
:VERSION 11
BEGIN;
ALTER TABLE `estateban`
ADD COLUMN `banningUUID` varchar(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
ADD COLUMN `banTime` integer NOT NULL DEFAULT 0;
COMMIT;