Commit ce14b10aded16564e72c92670828e997505acdb8

Authored by Paul Barrett
1 parent cb65c965

Added SQL files required for proper operation of download notification

Story ID:1086688. Notification on completion of bulk download

Committed by: Paul Barrett
sql/mysql/install/structure.sql
@@ -648,7 +648,7 @@ CREATE TABLE `download_queue` ( @@ -648,7 +648,7 @@ CREATE TABLE `download_queue` (
648 `code` char(16) NOT NULL, 648 `code` char(16) NOT NULL,
649 `folder_id` int(11) NOT NULL, 649 `folder_id` int(11) NOT NULL,
650 `object_id` int(11) NOT NULL, 650 `object_id` int(11) NOT NULL,
651 - `object_type` enum('document', 'folder') NOT NULL default 'folder', 651 + `object_type` enum('document', 'folder', 'zip') NOT NULL default 'folder',
652 `user_id` int(11) NOT NULL, 652 `user_id` int(11) NOT NULL,
653 `date_added` timestamp NOT NULL default CURRENT_TIMESTAMP, 653 `date_added` timestamp NOT NULL default CURRENT_TIMESTAMP,
654 `status` tinyint(4) NOT NULL default 0, 654 `status` tinyint(4) NOT NULL default 0,
sql/mysql/upgrade/3.7.0.3/download_queue_zip.sql 0 → 100644
  1 +ALTER TABLE download_queue MODIFY object_type ENUM ('document', 'folder', 'zip') NOT NULL DEFAULT 'folder';
0 \ No newline at end of file 2 \ No newline at end of file