|
@@ -109,7 +109,7 @@ ALTER TABLE gradebook_link ADD COLUMN evaluation_type_id INT NOT NULL DEFAULT 0;
|
|
|
|
|
|
INSERT INTO settings_options(variable,value,display_text) VALUES ('last_transaction_id','0');
|
|
|
|
|
|
-CREATE TABLE migration_transaction (id int not null AUTO_INCREMENT, branch_id int not null default 0, action char(20), item_id char(36), orig_id char(36), dest_id char(36), status_id tinyint not null default 0, time_insert datetime NOT NULL DEFAULT '0000-00-00 00:00:00', time_update datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (id, branch_id));
|
|
|
+CREATE TABLE migration_transaction (id bigint unsigned not null AUTO_INCREMENT, transaction_id bigint unsigned, branch_id int not null default 0, action char(20), item_id char(36), orig_id char(36), dest_id char(36), status_id tinyint not null default 0, time_insert datetime NOT NULL DEFAULT '0000-00-00 00:00:00', time_update datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (id, transaction_id, branch_id));
|
|
|
CREATE TABLE migration_transaction_status ( id tinyint not null PRIMARY KEY AUTO_INCREMENT, title char(20));
|
|
|
INSERT INTO migration_transaction_status VALUES (1, 'To be executed'), (2, 'Executed successfully'), (3, 'Execution deprecated'), (4, 'Execution failed');
|
|
|
|
|
@@ -117,4 +117,4 @@ INSERT INTO migration_transaction_status VALUES (1, 'To be executed'), (2, 'Exec
|
|
|
|
|
|
|
|
|
-- Do not move this
|
|
|
-UPDATE settings_current SET selected_value = '1.10.0.20339' WHERE variable = 'chamilo_database_version';
|
|
|
+UPDATE settings_current SET selected_value = '1.10.0.20356' WHERE variable = 'chamilo_database_version';
|