Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class PopulateSkillTypes extends Migration |
||
8 | { |
||
9 | /** |
||
10 | * Run the migrations. |
||
11 | * |
||
12 | * @return void |
||
13 | */ |
||
14 | public function up() |
||
15 | { |
||
16 | // Populate SkillTypes |
||
17 | DB::table('skill_types')->insert([ |
||
18 | ['id' => 1, 'name' => 'soft'], |
||
19 | ['id' => 2, 'name' => 'hard'], |
||
20 | ]); |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Reverse the migrations. |
||
25 | * |
||
26 | * @return void |
||
27 | */ |
||
28 | public function down() |
||
31 | } |
||
32 | } |
||
33 |