@@ -66,8 +66,8 @@ discard block |
||
66 | 66 | private function updatePhoneIcons() |
67 | 67 | { |
68 | 68 | $newIcons = [ |
69 | - ['description' => 'Home', 'icon_class' => 'fas fa-home'], |
|
70 | - ['description' => 'Work', 'icon_class' => 'fas fa-briefcase'], |
|
69 | + ['description' => 'Home', 'icon_class' => 'fas fa-home'], |
|
70 | + ['description' => 'Work', 'icon_class' => 'fas fa-briefcase'], |
|
71 | 71 | ['description' => 'Mobile', 'icon_class' => 'fas fa-mobile-alt'], |
72 | 72 | ]; |
73 | 73 | |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | { |
100 | 100 | if(!Schema::hasColumn('users', 'role_id')) |
101 | 101 | { |
102 | - Schema::table('users', function (Blueprint $table) { |
|
102 | + Schema::table('users', function(Blueprint $table) { |
|
103 | 103 | $table->integer('role_id')->after('user_id')->unsigned()->default(4); |
104 | 104 | $table->foreign('role_id')->references('role_id')->on('user_role_descriptions')->onUpdate('cascade'); |
105 | 105 | }); |
@@ -326,8 +326,8 @@ discard block |
||
326 | 326 | // Add soft deletes to tech tips table to prevent accidental deletes |
327 | 327 | private function addSoftDeleteToTechTips() |
328 | 328 | { |
329 | - if (!Schema::hasColumn('tech_tips', 'deleted_at')) { |
|
330 | - Schema::table('tech_tips', function (Blueprint $table) { |
|
329 | + if(!Schema::hasColumn('tech_tips', 'deleted_at')) { |
|
330 | + Schema::table('tech_tips', function(Blueprint $table) { |
|
331 | 331 | $table->softDeletes()->after('description'); |
332 | 332 | }); |
333 | 333 | } |
@@ -345,7 +345,7 @@ discard block |
||
345 | 345 | // Migrate over all deactivated users |
346 | 346 | DB::update('UPDATE `users` SET `deleted_at` = "'.Carbon::now().'" WHERE `active` = 0'); |
347 | 347 | // Remove the Active column |
348 | - Schema::table('users', function (Blueprint $table) { |
|
348 | + Schema::table('users', function(Blueprint $table) { |
|
349 | 349 | $table->dropColumn('active'); |
350 | 350 | }); |
351 | 351 | } |