@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('password_resets', function (Blueprint $table) { |
|
16 | + Schema::create('password_resets', function(Blueprint $table) { |
|
17 | 17 | $table->string('email')->index(); |
18 | 18 | $table->string('token'); |
19 | 19 | $table->timestamp('created_at')->nullable(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('customer_files', function (Blueprint $table) { |
|
16 | + Schema::create('customer_files', function(Blueprint $table) { |
|
17 | 17 | $table->increments('cust_file_id'); |
18 | 18 | $table->integer('file_id')->unsigned(); |
19 | 19 | $table->integer('file_type_id')->unsigned(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('tech_tips', function (Blueprint $table) { |
|
16 | + Schema::create('tech_tips', function(Blueprint $table) { |
|
17 | 17 | $table->increments('tip_id'); |
18 | 18 | $table->integer('user_id')->unsigned(); |
19 | 19 | $table->boolean('public')->default(0); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('file_link_notes', function (Blueprint $table) { |
|
16 | + Schema::create('file_link_notes', function(Blueprint $table) { |
|
17 | 17 | $table->increments('link_note_id'); |
18 | 18 | $table->integer('link_id')->unsigned(); |
19 | 19 | $table->integer('file_id')->unsigned(); |
@@ -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(); |