mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-03 11:57:13 +00:00
Update column names in SQLite patch file
According to the current schema. Change-Id: Ie044a4217db7ef52c6e3a2cec001f6b44b198bd7
This commit is contained in:
parent
9c3b122b83
commit
5580c7714a
|
@ -12,15 +12,16 @@ CREATE TABLE /*_*/echo_event (
|
|||
event_variant varchar(64) binary null,
|
||||
event_agent_id int unsigned null, -- The user who triggered it, if any
|
||||
event_agent_ip varchar(39) binary null, -- IP address who triggered it, if any
|
||||
event_page_title varchar(255) binary null,
|
||||
event_extra BLOB NULL
|
||||
event_extra BLOB NULL,
|
||||
event_page_id int unsigned null,
|
||||
event_deleted tinyint unsigned not null default 0
|
||||
) /*$wgDBTableOptions*/;
|
||||
|
||||
-- Copy over all the old data into the new table
|
||||
INSERT INTO /*_*/echo_event
|
||||
(event_id, event_type, event_variant, event_agent_id, event_agent_ip, event_page_title, event_extra)
|
||||
(event_id, event_type, event_variant, event_agent_id, event_agent_ip, event_extra, event_page_id, event_deleted)
|
||||
SELECT
|
||||
event_id, event_type, event_variant, event_agent_id, event_agent_ip, event_page_title, event_extra
|
||||
event_id, event_type, event_variant, event_agent_id, event_agent_ip, event_extra, event_page_id, event_deleted
|
||||
FROM
|
||||
/*_*/temp_echo_event_variant_nullability;
|
||||
|
||||
|
|
Loading…
Reference in a new issue