@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('customer_contacts', function (Blueprint $table) { |
|
| 16 | + Schema::create('customer_contacts', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('cont_id'); |
| 18 | 18 | $table->integer('cust_id')->unsigned(); |
| 19 | 19 | $table->text('name'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('customer_systems', function (Blueprint $table) { |
|
| 16 | + Schema::create('customer_systems', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('cust_sys_id'); |
| 18 | 18 | $table->integer('cust_id')->unsigned(); |
| 19 | 19 | $table->integer('sys_id')->unsigned(); |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('settings', function (Blueprint $table) { |
|
| 16 | + Schema::create('settings', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->text('key'); |
| 19 | 19 | $table->text('value'); |
@@ -22,15 +22,15 @@ discard block |
||
| 22 | 22 | |
| 23 | 23 | // Insert default settings |
| 24 | 24 | DB::table('settings')->insert([ |
| 25 | - ['created_at' => \Carbon\Carbon::now(), 'key' => 'app.logo', 'value' => config('app.logo')], |
|
| 26 | - ['created_at' => \Carbon\Carbon::now(), 'key' => 'app.timezone', 'value' => config('app.timezone')], |
|
| 27 | - ['created_at' => \Carbon\Carbon::now(), 'key' => 'mail.host', 'value' => config('mail.host')], |
|
| 28 | - ['created_at' => \Carbon\Carbon::now(), 'key' => 'mail.port', 'value' => config('mail.port')], |
|
| 25 | + ['created_at' => \Carbon\Carbon::now(), 'key' => 'app.logo', 'value' => config('app.logo')], |
|
| 26 | + ['created_at' => \Carbon\Carbon::now(), 'key' => 'app.timezone', 'value' => config('app.timezone')], |
|
| 27 | + ['created_at' => \Carbon\Carbon::now(), 'key' => 'mail.host', 'value' => config('mail.host')], |
|
| 28 | + ['created_at' => \Carbon\Carbon::now(), 'key' => 'mail.port', 'value' => config('mail.port')], |
|
| 29 | 29 | ['created_at' => \Carbon\Carbon::now(), 'key' => 'mail.encryption', 'value' => config('mail.encryption')], |
| 30 | - ['created_at' => \Carbon\Carbon::now(), 'key' => 'mail.username', 'value' => config('mail.username')], |
|
| 31 | - ['created_at' => \Carbon\Carbon::now(), 'key' => 'mail.password', 'value' => config('mail.password')], |
|
| 32 | - ['created_at' => \Carbon\Carbon::now(), 'key' => 'mail.from.address', 'value' => config('mail.from.address')], |
|
| 33 | - ['created_at' => \Carbon\Carbon::now(), 'key' => 'mail.from.name', 'value' => config('mail.from.name')], |
|
| 30 | + ['created_at' => \Carbon\Carbon::now(), 'key' => 'mail.username', 'value' => config('mail.username')], |
|
| 31 | + ['created_at' => \Carbon\Carbon::now(), 'key' => 'mail.password', 'value' => config('mail.password')], |
|
| 32 | + ['created_at' => \Carbon\Carbon::now(), 'key' => 'mail.from.address', 'value' => config('mail.from.address')], |
|
| 33 | + ['created_at' => \Carbon\Carbon::now(), 'key' => 'mail.from.name', 'value' => config('mail.from.name')], |
|
| 34 | 34 | ]); |
| 35 | 35 | } |
| 36 | 36 | |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('user_logins', function (Blueprint $table) { |
|
| 16 | + Schema::create('user_logins', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->integer('user_id')->unsigned(); |
| 19 | 19 | $table->text('ip_address'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('tech_tip_favs', function (Blueprint $table) { |
|
| 16 | + Schema::create('tech_tip_favs', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->integer('user_id')->unsigned(); |
| 19 | 19 | $table->integer('tip_id')->unsigned(); |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | |
| 25 | 25 | 'stubs' => [ |
| 26 | 26 | 'enabled' => false, |
| 27 | - 'path' => base_path() . '/vendor/nwidart/laravel-modules/src/Commands/stubs', |
|
| 27 | + 'path' => base_path().'/vendor/nwidart/laravel-modules/src/Commands/stubs', |
|
| 28 | 28 | 'files' => [ |
| 29 | 29 | 'routes/web' => 'Routes/web.php', |
| 30 | 30 | 'routes/api' => 'Routes/api.php', |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the |
| 15 | 15 | // built-in PHP web server. This provides a convenient way to test a Laravel |
| 16 | 16 | // application without having installed a "real" web server software here. |
| 17 | -if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { |
|
| 17 | +if($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { |
|
| 18 | 18 | return false; |
| 19 | 19 | } |
| 20 | 20 | |
@@ -14,7 +14,8 @@ |
||
| 14 | 14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the |
| 15 | 15 | // built-in PHP web server. This provides a convenient way to test a Laravel |
| 16 | 16 | // application without having installed a "real" web server software here. |
| 17 | -if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { |
|
| 17 | +if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) |
|
| 18 | +{ |
|
| 18 | 19 | return false; |
| 19 | 20 | } |
| 20 | 21 | |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | $sys1->sys_id = 1; |
| 18 | 18 | $sys1->cat_id = 1; |
| 19 | 19 | $sys1->name = 'NEC'; |
| 20 | - $sys1->parent_id = NULL; |
|
| 20 | + $sys1->parent_id = null; |
|
| 21 | 21 | $sys1->folder_location = 'nec'; |
| 22 | 22 | $sys1->save(); |
| 23 | 23 | |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | $sys7->sys_id = 7; |
| 66 | 66 | $sys7->cat_id = 1; |
| 67 | 67 | $sys7->name = 'ShoreTel'; |
| 68 | - $sys7->parent_id = NULL; |
|
| 68 | + $sys7->parent_id = null; |
|
| 69 | 69 | $sys7->folder_location = 'shoretel'; |
| 70 | 70 | $sys7->save(); |
| 71 | 71 | |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | $sys8->sys_id = 8; |
| 74 | 74 | $sys8->cat_id = 1; |
| 75 | 75 | $sys8->name = 'Zultys'; |
| 76 | - $sys8->parent_id = NULL; |
|
| 76 | + $sys8->parent_id = null; |
|
| 77 | 77 | $sys8->folder_location = 'zultys'; |
| 78 | 78 | $sys8->save(); |
| 79 | 79 | |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | $sys9->sys_id = 9; |
| 82 | 82 | $sys9->cat_id = 1; |
| 83 | 83 | $sys9->name = 'Miscellaneous'; |
| 84 | - $sys9->parent_id = NULL; |
|
| 84 | + $sys9->parent_id = null; |
|
| 85 | 85 | $sys9->folder_location = 'miscellaneous'; |
| 86 | 86 | $sys9->save(); |
| 87 | 87 | |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | $sys10->sys_id = 10; |
| 91 | 91 | $sys10->cat_id = 2; |
| 92 | 92 | $sys10->name = 'Pelco'; |
| 93 | - $sys10->parent_id = NULL; |
|
| 93 | + $sys10->parent_id = null; |
|
| 94 | 94 | $sys10->folder_location = 'pelco'; |
| 95 | 95 | $sys10->save(); |
| 96 | 96 | |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | $sys15->sys_id = 15; |
| 132 | 132 | $sys15->cat_id = 3; |
| 133 | 133 | $sys15->name = 'Class Connection'; |
| 134 | - $sys15->parent_id = NULL; |
|
| 134 | + $sys15->parent_id = null; |
|
| 135 | 135 | $sys15->folder_location = 'classconnection'; |
| 136 | 136 | $sys15->save(); |
| 137 | 137 | |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | $sys16->sys_id = 16; |
| 140 | 140 | $sys16->cat_id = 3; |
| 141 | 141 | $sys16->name = 'SynApps'; |
| 142 | - $sys16->parent_id = NULL; |
|
| 142 | + $sys16->parent_id = null; |
|
| 143 | 143 | $sys16->folder_location = 'synapps'; |
| 144 | 144 | $sys16->save(); |
| 145 | 145 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('jobs', function (Blueprint $table) { |
|
| 16 | + Schema::create('jobs', function(Blueprint $table) { |
|
| 17 | 17 | $table->bigIncrements('id'); |
| 18 | 18 | $table->string('queue')->index(); |
| 19 | 19 | $table->longText('payload'); |