Migrate should return TRUE even when nothing is done. #14

Closed
opened 2017-07-04 00:05:12 +00:00 by jamie · 2 comments
jamie commented 2017-07-04 00:05:12 +00:00 (Migrated from git.hazaar.io)

When we execute migrate currently we get the following responses for various conditions:

  1. TRUE - When migration updates something and is successful
  2. FALSE - When there is nothing to update
  3. FALSE - When there is an error while updating something

I think number 2 should actually return TRUE because technically nothing bad happened, there was just nothing to update. We have another method to check if there is anything that needs to be done which should probably be executed first if you want to get a FALSE when there is nothing to do.

When we execute migrate currently we get the following responses for various conditions: 1. TRUE - When migration updates something and is successful 1. FALSE - When there is nothing to update 1. FALSE - When there is an error while updating something I think number 2 should actually return TRUE because technically nothing bad happened, there was just nothing to update. We have another method to check if there is anything that needs to be done which should probably be executed first if you want to get a FALSE when there is nothing to do.
jamie commented 2017-07-04 00:05:35 +00:00 (Migrated from git.hazaar.io)

changed the description

changed the description
jamie commented 2017-07-04 00:08:57 +00:00 (Migrated from git.hazaar.io)

closed via commit 6ad0c2476b

closed via commit 6ad0c2476b26d6250bca4132b9975f58a8124eb1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hazaar/hazaar-dbi#14
No description provided.