Skip to content

Commit

Permalink
fix cron table on migration
Browse files Browse the repository at this point in the history
  • Loading branch information
mbayopanda committed Jul 10, 2019
1 parent 84b5af0 commit 8ad64ba
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 8ad64ba

Please sign in to comment.