Fixed migration for task relations
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
af1d1e1921
commit
e2f481a6e5
@ -60,7 +60,7 @@ func init() {
|
||||
|
||||
// Get all current subtasks and put them in a new table
|
||||
tasks := []*task20190922205826{}
|
||||
err = tx.Where("parent_task_id = not null OR parent_task_id != 0").Find(&tasks)
|
||||
err = tx.Where("parent_task_id != null OR parent_task_id != 0").Find(&tasks)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user