Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # server1 on <server>: ... connected.
- # server2 on <server>: ... connected.
- # Comparing `mahara` to `maharatest` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- - CREATE DATABASE `mahara` /*!40100 DEFAULT CHARACTER SET utf8 */
- + CREATE DATABASE `maharatest` /*!40100 DEFAULT CHARACTER SET utf8 */
- ? ++++
- # Comparing `mahara`.`activity_queue` to `maharatest`.`activity_queue` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=242
- # ? ^^^
- # + AUTO_INCREMENT=6
- # ? ^
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`activity_type` to `maharatest`.`activity_type` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `activity_type` (
- `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `name` varchar(50) NOT NULL,
- `admin` tinyint(1) NOT NULL DEFAULT '0',
- `delay` tinyint(1) NOT NULL DEFAULT '1',
- - `allownonemethod` varchar(255) NOT NULL DEFAULT '1',
- ? ^^^^^^^ ^^^
- + `allownonemethod` tinyint(1) NOT NULL DEFAULT '1',
- ? ^^^^^^^ ^
- `defaultmethod` varchar(255) DEFAULT 'email',
- `plugintype` varchar(25) DEFAULT NULL,
- `pluginname` varchar(255) DEFAULT NULL,
- PRIMARY KEY (`id`),
- UNIQUE KEY `actitype_nampluplu_uk` (`name`,`plugintype`,`pluginname`)
- )
- # Comparing `mahara`.`application` to `maharatest`.`application` [PASS]
- # Comparing `mahara`.`archived_submissions` to `maharatest`.`archived_submissions` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `archived_submissions` (
- `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `archiveid` bigint(10) NOT NULL,
- - `group` bigint(10) DEFAULT NULL,
- ? ^^^^^^
- + `group` bigint(10) NOT NULL,
- ? ^^
- `externalhost` varchar(50) DEFAULT NULL,
- `externalid` varchar(255) DEFAULT NULL,
- PRIMARY KEY (`id`),
- + KEY `archsubm_arc_ix` (`archiveid`),
- KEY `archsubm_gro_ix` (`group`),
- - KEY `archsubm_arc_ix` (`archiveid`),
- CONSTRAINT `archsubm_arc_fk` FOREIGN KEY (`archiveid`) REFERENCES `export_archive` (`id`),
- CONSTRAINT `archsubm_gro_fk` FOREIGN KEY (`group`) REFERENCES `group` (`id`)
- )
- # Comparing `mahara`.`artefact` to `maharatest`.`artefact` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=42438
- # ? ^ ---
- # + AUTO_INCREMENT=12
- # ? ^
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`artefact_access` to `maharatest`.`artefact_access` [PASS]
- # Comparing `mahara`.`artefact_access_role` to `maharatest`.`artefact_access_role` [PASS]
- # Comparing `mahara`.`artefact_access_usr` to `maharatest`.`artefact_access_usr` [PASS]
- # Comparing `mahara`.`artefact_attachment` to `maharatest`.`artefact_attachment` [PASS]
- # Comparing `mahara`.`artefact_blog_blogpost` to `maharatest`.`artefact_blog_blogpost` [PASS]
- # Comparing `mahara`.`artefact_comment_comment` to `maharatest`.`artefact_comment_comment` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `artefact_comment_comment` (
- `artefact` bigint(10) NOT NULL,
- `onview` bigint(10) DEFAULT NULL,
- `onartefact` bigint(10) DEFAULT NULL,
- `private` tinyint(1) unsigned NOT NULL DEFAULT '0',
- `deletedby` varchar(50) DEFAULT NULL,
- `requestpublic` varchar(50) DEFAULT NULL,
- - `rating` bigint(10) unsigned DEFAULT NULL,
- ? ---------
- + `rating` bigint(10) DEFAULT NULL,
- `lastcontentupdate` datetime DEFAULT NULL,
- PRIMARY KEY (`artefact`),
- KEY `artecommcomm_art_ix` (`artefact`),
- KEY `artecommcomm_onv_ix` (`onview`),
- KEY `artecommcomm_ona_ix` (`onartefact`),
- KEY `artecommcomm_del_ix` (`deletedby`),
- KEY `artecommcomm_req_ix` (`requestpublic`),
- CONSTRAINT `artecommcomm_art_fk` FOREIGN KEY (`artefact`) REFERENCES `artefact` (`id`),
- CONSTRAINT `artecommcomm_del_fk` FOREIGN KEY (`deletedby`) REFERENCES `artefact_comment_deletedby` (`name`),
- CONSTRAINT `artecommcomm_ona_fk` FOREIGN KEY (`onartefact`) REFERENCES `artefact` (`id`),
- CONSTRAINT `artecommcomm_onv_fk` FOREIGN KEY (`onview`) REFERENCES `view` (`id`),
- CONSTRAINT `artecommcomm_req_fk` FOREIGN KEY (`requestpublic`) REFERENCES `artefact_comment_deletedby` (`name`)
- )
- # Comparing `mahara`.`artefact_comment_deletedby` to `maharatest`.`artefact_comment_deletedby` [PASS]
- # Comparing `mahara`.`artefact_config` to `maharatest`.`artefact_config` [PASS]
- # Comparing `mahara`.`artefact_cron` to `maharatest`.`artefact_cron` [PASS]
- # Comparing `mahara`.`artefact_event_subscription` to `maharatest`.`artefact_event_subscription` [PASS]
- # Comparing `mahara`.`artefact_file_files` to `maharatest`.`artefact_file_files` [PASS]
- # Comparing `mahara`.`artefact_file_image` to `maharatest`.`artefact_file_image` [PASS]
- # Comparing `mahara`.`artefact_file_mime_types` to `maharatest`.`artefact_file_mime_types` [PASS]
- # Comparing `mahara`.`artefact_installed` to `maharatest`.`artefact_installed` [PASS]
- # Comparing `mahara`.`artefact_installed_type` to `maharatest`.`artefact_installed_type` [PASS]
- # Comparing `mahara`.`artefact_internal_profile_email` to `maharatest`.`artefact_internal_profile_email` [PASS]
- # Comparing `mahara`.`artefact_license` to `maharatest`.`artefact_license` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `artefact_license` (
- `name` varchar(255) NOT NULL,
- `displayname` varchar(255) DEFAULT NULL,
- `shortname` varchar(255) DEFAULT NULL,
- - `icon` varchar(255) DEFAULT NULL,
- ? ^^^^^^
- + `icon` varchar(255) NOT NULL,
- ? ^^
- PRIMARY KEY (`name`)
- )
- # Comparing `mahara`.`artefact_log` to `maharatest`.`artefact_log` [PASS]
- # Comparing `mahara`.`artefact_multirecipient_notification` to `maharatest`.`artefact_multirecipient_notification` [PASS]
- # Comparing `mahara`.`artefact_multirecipient_userrelation` to `maharatest`.`artefact_multirecipient_userrelation` [PASS]
- # Comparing `mahara`.`artefact_plans_task` to `maharatest`.`artefact_plans_task` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=36144
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`artefact_resume_book` to `maharatest`.`artefact_resume_book` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `artefact_resume_book` (
- `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `artefact` bigint(10) NOT NULL,
- `date` text NOT NULL,
- `title` text NOT NULL,
- `contribution` text NOT NULL,
- `description` text,
- + `url` text,
- `displayorder` bigint(10) NOT NULL,
- - `url` text,
- PRIMARY KEY (`id`),
- KEY `arteresubook_art_ix` (`artefact`),
- CONSTRAINT `arteresubook_art_fk` FOREIGN KEY (`artefact`) REFERENCES `artefact` (`id`)
- )
- # Comparing `mahara`.`artefact_resume_certification` to `maharatest`.`artefact_resume_certification` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=562
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`artefact_resume_educationhistory` to `maharatest`.`artefact_resume_educationhistory` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=1192
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`artefact_resume_employmenthistory` to `maharatest`.`artefact_resume_employmenthistory` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=451
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`artefact_resume_membership` to `maharatest`.`artefact_resume_membership` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=52
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`artefact_resume_personal_information` to `maharatest`.`artefact_resume_personal_information` [PASS]
- # Comparing `mahara`.`artefact_tag` to `maharatest`.`artefact_tag` [PASS]
- # Comparing `mahara`.`auth_config` to `maharatest`.`auth_config` [PASS]
- # Comparing `mahara`.`auth_cron` to `maharatest`.`auth_cron` [PASS]
- # Comparing `mahara`.`auth_event_subscription` to `maharatest`.`auth_event_subscription` [PASS]
- # Comparing `mahara`.`auth_installed` to `maharatest`.`auth_installed` [PASS]
- # Comparing `mahara`.`auth_instance` to `maharatest`.`auth_instance` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=4
- # ? ^
- # + AUTO_INCREMENT=7
- # ? ^
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`auth_instance_config` to `maharatest`.`auth_instance_config` [PASS]
- # Comparing `mahara`.`auth_remote_user` to `maharatest`.`auth_remote_user` [PASS]
- # Comparing `mahara`.`block_instance` to `maharatest`.`block_instance` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `block_instance` (
- `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `blocktype` varchar(255) NOT NULL,
- `title` varchar(255) NOT NULL,
- `configdata` text,
- `view` bigint(10) NOT NULL,
- + `row` tinyint(2) NOT NULL DEFAULT '1',
- `column` tinyint(2) NOT NULL,
- `order` tinyint(2) NOT NULL,
- - `row` tinyint(2) NOT NULL DEFAULT '1',
- PRIMARY KEY (`id`),
- UNIQUE KEY `blocinst_vierowcolord_uk` (`view`,`row`,`column`,`order`),
- KEY `blocinst_blo_ix` (`blocktype`),
- KEY `blocinst_vie_ix` (`view`),
- CONSTRAINT `blocinst_blo_fk` FOREIGN KEY (`blocktype`) REFERENCES `blocktype_installed` (`name`),
- CONSTRAINT `blocinst_vie_fk` FOREIGN KEY (`view`) REFERENCES `view` (`id`)
- )
- # Comparing `mahara`.`blocktype_category` to `maharatest`.`blocktype_category` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `blocktype_category` (
- `name` varchar(50) NOT NULL,
- - `sort` tinyint(2) unsigned DEFAULT NULL,
- ? ---------
- + `sort` tinyint(2) DEFAULT NULL,
- PRIMARY KEY (`name`),
- UNIQUE KEY `bloccate_sor_uix` (`sort`)
- )
- # Comparing `mahara`.`blocktype_config` to `maharatest`.`blocktype_config` [PASS]
- # Comparing `mahara`.`blocktype_cron` to `maharatest`.`blocktype_cron` [PASS]
- # Comparing `mahara`.`blocktype_event_subscription` to `maharatest`.`blocktype_event_subscription` [PASS]
- # Comparing `mahara`.`blocktype_externalfeed_data` to `maharatest`.`blocktype_externalfeed_data` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `blocktype_externalfeed_data` (
- `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `url` text NOT NULL,
- + `insecuresslmode` tinyint(1) NOT NULL DEFAULT '0',
- + `authuser` text,
- + `authpassword` text,
- `link` text,
- `title` text,
- `description` text,
- `content` longtext,
- `lastupdate` datetime DEFAULT NULL,
- `image` text,
- - `authuser` text,
- - `authpassword` text,
- - `insecuresslmode` tinyint(1) NOT NULL DEFAULT '0',
- PRIMARY KEY (`id`),
- KEY `blocextedata_urlautaut_ix` (`url`(255),`authuser`(255),`authpassword`(255))
- )
- # Comparing `mahara`.`blocktype_installed` to `maharatest`.`blocktype_installed` [PASS]
- # Comparing `mahara`.`blocktype_installed_category` to `maharatest`.`blocktype_installed_category` [PASS]
- # Comparing `mahara`.`blocktype_installed_viewtype` to `maharatest`.`blocktype_installed_viewtype` [PASS]
- # Comparing `mahara`.`blocktype_wall_post` to `maharatest`.`blocktype_wall_post` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=151
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`collection` to `maharatest`.`collection` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=298
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`collection_tag` to `maharatest`.`collection_tag` [PASS]
- # Comparing `mahara`.`collection_view` to `maharatest`.`collection_view` [PASS]
- # Comparing `mahara`.`config` to `maharatest`.`config` [PASS]
- # Comparing `mahara`.`cron` to `maharatest`.`cron` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=29
- # ? ^
- # + AUTO_INCREMENT=27
- # ? ^
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`event_log` to `maharatest`.`event_log` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `event_log` (
- `usr` bigint(10) NOT NULL,
- `realusr` bigint(10) NOT NULL,
- + `time` datetime NOT NULL,
- - `event` varchar(255) NOT NULL,
- ? ^^
- + `event` varchar(255) DEFAULT NULL,
- ? ^^^^^^
- `data` text,
- - `time` datetime NOT NULL,
- KEY `evenlog_usr_ix` (`usr`),
- KEY `evenlog_rea_ix` (`realusr`),
- CONSTRAINT `evenlog_rea_fk` FOREIGN KEY (`realusr`) REFERENCES `usr` (`id`),
- CONSTRAINT `evenlog_usr_fk` FOREIGN KEY (`usr`) REFERENCES `usr` (`id`)
- )
- # Comparing `mahara`.`event_subscription` to `maharatest`.`event_subscription` [PASS]
- # Comparing `mahara`.`event_type` to `maharatest`.`event_type` [PASS]
- # Comparing `mahara`.`export_archive` to `maharatest`.`export_archive` [PASS]
- # Comparing `mahara`.`export_config` to `maharatest`.`export_config` [PASS]
- # Comparing `mahara`.`export_cron` to `maharatest`.`export_cron` [PASS]
- # Comparing `mahara`.`export_event_subscription` to `maharatest`.`export_event_subscription` [PASS]
- # Comparing `mahara`.`export_installed` to `maharatest`.`export_installed` [PASS]
- # Comparing `mahara`.`export_queue` to `maharatest`.`export_queue` [PASS]
- # Comparing `mahara`.`export_queue_items` to `maharatest`.`export_queue_items` [PASS]
- # Comparing `mahara`.`favorite` to `maharatest`.`favorite` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `favorite` (
- `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `owner` bigint(10) NOT NULL,
- `shortname` varchar(255) NOT NULL,
- `institution` varchar(255) DEFAULT NULL,
- - `ctime` datetime DEFAULT NULL,
- ? ^^^^^^
- + `ctime` datetime NOT NULL,
- ? ^^
- - `mtime` datetime DEFAULT NULL,
- ? ^^^^^^
- + `mtime` datetime NOT NULL,
- ? ^^
- PRIMARY KEY (`id`),
- UNIQUE KEY `favo_ownsho_uix` (`owner`,`shortname`),
- KEY `favo_own_ix` (`owner`),
- KEY `favo_ins_ix` (`institution`),
- CONSTRAINT `favo_ins_fk` FOREIGN KEY (`institution`) REFERENCES `institution` (`name`),
- CONSTRAINT `favo_own_fk` FOREIGN KEY (`owner`) REFERENCES `usr` (`id`)
- )
- # Comparing `mahara`.`favorite_usr` to `maharatest`.`favorite_usr` [PASS]
- # Comparing `mahara`.`group` to `maharatest`.`group` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `group` (
- `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `name` varchar(128) NOT NULL,
- `description` text,
- `grouptype` varchar(20) NOT NULL,
- `jointype` enum('open','controlled','approve') NOT NULL DEFAULT 'open',
- `ctime` datetime NOT NULL,
- `mtime` datetime NOT NULL,
- `public` tinyint(1) NOT NULL DEFAULT '0',
- `usersautoadded` tinyint(1) NOT NULL DEFAULT '0',
- `deleted` tinyint(1) NOT NULL DEFAULT '0',
- `category` bigint(10) DEFAULT NULL,
- `viewnotify` tinyint(1) NOT NULL DEFAULT '1',
- `quota` bigint(10) DEFAULT NULL,
- `quotaused` bigint(10) NOT NULL DEFAULT '0',
- `institution` varchar(255) DEFAULT NULL,
- `shortname` varchar(255) DEFAULT NULL,
- `request` tinyint(1) NOT NULL DEFAULT '0',
- `submittableto` tinyint(1) NOT NULL DEFAULT '0',
- `editroles` enum('all','notmember','admin') NOT NULL DEFAULT 'all',
- `hidden` tinyint(1) NOT NULL DEFAULT '0',
- `hidemembers` tinyint(1) NOT NULL DEFAULT '0',
- `hidemembersfrommembers` tinyint(1) NOT NULL DEFAULT '0',
- + `groupparticipationreports` tinyint(1) NOT NULL DEFAULT '0',
- `invitefriends` tinyint(1) NOT NULL DEFAULT '0',
- `suggestfriends` tinyint(1) NOT NULL DEFAULT '0',
- `urlid` varchar(30) DEFAULT NULL,
- - `groupparticipationreports` tinyint(1) NOT NULL DEFAULT '0',
- `editwindowstart` datetime DEFAULT NULL,
- `editwindowend` datetime DEFAULT NULL,
- `sendnow` tinyint(1) NOT NULL DEFAULT '0',
- `feedbacknotify` tinyint(1) NOT NULL DEFAULT '1',
- `allowarchives` tinyint(1) NOT NULL DEFAULT '0',
- PRIMARY KEY (`id`),
- UNIQUE KEY `grou_nam_uk` (`name`),
- UNIQUE KEY `grou_inssho_uix` (`institution`,`shortname`),
- UNIQUE KEY `grou_url_uix` (`urlid`),
- KEY `grou_gro_ix` (`grouptype`),
- KEY `grou_cat_ix` (`category`),
- KEY `grou_ins_ix` (`institution`),
- CONSTRAINT `grou_cat_fk` FOREIGN KEY (`category`) REFERENCES `group_category` (`id`),
- CONSTRAINT `grou_gro_fk` FOREIGN KEY (`grouptype`) REFERENCES `grouptype` (`name`),
- CONSTRAINT `grou_ins_fk` FOREIGN KEY (`institution`) REFERENCES `institution` (`name`)
- )
- # Comparing `mahara`.`group_category` to `maharatest`.`group_category` [PASS]
- # Comparing `mahara`.`group_member` to `maharatest`.`group_member` [PASS]
- # Comparing `mahara`.`group_member_invite` to `maharatest`.`group_member_invite` [PASS]
- # Comparing `mahara`.`group_member_request` to `maharatest`.`group_member_request` [PASS]
- # Comparing `mahara`.`grouptype` to `maharatest`.`grouptype` [PASS]
- # Comparing `mahara`.`grouptype_config` to `maharatest`.`grouptype_config` [PASS]
- # Comparing `mahara`.`grouptype_cron` to `maharatest`.`grouptype_cron` [PASS]
- # Comparing `mahara`.`grouptype_event_subscription` to `maharatest`.`grouptype_event_subscription` [PASS]
- # Comparing `mahara`.`grouptype_installed` to `maharatest`.`grouptype_installed` [PASS]
- # Comparing `mahara`.`grouptype_roles` to `maharatest`.`grouptype_roles` [PASS]
- # Comparing `mahara`.`host` to `maharatest`.`host` [PASS]
- # Comparing `mahara`.`iframe_source` to `maharatest`.`iframe_source` [PASS]
- # Comparing `mahara`.`iframe_source_icon` to `maharatest`.`iframe_source_icon` [PASS]
- # Comparing `mahara`.`import_config` to `maharatest`.`import_config` [PASS]
- # Comparing `mahara`.`import_cron` to `maharatest`.`import_cron` [PASS]
- # Comparing `mahara`.`import_entry_requests` to `maharatest`.`import_entry_requests` [PASS]
- # Comparing `mahara`.`import_event_subscription` to `maharatest`.`import_event_subscription` [PASS]
- # Comparing `mahara`.`import_installed` to `maharatest`.`import_installed` [PASS]
- # Comparing `mahara`.`import_queue` to `maharatest`.`import_queue` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `import_queue` (
- `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `host` varchar(255) NOT NULL,
- `usr` bigint(10) NOT NULL,
- - `queue` tinyint(1) NOT NULL,
- + `queue` tinyint(1) NOT NULL DEFAULT '1',
- ? ++++++++++++
- - `ready` tinyint(1) NOT NULL,
- + `ready` tinyint(1) NOT NULL DEFAULT '0',
- ? ++++++++++++
- `expirytime` datetime NOT NULL,
- `format` varchar(50) DEFAULT NULL,
- `data` text,
- `token` varchar(40) NOT NULL,
- PRIMARY KEY (`id`),
- KEY `impoqueu_usr_ix` (`usr`),
- KEY `impoqueu_hos_ix` (`host`),
- CONSTRAINT `impoqueu_hos_fk` FOREIGN KEY (`host`) REFERENCES `host` (`wwwroot`),
- CONSTRAINT `impoqueu_usr_fk` FOREIGN KEY (`usr`) REFERENCES `usr` (`id`)
- )
- # Comparing `mahara`.`institution` to `maharatest`.`institution` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `institution` (
- + `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `name` varchar(255) NOT NULL,
- - `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `displayname` varchar(255) NOT NULL,
- `registerallowed` tinyint(1) NOT NULL DEFAULT '0',
- `theme` varchar(255) DEFAULT NULL,
- `defaultmembershipperiod` bigint(10) DEFAULT NULL,
- `maxuseraccounts` bigint(10) DEFAULT NULL,
- `expiry` datetime DEFAULT NULL,
- `expirymailsent` tinyint(1) NOT NULL DEFAULT '0',
- `suspended` tinyint(1) NOT NULL DEFAULT '0',
- `priority` bigint(10) NOT NULL DEFAULT '1',
- `defaultquota` bigint(10) DEFAULT NULL,
- `showonlineusers` bigint(10) NOT NULL DEFAULT '2',
- - `allowinstitutionpublicviews` tinyint(1) NOT NULL DEFAULT '1',
- ? ^
- + `allowinstitutionpublicviews` tinyint(1) NOT NULL DEFAULT '0',
- ? ^
- `registerconfirm` tinyint(1) NOT NULL DEFAULT '1',
- `logo` bigint(10) DEFAULT NULL,
- `style` bigint(10) DEFAULT NULL,
- + `licensemandatory` tinyint(1) NOT NULL DEFAULT '0',
- `licensedefault` varchar(255) DEFAULT NULL,
- - `licensemandatory` tinyint(1) NOT NULL DEFAULT '0',
- `dropdownmenu` tinyint(1) NOT NULL DEFAULT '0',
- `skins` tinyint(1) NOT NULL DEFAULT '1',
- PRIMARY KEY (`name`),
- UNIQUE KEY `inst_id_uk` (`id`),
- + KEY `inst_sty_ix` (`style`),
- KEY `inst_log_ix` (`logo`),
- - KEY `inst_sty_ix` (`style`),
- CONSTRAINT `inst_log_fk` FOREIGN KEY (`logo`) REFERENCES `artefact` (`id`),
- CONSTRAINT `inst_sty_fk` FOREIGN KEY (`style`) REFERENCES `style` (`id`)
- )
- # Comparing `mahara`.`institution_config` to `maharatest`.`institution_config` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=6
- # ? ^
- # + AUTO_INCREMENT=11
- # ? ^^
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`institution_data` to `maharatest`.`institution_data` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `institution_data` (
- - `ctime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- + `ctime` datetime NOT NULL,
- - `institution` varchar(255) NOT NULL DEFAULT '',
- ? -----------
- + `institution` varchar(255) NOT NULL,
- `type` varchar(255) NOT NULL,
- `value` text,
- PRIMARY KEY (`ctime`,`institution`,`type`),
- KEY `instdata_ins_ix` (`institution`),
- CONSTRAINT `instdata_ins_fk` FOREIGN KEY (`institution`) REFERENCES `institution` (`name`)
- )
- # Comparing `mahara`.`institution_locked_profile_field` to `maharatest`.`institution_locked_profile_field` [PASS]
- # Comparing `mahara`.`institution_registration` to `maharatest`.`institution_registration` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `institution_registration` (
- `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `time` datetime NOT NULL,
- - `institution` varchar(255) DEFAULT NULL,
- ? ^^^^^^
- + `institution` varchar(255) NOT NULL,
- ? ^^
- PRIMARY KEY (`id`),
- KEY `instregi_ins_ix` (`institution`),
- CONSTRAINT `instregi_ins_fk` FOREIGN KEY (`institution`) REFERENCES `institution` (`name`)
- )
- # Comparing `mahara`.`institution_registration_data` to `maharatest`.`institution_registration_data` [PASS]
- # Comparing `mahara`.`interaction_config` to `maharatest`.`interaction_config` [PASS]
- # Comparing `mahara`.`interaction_cron` to `maharatest`.`interaction_cron` [PASS]
- # Comparing `mahara`.`interaction_event_subscription` to `maharatest`.`interaction_event_subscription` [PASS]
- # Comparing `mahara`.`interaction_forum_edit` to `maharatest`.`interaction_forum_edit` [PASS]
- # Comparing `mahara`.`interaction_forum_instance_config` to `maharatest`.`interaction_forum_instance_config` [PASS]
- # Comparing `mahara`.`interaction_forum_moderator` to `maharatest`.`interaction_forum_moderator` [PASS]
- # Comparing `mahara`.`interaction_forum_post` to `maharatest`.`interaction_forum_post` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `interaction_forum_post` (
- `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `topic` bigint(10) NOT NULL,
- `parent` bigint(10) DEFAULT NULL,
- `poster` bigint(10) NOT NULL,
- `subject` varchar(255) DEFAULT NULL,
- `body` text NOT NULL,
- `ctime` datetime NOT NULL,
- `deleted` tinyint(1) NOT NULL DEFAULT '0',
- `sent` tinyint(1) NOT NULL DEFAULT '0',
- `path` varchar(2048) DEFAULT NULL,
- PRIMARY KEY (`id`),
- + KEY `inteforupost_pat_ix` (`path`(255)),
- KEY `inteforupost_top_ix` (`topic`),
- KEY `inteforupost_par_ix` (`parent`),
- KEY `inteforupost_pos_ix` (`poster`),
- - KEY `inteforupost_pat_ix` (`path`(255)),
- CONSTRAINT `inteforupost_par_fk` FOREIGN KEY (`parent`) REFERENCES `interaction_forum_post` (`id`),
- CONSTRAINT `inteforupost_pos_fk` FOREIGN KEY (`poster`) REFERENCES `usr` (`id`),
- CONSTRAINT `inteforupost_top_fk` FOREIGN KEY (`topic`) REFERENCES `interaction_forum_topic` (`id`)
- )
- # Comparing `mahara`.`interaction_forum_subscription_forum` to `maharatest`.`interaction_forum_subscription_forum` [PASS]
- # Comparing `mahara`.`interaction_forum_subscription_topic` to `maharatest`.`interaction_forum_subscription_topic` [PASS]
- # Comparing `mahara`.`interaction_forum_topic` to `maharatest`.`interaction_forum_topic` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=239
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`interaction_installed` to `maharatest`.`interaction_installed` [PASS]
- # Comparing `mahara`.`interaction_instance` to `maharatest`.`interaction_instance` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=114
- # ? ^^^
- # + AUTO_INCREMENT=3
- # ? ^
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`module_config` to `maharatest`.`module_config` [PASS]
- # Comparing `mahara`.`module_cron` to `maharatest`.`module_cron` [PASS]
- # WARNING: The tables structure is the same, but the columns order is different. Use --change-for to take the order into account.
- # Comparing `mahara`.`module_event_subscription` to `maharatest`.`module_event_subscription` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `module_event_subscription` (
- - `id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
- ? ---------
- + `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `plugin` varchar(255) NOT NULL,
- `event` varchar(50) NOT NULL,
- `callfunction` varchar(255) NOT NULL,
- PRIMARY KEY (`id`),
- UNIQUE KEY `moduevensubs_pluevecal_uk` (`plugin`,`event`,`callfunction`),
- KEY `moduevensubs_plu_ix` (`plugin`),
- KEY `moduevensubs_eve_ix` (`event`),
- CONSTRAINT `moduevensubs_eve_fk` FOREIGN KEY (`event`) REFERENCES `event_type` (`name`),
- CONSTRAINT `moduevensubs_plu_fk` FOREIGN KEY (`plugin`) REFERENCES `module_installed` (`name`)
- )
- # Comparing `mahara`.`module_installed` to `maharatest`.`module_installed` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `module_installed` (
- `name` varchar(255) NOT NULL,
- - `version` bigint(10) unsigned NOT NULL,
- ? ---------
- + `version` bigint(10) NOT NULL,
- `release` text NOT NULL,
- - `active` tinyint(1) unsigned NOT NULL DEFAULT '1',
- ? ---------
- + `active` tinyint(1) NOT NULL DEFAULT '1',
- PRIMARY KEY (`name`)
- )
- # Comparing `mahara`.`notification_config` to `maharatest`.`notification_config` [PASS]
- # Comparing `mahara`.`notification_cron` to `maharatest`.`notification_cron` [PASS]
- # Comparing `mahara`.`notification_emaildigest_queue` to `maharatest`.`notification_emaildigest_queue` [PASS]
- # Comparing `mahara`.`notification_event_subscription` to `maharatest`.`notification_event_subscription` [PASS]
- # Comparing `mahara`.`notification_installed` to `maharatest`.`notification_installed` [PASS]
- # Comparing `mahara`.`notification_internal_activity` to `maharatest`.`notification_internal_activity` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=23564
- # ? - ---
- # + AUTO_INCREMENT=3
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`objectionable` to `maharatest`.`objectionable` [PASS]
- # Comparing `mahara`.`search_config` to `maharatest`.`search_config` [PASS]
- # Comparing `mahara`.`search_cron` to `maharatest`.`search_cron` [PASS]
- # Comparing `mahara`.`search_elasticsearch_queue` to `maharatest`.`search_elasticsearch_queue` [PASS]
- # Comparing `mahara`.`search_event_subscription` to `maharatest`.`search_event_subscription` [PASS]
- # Comparing `mahara`.`search_installed` to `maharatest`.`search_installed` [PASS]
- # Comparing `mahara`.`site_content` to `maharatest`.`site_content` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `site_content` (
- `name` varchar(50) NOT NULL,
- `content` text NOT NULL,
- - `ctime` datetime DEFAULT NULL,
- ? ^^^^^^
- + `ctime` datetime NOT NULL,
- ? ^^
- `mtime` datetime NOT NULL,
- `mauthor` bigint(10) DEFAULT NULL,
- - `institution` varchar(255) NOT NULL DEFAULT '',
- ? -----------
- + `institution` varchar(255) NOT NULL,
- PRIMARY KEY (`name`,`institution`),
- KEY `sitecont_mau_ix` (`mauthor`),
- KEY `sitecont_ins_ix` (`institution`),
- CONSTRAINT `sitecont_ins_fk` FOREIGN KEY (`institution`) REFERENCES `institution` (`name`),
- CONSTRAINT `sitecont_mau_fk` FOREIGN KEY (`mauthor`) REFERENCES `usr` (`id`)
- )
- # Comparing `mahara`.`site_data` to `maharatest`.`site_data` [PASS]
- # Comparing `mahara`.`site_menu` to `maharatest`.`site_menu` [PASS]
- # Comparing `mahara`.`site_registration` to `maharatest`.`site_registration` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=79
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`site_registration_data` to `maharatest`.`site_registration_data` [PASS]
- # Comparing `mahara`.`skin` to `maharatest`.`skin` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `skin` (
- `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `title` varchar(255) NOT NULL,
- `description` text,
- `owner` bigint(10) NOT NULL,
- - `type` varchar(10) NOT NULL,
- + `type` varchar(10) NOT NULL DEFAULT 'private',
- ? ++++++++++++++++++
- `viewskin` text NOT NULL,
- `bodybgimg` bigint(10) DEFAULT NULL,
- `viewbgimg` bigint(10) DEFAULT NULL,
- `ctime` datetime DEFAULT NULL,
- `mtime` datetime DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `skin_own_ix` (`owner`),
- CONSTRAINT `skin_own_fk` FOREIGN KEY (`owner`) REFERENCES `usr` (`id`)
- )
- # Comparing `mahara`.`skin_favorites` to `maharatest`.`skin_favorites` [PASS]
- # Comparing `mahara`.`skin_fonts` to `maharatest`.`skin_fonts` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `skin_fonts` (
- `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `name` varchar(100) NOT NULL,
- `title` varchar(255) NOT NULL,
- `licence` varchar(255) DEFAULT NULL,
- `notice` text,
- `previewfont` varchar(255) NOT NULL,
- `variants` text NOT NULL,
- - `fonttype` varchar(10) NOT NULL,
- + `fonttype` varchar(10) NOT NULL DEFAULT 'site',
- ? +++++++++++++++
- - `onlyheading` tinyint(1) NOT NULL,
- + `onlyheading` tinyint(1) NOT NULL DEFAULT '0',
- ? ++++++++++++
- `fontstack` text NOT NULL,
- `genericfont` enum('cursive','fantasy','monospace','sans-serif','serif') NOT NULL,
- PRIMARY KEY (`id`),
- UNIQUE KEY `skinfont_nam_uk` (`name`)
- )
- # Comparing `mahara`.`sso_session` to `maharatest`.`sso_session` [PASS]
- # Comparing `mahara`.`style` to `maharatest`.`style` [PASS]
- # Comparing `mahara`.`style_property` to `maharatest`.`style_property` [PASS]
- # Comparing `mahara`.`usr` to `maharatest`.`usr` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=1521
- # ? ^^^^
- # + AUTO_INCREMENT=3
- # ? ^
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`usr_account_preference` to `maharatest`.`usr_account_preference` [PASS]
- # Comparing `mahara`.`usr_activity_preference` to `maharatest`.`usr_activity_preference` [PASS]
- # Comparing `mahara`.`usr_custom_layout` to `maharatest`.`usr_custom_layout` [PASS]
- # WARNING: The tables structure is the same, but the columns order is different. Use --change-for to take the order into account.
- # Comparing `mahara`.`usr_friend` to `maharatest`.`usr_friend` [PASS]
- # Comparing `mahara`.`usr_friend_request` to `maharatest`.`usr_friend_request` [PASS]
- # Comparing `mahara`.`usr_infectedupload` to `maharatest`.`usr_infectedupload` [PASS]
- # Comparing `mahara`.`usr_institution` to `maharatest`.`usr_institution` [PASS]
- # Comparing `mahara`.`usr_institution_request` to `maharatest`.`usr_institution_request` [PASS]
- # Comparing `mahara`.`usr_password_request` to `maharatest`.`usr_password_request` [PASS]
- # Comparing `mahara`.`usr_registration` to `maharatest`.`usr_registration` [PASS]
- # Comparing `mahara`.`usr_session` to `maharatest`.`usr_session` [PASS]
- # Comparing `mahara`.`usr_tag` to `maharatest`.`usr_tag` [PASS]
- # Comparing `mahara`.`usr_watchlist_view` to `maharatest`.`usr_watchlist_view` [PASS]
- # Comparing `mahara`.`view` to `maharatest`.`view` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `view` (
- `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `title` text NOT NULL,
- `description` text,
- `owner` bigint(10) DEFAULT NULL,
- `ownerformat` text,
- `group` bigint(10) DEFAULT NULL,
- `institution` varchar(255) DEFAULT NULL,
- `startdate` datetime DEFAULT NULL,
- `stopdate` datetime DEFAULT NULL,
- `ctime` datetime NOT NULL,
- `mtime` datetime NOT NULL,
- `atime` datetime NOT NULL,
- `submittedgroup` bigint(10) DEFAULT NULL,
- `submittedhost` varchar(255) DEFAULT NULL,
- `submittedtime` datetime DEFAULT NULL,
- `submittedstatus` tinyint(1) NOT NULL DEFAULT '0',
- + `numrows` tinyint(2) NOT NULL DEFAULT '1',
- `numcolumns` tinyint(2) NOT NULL,
- `layout` bigint(10) DEFAULT NULL,
- + `skin` bigint(10) DEFAULT NULL,
- `theme` varchar(255) DEFAULT NULL,
- `template` tinyint(1) NOT NULL DEFAULT '0',
- + `retainview` tinyint(1) NOT NULL DEFAULT '0',
- `copynewuser` tinyint(1) NOT NULL DEFAULT '0',
- `type` varchar(50) NOT NULL,
- `visits` bigint(10) NOT NULL DEFAULT '0',
- `allowcomments` tinyint(1) NOT NULL DEFAULT '1',
- `approvecomments` tinyint(1) NOT NULL DEFAULT '0',
- `accessconf` varchar(40) DEFAULT NULL,
- - `retainview` tinyint(1) NOT NULL DEFAULT '0',
- `locked` tinyint(1) NOT NULL DEFAULT '0',
- `urlid` varchar(100) DEFAULT NULL,
- - `numrows` tinyint(2) NOT NULL DEFAULT '1',
- - `skin` bigint(10) DEFAULT NULL,
- `anonymise` tinyint(1) NOT NULL DEFAULT '0',
- PRIMARY KEY (`id`),
- UNIQUE KEY `view_urlowngroins_uix` (`urlid`,`owner`,`group`,`institution`),
- KEY `view_own_ix` (`owner`),
- KEY `view_sub_ix` (`submittedgroup`),
- KEY `view_sub2_ix` (`submittedhost`),
- KEY `view_lay_ix` (`layout`),
- KEY `view_gro_ix` (`group`),
- KEY `view_ins_ix` (`institution`),
- KEY `view_typ_ix` (`type`),
- CONSTRAINT `view_gro_fk` FOREIGN KEY (`group`) REFERENCES `group` (`id`),
- CONSTRAINT `view_ins_fk` FOREIGN KEY (`institution`) REFERENCES `institution` (`name`),
- CONSTRAINT `view_lay_fk` FOREIGN KEY (`layout`) REFERENCES `view_layout` (`id`),
- CONSTRAINT `view_own_fk` FOREIGN KEY (`owner`) REFERENCES `usr` (`id`),
- CONSTRAINT `view_sub2_fk` FOREIGN KEY (`submittedhost`) REFERENCES `host` (`wwwroot`),
- CONSTRAINT `view_sub_fk` FOREIGN KEY (`submittedgroup`) REFERENCES `group` (`id`),
- CONSTRAINT `view_typ_fk` FOREIGN KEY (`type`) REFERENCES `view_type` (`type`)
- )
- # Comparing `mahara`.`view_access` to `maharatest`.`view_access` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `view_access` (
- `view` bigint(10) NOT NULL,
- `accesstype` enum('public','loggedin','friends') DEFAULT NULL,
- `group` bigint(10) DEFAULT NULL,
- `role` varchar(255) DEFAULT NULL,
- `usr` bigint(10) DEFAULT NULL,
- + `institution` varchar(255) DEFAULT NULL,
- `token` varchar(100) DEFAULT NULL,
- `visible` tinyint(1) NOT NULL DEFAULT '1',
- `startdate` datetime DEFAULT NULL,
- `stopdate` datetime DEFAULT NULL,
- `allowcomments` tinyint(1) NOT NULL DEFAULT '0',
- `approvecomments` tinyint(1) NOT NULL DEFAULT '1',
- - `ctime` datetime DEFAULT NULL,
- ? ^^^^^^
- + `ctime` datetime NOT NULL,
- ? ^^
- - `institution` varchar(255) DEFAULT NULL,
- KEY `viewacce_tok_ix` (`token`),
- + KEY `viewacce_acc_ix` (`accesstype`),
- KEY `viewacce_vie_ix` (`view`),
- KEY `viewacce_gro_ix` (`group`),
- KEY `viewacce_usr_ix` (`usr`),
- - KEY `viewacce_acc_ix` (`accesstype`),
- KEY `viewacce_ins_ix` (`institution`),
- CONSTRAINT `viewacce_gro_fk` FOREIGN KEY (`group`) REFERENCES `group` (`id`),
- CONSTRAINT `viewacce_ins_fk` FOREIGN KEY (`institution`) REFERENCES `institution` (`name`),
- CONSTRAINT `viewacce_usr_fk` FOREIGN KEY (`usr`) REFERENCES `usr` (`id`),
- CONSTRAINT `viewacce_vie_fk` FOREIGN KEY (`view`) REFERENCES `view` (`id`)
- )
- # Comparing `mahara`.`view_artefact` to `maharatest`.`view_artefact` [PASS]
- # WARNING: Table options are ignored and differences were found:
- # ENGINE=InnoDB
- # - AUTO_INCREMENT=112474
- # ? ^^^^^^
- # + AUTO_INCREMENT=5
- # ? ^
- # DEFAULT
- # CHARSET=utf8
- # Comparing `mahara`.`view_autocreate_grouptype` to `maharatest`.`view_autocreate_grouptype` [PASS]
- # Comparing `mahara`.`view_layout` to `maharatest`.`view_layout` [PASS]
- # Comparing `mahara`.`view_layout_columns` to `maharatest`.`view_layout_columns` [PASS]
- # Comparing `mahara`.`view_layout_rows_columns` to `maharatest`.`view_layout_rows_columns` [PASS]
- # Comparing `mahara`.`view_rows_columns` to `maharatest`.`view_rows_columns` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `view_rows_columns` (
- + `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `view` bigint(10) NOT NULL,
- - `id` bigint(10) NOT NULL AUTO_INCREMENT,
- `row` tinyint(1) NOT NULL,
- `columns` tinyint(1) NOT NULL,
- PRIMARY KEY (`id`),
- KEY `viewrowscolu_vie_ix` (`view`),
- CONSTRAINT `viewrowscolu_vie_fk` FOREIGN KEY (`view`) REFERENCES `view` (`id`)
- )
- # Comparing `mahara`.`view_tag` to `maharatest`.`view_tag` [PASS]
- # Comparing `mahara`.`view_type` to `maharatest`.`view_type` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- CREATE TABLE `view_type` (
- - `type` varchar(50) NOT NULL DEFAULT '',
- ? -----------
- + `type` varchar(50) NOT NULL,
- PRIMARY KEY (`type`)
- )
- # Comparing `mahara`.`view_visit` to `maharatest`.`view_visit` [PASS]
- # Comparing `mahara`.`watchlist_queue` to `maharatest`.`watchlist_queue` [PASS]
- # Comparing `mahara`.`unmark_quota_exceed_upd_usr_set_trigger` to `maharatest`.`unmark_quota_exceed_upd_usr_set_trigger` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- - CREATE DEFINER="mahara"@"localhost" TRIGGER "unmark_quota_exceed_upd_usr_set_trigger" AFTER UPDATE
- ? ^^^^^^^^^
- + CREATE DEFINER="maharadevelop"@"%" TRIGGER "unmark_quota_exceed_upd_usr_set_trigger" AFTER UPDATE
- ? +++++++ ^
- ON "usr" FOR EACH ROW
- BEGIN
- UPDATE "usr_account_preference", "artefact_config"
- SET "usr_account_preference".value = 0
- WHERE "usr_account_preference".field = 'quota_exceeded_notified'
- AND "usr_account_preference".usr = NEW.id
- AND "artefact_config".plugin = 'file'
- AND "artefact_config".field = 'quotanotifylimit'
- AND NEW.quotaused/NEW.quota < "artefact_config".value/100;
- END
- # Comparing `mahara`.`update_unread_delete2_trigger` to `maharatest`.`update_unread_delete2_trigger` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- - CREATE DEFINER="mahara"@"localhost" TRIGGER "update_unread_delete2_trigger" AFTER DELETE
- ? ^^^^^^^^^
- + CREATE DEFINER="maharadevelop"@"%" TRIGGER "update_unread_delete2_trigger" AFTER DELETE
- ? +++++++ ^
- ON "artefact_multirecipient_userrelation" FOR EACH ROW
- BEGIN
- IF OLD.read = '0' AND OLD.role = 'recipient' THEN
- UPDATE "usr" SET unread = unread - 1 WHERE id = OLD.usr;
- END IF;
- END
- # Comparing `mahara`.`update_unread_delete_trigger` to `maharatest`.`update_unread_delete_trigger` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- - CREATE DEFINER="mahara"@"localhost" TRIGGER "update_unread_delete_trigger" AFTER DELETE
- ? ^^^^^^^^^
- + CREATE DEFINER="maharadevelop"@"%" TRIGGER "update_unread_delete_trigger" AFTER DELETE
- ? +++++++ ^
- ON "notification_internal_activity" FOR EACH ROW
- BEGIN
- - IF OLD.read = 0 THEN
- + IF OLD.read = 0 THEN
- ? ++++
- - UPDATE "usr" SET unread = unread - 1 WHERE id = OLD.usr;
- + UPDATE "usr" SET unread = unread - 1 WHERE id = OLD.usr;
- ? ++++
- - END IF;
- + END IF;
- ? ++++
- END
- # Comparing `mahara`.`update_unread_insert2_trigger` to `maharatest`.`update_unread_insert2_trigger` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- - CREATE DEFINER="mahara"@"localhost" TRIGGER "update_unread_insert2_trigger" AFTER INSERT
- ? ^^^^^^^^^
- + CREATE DEFINER="maharadevelop"@"%" TRIGGER "update_unread_insert2_trigger" AFTER INSERT
- ? +++++++ ^
- ON "artefact_multirecipient_userrelation" FOR EACH ROW
- BEGIN
- IF NEW.role = 'recipient' AND NEW.read = '0' THEN
- UPDATE "usr" SET unread = unread + 1 WHERE id = NEW.usr;
- END IF;
- END
- # Comparing `mahara`.`update_unread_insert_trigger` to `maharatest`.`update_unread_insert_trigger` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- - CREATE DEFINER="mahara"@"localhost" TRIGGER "update_unread_insert_trigger" AFTER INSERT
- ? ^^^^^^^^^
- + CREATE DEFINER="maharadevelop"@"%" TRIGGER "update_unread_insert_trigger" AFTER INSERT
- ? +++++++ ^
- ON "notification_internal_activity" FOR EACH ROW
- BEGIN
- - IF NEW.read = 0 THEN
- + IF NEW.read = 0 THEN
- ? ++++
- - UPDATE "usr" SET unread = unread + 1 WHERE id = NEW.usr;
- + UPDATE "usr" SET unread = unread + 1 WHERE id = NEW.usr;
- ? ++++
- - END IF;
- + END IF;
- ? ++++
- END
- # Comparing `mahara`.`update_unread_update2_trigger` to `maharatest`.`update_unread_update2_trigger` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- - CREATE DEFINER="mahara"@"localhost" TRIGGER "update_unread_update2_trigger" AFTER UPDATE
- ? ^^^^^^^^^
- + CREATE DEFINER="maharadevelop"@"%" TRIGGER "update_unread_update2_trigger" AFTER UPDATE
- ? +++++++ ^
- ON "artefact_multirecipient_userrelation" FOR EACH ROW
- BEGIN
- IF OLD.read = '0' AND NEW.read = '1' AND NEW.role = 'recipient' THEN
- UPDATE "usr" SET unread = unread - 1 WHERE id = NEW.usr;
- ELSEIF OLD.read = '1' AND NEW.read = '0' AND NEW.role = 'recipient' THEN
- UPDATE "usr" SET unread = unread + 1 WHERE id = NEW.usr;
- END IF;
- END
- # Comparing `mahara`.`update_unread_update_trigger` to `maharatest`.`update_unread_update_trigger` [FAIL]
- # Object definitions differ. (--changes-for=server1)
- #
- - CREATE DEFINER="mahara"@"localhost" TRIGGER "update_unread_update_trigger" AFTER UPDATE
- ? ^^^^^^^^^
- + CREATE DEFINER="maharadevelop"@"%" TRIGGER "update_unread_update_trigger" AFTER UPDATE
- ? +++++++ ^
- ON "notification_internal_activity" FOR EACH ROW
- BEGIN
- - IF OLD.read = 0 AND NEW.read = 1 THEN
- + IF OLD.read = 0 AND NEW.read = 1 THEN
- ? ++++
- - UPDATE "usr" SET unread = unread - 1 WHERE id = NEW.usr;
- + UPDATE "usr" SET unread = unread - 1 WHERE id = NEW.usr;
- ? ++++
- - ELSEIF OLD.read = 1 AND NEW.read = 0 THEN
- + ELSEIF OLD.read = 1 AND NEW.read = 0 THEN
- ? ++++
- - UPDATE "usr" SET unread = unread + 1 WHERE id = NEW.usr;
- + UPDATE "usr" SET unread = unread + 1 WHERE id = NEW.usr;
- ? ++++
- - END IF;
- + END IF;
- ? ++++
- END
- Compare failed. One or more differences found.
Advertisement
Add Comment
Please, Sign In to add comment