@@ -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 |
@@ -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'); |
@@ -13,8 +13,7 @@ discard block |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::table('system_cust_data_types', function(Blueprint $table) |
|
17 | - { |
|
16 | + Schema::table('system_cust_data_types', function(Blueprint $table) { |
|
18 | 17 | $table->boolean('hidden') |
19 | 18 | ->default(0) |
20 | 19 | ->after('name'); |
@@ -28,8 +27,7 @@ discard block |
||
28 | 27 | */ |
29 | 28 | public function down() |
30 | 29 | { |
31 | - Schema::table('system_cust_data_types', function(Blueprint $table) |
|
32 | - { |
|
30 | + Schema::table('system_cust_data_types', function(Blueprint $table) { |
|
33 | 31 | $table->dropColumn('hidden'); |
34 | 32 | }); |
35 | 33 | } |