From 28d8e53764121bbff86e932cb73cb76ad0cc2486 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 10 Jul 2016 16:53:01 +0300 Subject: [PATCH] Updated plan price field name --- .../migrations/2016_07_08_083802_support_new_pricing.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/database/migrations/2016_07_08_083802_support_new_pricing.php b/database/migrations/2016_07_08_083802_support_new_pricing.php index dc69724b6bae..cfb941345642 100644 --- a/database/migrations/2016_07_08_083802_support_new_pricing.php +++ b/database/migrations/2016_07_08_083802_support_new_pricing.php @@ -21,10 +21,10 @@ class SupportNewPricing extends Migration }); // lock in existing prices - DB::table('companies')->where('plan', 'pro')->where('plan_term', 'month')->update(['price' => 5]); - DB::table('companies')->where('plan', 'pro')->where('plan_term', 'year')->update(['price' => 50]); - DB::table('companies')->where('plan', 'enterprise')->where('plan_term', 'month')->update(['price' => 10]); - DB::table('companies')->where('plan', 'enterprise')->where('plan_term', 'year')->update(['price' => 100]); + DB::table('companies')->where('plan', 'pro')->where('plan_term', 'month')->update(['plan_price' => 5]); + DB::table('companies')->where('plan', 'pro')->where('plan_term', 'year')->update(['plan_price' => 50]); + DB::table('companies')->where('plan', 'enterprise')->where('plan_term', 'month')->update(['plan_price' => 10]); + DB::table('companies')->where('plan', 'enterprise')->where('plan_term', 'year')->update(['plan_price' => 100]); DB::table('companies')->where('plan', 'enterprise')->update(['num_users' => 5]); // https://github.com/invoiceninja/invoiceninja/pull/955