Completed
Push — master ( 6694cd...73d764 )
by Esza
01:06
created

WorkflowsSeeder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 14
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 11 1
1
<?php
2
namespace Jawaraegov\Workflows\database\seeds;
3
use Illuminate\Database\Seeder;
4
5
class WorkflowsSeeder extends Seeder {
6
7
	public function run()
8
	{
9
		//DB::table('workflows')->delete();
10
		$data = array(
11
					'content_type' => 'App\\ApiKeys',
12
					'content_id' => '0',
13
					'name' => 'api_key',
14
					'label' => 'Api Key'
15
				);
16
		\DB::table('workflows')->insert($data);
17
	}
18
}
19