1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Updated plan price field name

This commit is contained in:
Hillel Coren 2016-07-10 16:53:01 +03:00
parent bf8ab297f9
commit 28d8e53764

View File

@ -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