Skip to content

Commit

Permalink
Bugfix: complete = 'written' was not an option
Browse files Browse the repository at this point in the history
DB migrations were always running before 0.10.1, so this wasn't a problem before.
Fixes #170
  • Loading branch information
gboudreau committed Feb 18, 2017
1 parent 9b4b544 commit 9c37bca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schema-mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CREATE TABLE `tasks` (
`share` VARCHAR(255) NOT NULL,
`full_path` VARCHAR(255) NULL,
`additional_info` VARCHAR(255) NULL,
`complete` ENUM( 'yes', 'no', 'frozen', 'thawed', 'idle') CHARACTER SET ascii NOT NULL,
`complete` ENUM('yes', 'no', 'frozen', 'thawed', 'idle', 'written') CHARACTER SET ascii NOT NULL,
`event_date` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `md5_worker` (`action`,`complete`,`additional_info`(100),`id`),
Expand All @@ -28,7 +28,7 @@ CREATE TABLE `tasks_completed` (
`share` VARCHAR(255) NOT NULL,
`full_path` VARCHAR(255) NULL,
`additional_info` VARCHAR(255) NULL,
`complete` ENUM( 'yes', 'no', 'frozen', 'thawed', 'idle' ) CHARACTER SET ascii NOT NULL,
`complete` ENUM('yes', 'no', 'frozen', 'thawed', 'idle', 'written') CHARACTER SET ascii NOT NULL,
`event_date` TIMESTAMP DEFAULT CURRENT_TIMESTAMP
) ENGINE = MYISAM DEFAULT CHARSET=utf8;

Expand Down

0 comments on commit 9c37bca

Please sign in to comment.