@@ -30,10 +30,10 @@ func modelFromMap(m map[string]interface{}) *Model {
isCreated := false
isUpdated := false
isDeleted := false
- if createdAtStr == updatedAtStr {
- isCreated = true
- } else if deletedAtStr != "" {
+ if deletedAtStr != "" {
isDeleted = true
+ } else if createdAtStr == updatedAtStr {
+ isCreated = true
} else {
isUpdated = true
}