diff options
Diffstat (limited to 'app/Schema')
-rw-r--r-- | app/Schema/Migration.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Schema/Migration.php b/app/Schema/Migration.php index 91838efa..654303f4 100644 --- a/app/Schema/Migration.php +++ b/app/Schema/Migration.php @@ -9,6 +9,9 @@ function migrate_default_swimlane(PDO $pdo) $projects = get_all_projects($pdo); foreach ($projects as $project) { + if (empty($project['default_swimlane'])) { + $project['default_swimlane'] = 'Default swimlane'; + } // Create new default swimlane $rq = $pdo->prepare('INSERT INTO swimlanes (project_id, name, is_active, position) VALUES (?, ?, ?, ?)'); |