|
@@ -1,5 +1,5 @@
|
|
|
-- This script updates the databases structure before migrating the data from
|
|
|
--- version 1.8.3 to version 1.8.4
|
|
|
+-- version 1.8.4 to version 1.8.5
|
|
|
-- it is intended as a standalone script, however, because of the multiple
|
|
|
-- databases related difficulties, it should be parsed by a PHP script in
|
|
|
-- order to connect to and update the right databases.
|
|
@@ -26,5 +26,5 @@ INSERT INTO settings_current (variable, subkey, type, category, selected_value,
|
|
|
-- xxUSERxx
|
|
|
|
|
|
-- xxCOURSExx
|
|
|
-CREATE TABLE lp_iv_interaction(id bigint unsigned primary key auto_increment, lp_iv_id bigint unsigned not null, order_id smallint unsigned not null default 0, objective_id varchar(255) not null default '', score_raw float unsigned not null default 0, score_max float unsigned not null default 0, score_min float unsigned not null default 0, status char(32) not null default 'not attempted');
|
|
|
-ALTER TABLE lp_iv_interaction ADD INDEX (lp_iv_id);
|
|
|
+CREATE TABLE lp_iv_objective(id bigint unsigned primary key auto_increment, lp_iv_id bigint unsigned not null, order_id smallint unsigned not null default 0, objective_id varchar(255) not null default '', score_raw float unsigned not null default 0, score_max float unsigned not null default 0, score_min float unsigned not null default 0, status char(32) not null default 'not attempted');
|
|
|
+ALTER TABLE lp_iv_objective ADD INDEX (lp_iv_id);
|