| Conditions | 1 |
| Paths | 1 |
| Total Lines | 21 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 15 | public function run() |
||
| 16 | { |
||
| 17 | $data = [ |
||
| 18 | [ |
||
| 19 | 'name' => 'Stripe', |
||
| 20 | 'created_at' => Carbon::now(), |
||
| 21 | 'updated_at' => Carbon::now() |
||
| 22 | ], |
||
| 23 | [ |
||
| 24 | 'name' => 'Bonifico', |
||
| 25 | 'created_at' => Carbon::now(), |
||
| 26 | 'updated_at' => Carbon::now() |
||
| 27 | ], |
||
| 28 | [ |
||
| 29 | 'name' => 'In Negozio', |
||
| 30 | 'created_at' => Carbon::now(), |
||
| 31 | 'updated_at' => Carbon::now() |
||
| 32 | ], |
||
| 33 | |||
| 34 | ]; |
||
| 35 | DB::table('payment_type')->insert($data); |
||
| 36 | } |
||
| 38 |