Fixed migration for task relations

This commit is contained in:
kolaente 2019-10-13 11:44:56 +02:00
parent af1d1e1921
commit e2f481a6e5
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

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