diff options
Diffstat (limited to 'app/Schema/Mysql.php')
-rw-r--r-- | app/Schema/Mysql.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php index 2dcfd3b7..e5269d93 100644 --- a/app/Schema/Mysql.php +++ b/app/Schema/Mysql.php @@ -162,6 +162,7 @@ function version_49($pdo) $pdo->exec('ALTER TABLE subtasks ADD COLUMN position INTEGER DEFAULT 1'); $task_id = 0; + $position = 1; $urq = $pdo->prepare('UPDATE subtasks SET position=? WHERE id=?'); $rq = $pdo->prepare('SELECT * FROM subtasks ORDER BY task_id, id ASC'); |