Fix SQLite syntax errors

The sync up made in I026472dec2629a969c46feb046f7fe64d8ab8144 introduced
several syntax errors for SQLite installer. They should now be all fixed.

Change-Id: I5fbe8b3719abef68d2549f119720b02fdd747a06
This commit is contained in:
Daimona Eaytoy 2018-06-26 14:50:57 +02:00
parent 240e264833
commit 61be1e9149

View file

@ -14,8 +14,8 @@ CREATE TABLE /*$wgDBprefix*/abuse_filter (
af_throttled tinyint(1) NOT NULL default 0,
af_deleted tinyint(1) NOT NULL DEFAULT 0,
af_actions varbinary(255) NOT NULL DEFAULT '',
af_global tinyint(1) NOT NULL DEFAULT 0
af_group varbinary(64) binary NOT NULL DEFAULT 'default'
af_global tinyint(1) NOT NULL DEFAULT 0,
af_group varbinary(64) NOT NULL DEFAULT 'default'
) /*$wgDBTableOptions*/;
CREATE INDEX af_user ON /*$wgDBprefix*/abuse_filter (af_user);
CREATE INDEX af_group_enabled ON /*$wgDBprefix*/abuse_filter (af_group,af_enabled,af_id);
@ -44,7 +44,7 @@ CREATE TABLE /*$wgDBprefix*/abuse_filter_log (
afl_wiki varbinary(64) NULL,
afl_deleted tinyint(1) NOT NULL DEFAULT 0,
afl_patrolled_by int unsigned NULL,
afl_rev_id int unsigned,
afl_rev_id int unsigned,
afl_log_id int unsigned
) /*$wgDBTableOptions*/;
CREATE INDEX afl_filter_timestamp ON /*$wgDBprefix*/abuse_filter_log (afl_filter,afl_timestamp);
@ -53,8 +53,8 @@ CREATE INDEX afl_timestamp ON /*$wgDBprefix*/abuse_filter_log (afl_timestamp);
CREATE INDEX afl_page_timestamp ON /*$wgDBprefix*/abuse_filter_log (afl_namespace, afl_title, afl_timestamp);
CREATE INDEX afl_ip_timestamp ON /*$wgDBprefix*/abuse_filter_log (afl_ip, afl_timestamp);
CREATE INDEX afl_wiki_timestamp ON /*$wgDBprefix*/abuse_filter_log (afl_wiki, afl_timestamp);
CREATE INDEX afl_rev_id ON /*$wgDBprefix*/abuse_filter_log KEY (afl_rev_id);
CREATE INDEX afl_log_id ON /*$wgDBprefix*/abuse_filter_log KEY (afl_log_id);
CREATE INDEX afl_rev_id ON /*$wgDBprefix*/abuse_filter_log (afl_rev_id);
CREATE INDEX afl_log_id ON /*$wgDBprefix*/abuse_filter_log (afl_log_id);
CREATE TABLE /*$wgDBprefix*/abuse_filter_history (
afh_id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
@ -68,8 +68,8 @@ CREATE TABLE /*$wgDBprefix*/abuse_filter_history (
afh_public_comments TINYBLOB,
afh_actions BLOB,
afh_deleted tinyint(1) NOT NULL DEFAULT 0,
afh_changed_fields varbinary(255) NOT NULL DEFAULT ''
afh_group varchar(64) binary NULL
afh_changed_fields varbinary(255) NOT NULL DEFAULT '',
afh_group varbinary(64) NULL
) /*$wgDBTableOptions*/;
CREATE INDEX afh_filter ON /*$wgDBprefix*/abuse_filter_history (afh_filter);
CREATE INDEX afh_user ON /*$wgDBprefix*/abuse_filter_history (afh_user);