Skip to content

Commit

Permalink
Merge #3795
Browse files Browse the repository at this point in the history
3795: fix cron table on migration r=jniles a=mbayopanda

This PR fix migration script

Co-authored-by: mbayopanda <mbayopanda@gmail.com>
  • Loading branch information
bors[bot] and mbayopanda committed Jul 11, 2019
2 parents 84b5af0 + 8ad64ba commit 0d5adeb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/models/migrations/next/migrations.sql
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ CREATE TABLE `cron_email_report` (
`entity_group_uuid` BINARY(16) NOT NULL,
`cron_id` SMALLINT(5) NOT NULL,
`report_id` SMALLINT(5) NOT NULL,
`report_url` VARCHAR(200) NOT NULL,
`params` TEXT NULL,
`label` VARCHAR(200) NOT NULL,
`last_send` DATETIME NULL,
Expand All @@ -278,8 +277,7 @@ INSERT INTO `cron` (`label`, `value`) VALUES
('CRON.DAILY', '0 1 * * *'),
('CRON.WEEKLY', '0 1 * * 0'),
('CRON.MONTHLY', '0 1 30 * *'),
('CRON.YEARLY', '0 1 31 12 *'),
('CRON.EVERY_MINUTE', '* * * * *');
('CRON.YEARLY', '0 1 31 12 *');

/*
* @author: mbayopanda
Expand Down

0 comments on commit 0d5adeb

Please sign in to comment.