@@ -11,7 +11,7 @@ |
||
11 | 11 | */ |
12 | 12 | public function up(): void |
13 | 13 | { |
14 | - Schema::create('taggables', function (Blueprint $table) { |
|
14 | + Schema::create('taggables', function(Blueprint $table) { |
|
15 | 15 | $table->id(); |
16 | 16 | $table->unsignedBigInteger('tag_id'); |
17 | 17 | $table->unsignedBigInteger('taggable_id'); |
@@ -8,7 +8,7 @@ |
||
8 | 8 | { |
9 | 9 | public function up(): void |
10 | 10 | { |
11 | - Schema::create('media', function (Blueprint $table) { |
|
11 | + Schema::create('media', function(Blueprint $table) { |
|
12 | 12 | $table->id(); |
13 | 13 | |
14 | 14 | $table->morphs('model'); |
@@ -8,7 +8,7 @@ |
||
8 | 8 | { |
9 | 9 | public function up() |
10 | 10 | { |
11 | - Schema::create('temporary_uploads', function (Blueprint $table) { |
|
11 | + Schema::create('temporary_uploads', function(Blueprint $table) { |
|
12 | 12 | $table->id(); |
13 | 13 | $table->string('session_id'); |
14 | 14 | $table->timestamps(); |
@@ -19,7 +19,7 @@ |
||
19 | 19 | protected function prepareForValidation(): void |
20 | 20 | { |
21 | 21 | $this->merge([ |
22 | - 'slug' => ! is_null($this->name) ? Str::slug($this->name) : null, |
|
22 | + 'slug' => !is_null($this->name) ? Str::slug($this->name) : null, |
|
23 | 23 | 'meta_name' => $this->popup->meta_name ?? $this->meta_name ?? $this->name ?? null, |
24 | 24 | 'meta_description' => $this->popup->meta_description ?? $this->meta_description ?? $this->excerpt ?? null, |
25 | 25 | ]); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create(config('website.table_prefix', 'website').'_'.'applications', function (Blueprint $table) { |
|
16 | + Schema::create(config('website.table_prefix', 'website').'_'.'applications', function(Blueprint $table) { |
|
17 | 17 | $table->id(); |
18 | 18 | $table->unsignedBigInteger('career_id')->nullable(); |
19 | 19 | $table->foreign('career_id')->references('id')->on(config('website.table_prefix', 'website').'_'.'careers')->onDelete('cascade'); |