@@ -40,7 +40,7 @@ |
||
40 | 40 | */ |
41 | 41 | public function up(): void |
42 | 42 | { |
43 | - $this->createSchema(function (Blueprint $table) { |
|
43 | + $this->createSchema(function(Blueprint $table) { |
|
44 | 44 | $table->id(); |
45 | 45 | $table->uuid('uuid'); |
46 | 46 | $table->string('username')->nullable(); |
@@ -40,7 +40,7 @@ |
||
40 | 40 | */ |
41 | 41 | public function up(): void |
42 | 42 | { |
43 | - $this->createSchema(function (Blueprint $table) { |
|
43 | + $this->createSchema(function(Blueprint $table) { |
|
44 | 44 | $table->unsignedInteger('permission_id'); |
45 | 45 | $table->unsignedInteger('role_id'); |
46 | 46 | $table->timestamp('created_at')->nullable(); |
@@ -40,7 +40,7 @@ |
||
40 | 40 | */ |
41 | 41 | public function up(): void |
42 | 42 | { |
43 | - $this->createSchema(function (Blueprint $table) { |
|
43 | + $this->createSchema(function(Blueprint $table) { |
|
44 | 44 | $table->id(); |
45 | 45 | $table->string('name'); |
46 | 46 | $table->string('slug'); |
@@ -41,7 +41,7 @@ |
||
41 | 41 | if ( ! Auth::config('throttles.enabled', false)) |
42 | 42 | return; |
43 | 43 | |
44 | - $this->createSchema(function (Blueprint $table) { |
|
44 | + $this->createSchema(function(Blueprint $table) { |
|
45 | 45 | $table->id(); |
46 | 46 | $table->unsignedBigInteger('user_id')->nullable(); |
47 | 47 |
@@ -38,8 +38,9 @@ |
||
38 | 38 | */ |
39 | 39 | public function up(): void |
40 | 40 | { |
41 | - if ( ! Auth::config('throttles.enabled', false)) |
|
42 | - return; |
|
41 | + if ( ! Auth::config('throttles.enabled', false)) { |
|
42 | + return; |
|
43 | + } |
|
43 | 44 | |
44 | 45 | $this->createSchema(function (Blueprint $table) { |
45 | 46 | $table->id(); |
@@ -40,7 +40,7 @@ |
||
40 | 40 | */ |
41 | 41 | public function up(): void |
42 | 42 | { |
43 | - $this->createSchema(function (Blueprint $table) { |
|
43 | + $this->createSchema(function(Blueprint $table) { |
|
44 | 44 | $table->id(); |
45 | 45 | $table->unsignedBigInteger('user_id')->index(); |
46 | 46 | $table->string('provider_type', 50); |
@@ -40,7 +40,7 @@ |
||
40 | 40 | */ |
41 | 41 | public function up(): void |
42 | 42 | { |
43 | - $this->createSchema(function (Blueprint $table) { |
|
43 | + $this->createSchema(function(Blueprint $table) { |
|
44 | 44 | $table->id(); |
45 | 45 | $table->uuid('uuid'); |
46 | 46 | $table->string('first_name', 30)->nullable(); |
@@ -40,7 +40,7 @@ |
||
40 | 40 | */ |
41 | 41 | public function up(): void |
42 | 42 | { |
43 | - $this->createSchema(function (Blueprint $table) { |
|
43 | + $this->createSchema(function(Blueprint $table) { |
|
44 | 44 | $table->string('id')->primary(); |
45 | 45 | $table->foreignId('user_id')->nullable()->index(); |
46 | 46 | $table->string('guard', 20)->nullable(); |
@@ -41,7 +41,7 @@ |
||
41 | 41 | */ |
42 | 42 | public function up(): void |
43 | 43 | { |
44 | - $this->createSchema(function (Blueprint $table) { |
|
44 | + $this->createSchema(function(Blueprint $table) { |
|
45 | 45 | $table->string('email'); |
46 | 46 | $table->string('token'); |
47 | 47 | $table->timestamp('created_at')->nullable(); |
@@ -40,7 +40,7 @@ |
||
40 | 40 | */ |
41 | 41 | public function up(): void |
42 | 42 | { |
43 | - $this->createSchema(function (Blueprint $table) { |
|
43 | + $this->createSchema(function(Blueprint $table) { |
|
44 | 44 | $table->id(); |
45 | 45 | $table->uuid('uuid'); |
46 | 46 | $table->unsignedInteger('group_id')->default(0); |