@@ -8,12 +8,12 @@ |
||
8 | 8 | * and open the template in the editor. |
9 | 9 | */ |
10 | 10 | |
11 | -class SdLocationCategorySeeder extends Seeder{ |
|
11 | +class SdLocationCategorySeeder extends Seeder { |
|
12 | 12 | public function run() { |
13 | - $names=['Asia','Europe','America','Australia']; |
|
13 | + $names = ['Asia', 'Europe', 'America', 'Australia']; |
|
14 | 14 | $created_at = date('Y-d-m H:m:i'); |
15 | 15 | $updated_at = date('Y-d-m H:m:i'); |
16 | - foreach($names as $name){ |
|
16 | + foreach ($names as $name) { |
|
17 | 17 | DB::table('sd_location_categories') |
18 | 18 | ->insert(['name'=>$name, |
19 | 19 | 'created_at'=>$created_at, |
@@ -8,13 +8,13 @@ |
||
8 | 8 | * and open the template in the editor. |
9 | 9 | */ |
10 | 10 | |
11 | -class SdAssetAttachmentTypes extends Seeder{ |
|
11 | +class SdAssetAttachmentTypes extends Seeder { |
|
12 | 12 | |
13 | 13 | public function run() { |
14 | - $names = ['Database','File',]; |
|
14 | + $names = ['Database', 'File', ]; |
|
15 | 15 | $created_at = date('Y-d-m H:m:i'); |
16 | 16 | $updated_at = date('Y-d-m H:m:i'); |
17 | - foreach($names as $name){ |
|
17 | + foreach ($names as $name) { |
|
18 | 18 | DB::table('sd_attachment_types') |
19 | 19 | ->insert(['name'=>$name, |
20 | 20 | 'created_at'=>$created_at, |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('sd_locations', function (Blueprint $table) { |
|
15 | + Schema::create('sd_locations', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('location_category_id')->unsigned()->nullable(); |
18 | 18 | $table->foreign('location_category_id')->references('id')->on('sd_location_categories'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('sd_change_status', function (Blueprint $table) { |
|
15 | + Schema::create('sd_change_status', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->timestamps(); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('sd_changes', function (Blueprint $table) { |
|
15 | + Schema::create('sd_changes', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('description'); |
18 | 18 | $table->string('subject'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('sd_cab', function (Blueprint $table) { |
|
15 | + Schema::create('sd_cab', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->integer('head')->unsigned()->nullable(); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('sd_impact_types', function (Blueprint $table) { |
|
15 | + Schema::create('sd_impact_types', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->timestamps(); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('sd_release_status', function (Blueprint $table) { |
|
15 | + Schema::create('sd_release_status', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->timestamps(); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('sd_ticket_relation', function (Blueprint $table) { |
|
15 | + Schema::create('sd_ticket_relation', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('ticket_id'); |
18 | 18 | $table->string('owner'); |