summaryrefslogtreecommitdiff
path: root/app/Schema/Sqlite.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Schema/Sqlite.php')
-rw-r--r--app/Schema/Sqlite.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Schema/Sqlite.php b/app/Schema/Sqlite.php
index ef6523e4..b9c264bc 100644
--- a/app/Schema/Sqlite.php
+++ b/app/Schema/Sqlite.php
@@ -157,6 +157,7 @@ function version_48($pdo)
// Migrate all subtasks position
$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');