Fixed migration for task relations
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
kolaente 2019-10-13 11:44:56 +02:00
parent af1d1e1921
commit e2f481a6e5
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

@ -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
}