Skip to content

Commit

Permalink
Removed database name
Browse files Browse the repository at this point in the history
  • Loading branch information
Simbiat committed Dec 26, 2024
1 parent 18d022b commit 075b51f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/installer/1.1.8.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ALTER TABLE `simbiatr_simbiat`.`cron__schedule`
ALTER TABLE `cron__schedule`
ADD INDEX `arguments` (`arguments`) USING BTREE;

ALTER TABLE `cron__errors`
Expand Down
12 changes: 6 additions & 6 deletions src/installer/2.0.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ALTER TABLE `cron__schedule`
ALTER TABLE `cron__schedule`
ADD `instance` INT(10) UNSIGNED NOT NULL DEFAULT '1' COMMENT 'Instance number of the task' AFTER `arguments`;

ALTER TABLE `simbiatr_simbiat`.`cron__schedule`
ALTER TABLE `cron__schedule`
DROP PRIMARY KEY,
ADD PRIMARY KEY (`task`, `arguments`, `instance`) USING BTREE;

Expand Down Expand Up @@ -38,7 +38,7 @@ ALTER TABLE `cron__log`
ALTER TABLE `cron__log`
CHANGE `arguments` `arguments` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Optional task arguments';

ALTER TABLE `simbiatr_simbiat`.`cron__log`
ALTER TABLE `cron__log`
DROP FOREIGN KEY errors_to_arguments;

ALTER TABLE `cron__log`
Expand Down Expand Up @@ -101,14 +101,14 @@ SET `setting` = 'logLife',
`description` = 'Days to keep messages in log. Older records will be removed on next CRON process.'
WHERE `cron__settings`.`setting` = 'errorLife';

ALTER TABLE `simbiatr_simbiat`.`cron__log`
ALTER TABLE `cron__log`
ADD INDEX `time_desc` (`time` DESC) USING BTREE;

ALTER TABLE `simbiatr_simbiat`.`cron__log`
ALTER TABLE `cron__log`
ADD INDEX `type` (`type`) USING BTREE;

ALTER TABLE `simbiatr_simbiat`.`cron__log`
ALTER TABLE `cron__log`
ADD INDEX `runby` (`runby`) USING BTREE;

ALTER TABLE `simbiatr_simbiat`.`cron__log`
ALTER TABLE `cron__log`
ADD INDEX `task` (`task`) USING BTREE;

0 comments on commit 075b51f

Please sign in to comment.