From f9f18500f1f4b3492d023e2d442eee5d97000c56 Mon Sep 17 00:00:00 2001 From: Regis Freyd Date: Mon, 24 Jul 2017 23:27:18 -0400 Subject: [PATCH] Fix migration for the version checking --- database/migrations/2017_07_22_153209_create_instance_table.php | 1 + 1 file changed, 1 insertion(+) diff --git a/database/migrations/2017_07_22_153209_create_instance_table.php b/database/migrations/2017_07_22_153209_create_instance_table.php index e9a377d9e20..03f7e424457 100644 --- a/database/migrations/2017_07_22_153209_create_instance_table.php +++ b/database/migrations/2017_07_22_153209_create_instance_table.php @@ -26,6 +26,7 @@ public function up() $instance = new Instance; $instance->current_version = config('monica.app_version'); + $instance->latest_version = config('monica.app_version'); $instance->uuid = uniqid(); $instance->save(); }