Skip to content

Commit

Permalink
Use proper datetimes
Browse files Browse the repository at this point in the history
`0000-00-00 00:00:00` is not valid, and the date_finished and date_accepted should be null.
  • Loading branch information
mfairchild365 committed Dec 21, 2015
1 parent fb670a5 commit 63be21d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Data/pendingAssignment.sql
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ CREATE TABLE IF NOT EXISTS `assignments` (
--

INSERT INTO `assignments` (`id`, `conversations_id`, `users_id`, `date_created`, `status`, `date_updated`, `answering_site`, `invitations_id`, `date_finished`, `date_accepted`) VALUES
(1, 1, 2, '0000-00-00 00:00:00', 'PENDING', '2012-05-24 13:09:43', 'unl.edu', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00');
(1, 1, 2, NOW(), 'PENDING', NOW(), 'unl.edu', 1, NULL, NULL);

-- --------------------------------------------------------

Expand Down

0 comments on commit 63be21d

Please sign in to comment.