forked from thinkverse/surf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PlansTableSeeder.php
67 lines (63 loc) · 2.25 KB
/
PlansTableSeeder.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class PlansTableSeeder extends Seeder
{
/**
* Auto generated seed file
*
* @return void
*/
public function run()
{
DB::table('plans')->delete();
DB::table('plans')->insert(array(
0 =>
array(
'id' => 1,
'name' => 'Basic',
'slug' => 'basic',
'description' => 'Signup for the Basic User Plan to access all the basic features.',
'features' => 'Basic Feature Example 1, Basic Feature Example 2, Basic Feature Example 3, Basic Feature Example 4',
'plan_id' => '1',
'role_id' => 3,
'default' => 0,
'price' => '5',
'trial_days' => 0,
'created_at' => '2018-07-03 05:03:56',
'updated_at' => '2018-07-03 17:17:24',
),
1 =>
array(
'id' => 2,
'name' => 'Premium',
'slug' => 'premium',
'description' => 'Signup for our premium plan to access all our Premium Features.',
'features' => 'Premium Feature Example 1, Premium Feature Example 2, Premium Feature Example 3, Premium Feature Example 4',
'plan_id' => '2',
'role_id' => 5,
'default' => 1,
'price' => '8',
'trial_days' => 0,
'created_at' => '2018-07-03 16:29:46',
'updated_at' => '2018-07-03 17:17:08',
),
2 =>
array(
'id' => 3,
'name' => 'Pro',
'slug' => 'pro',
'description' => 'Gain access to our pro features with the pro plan.',
'features' => 'Pro Feature Example 1, Pro Feature Example 2, Pro Feature Example 3, Pro Feature Example 4',
'plan_id' => '3',
'role_id' => 4,
'default' => 0,
'price' => '12',
'trial_days' => 14,
'created_at' => '2018-07-03 16:30:43',
'updated_at' => '2018-08-22 22:26:19',
),
));
}
}