diff --git a/composer.json b/composer.json index 0a67e16e8..1332b5454 100644 --- a/composer.json +++ b/composer.json @@ -23,16 +23,17 @@ "require" : { "php" : ">=7.1.3", "symfony/yaml" : "^4.0", - "laravel/framework" : "5.6.*", + "laravel/framework" : "5.7.*", "barryvdh/laravel-dompdf": "0.8.*", - "laravel/passport": "5.0.*", + "laravel/passport": "7.0.*", "stripe/stripe-php": "^6.3", "beyondcode/laravel-self-diagnosis": "^1.0" }, "require-dev" : { "phpunit/phpunit" : "~7.0", - "orchestra/testbench" : "~3.6" + "orchestra/testbench" : "~3.7", + "mockery/mockery" : "1.2.*" }, "autoload" : { "psr-4" : { diff --git a/database/migrations/2017_03_29_000000_avored_framework_schema.php b/database/migrations/2017_03_29_000000_avored_framework_schema.php index abb442e0c..3a254b5f6 100644 --- a/database/migrations/2017_03_29_000000_avored_framework_schema.php +++ b/database/migrations/2017_03_29_000000_avored_framework_schema.php @@ -391,6 +391,7 @@ public function up() $table->string('language')->nullable()->default('en'); $table->string('image_path')->nullable()->default(null); $table->rememberToken(); + $table->timestamp('email_verified_at')->nullable(); $table->timestamps(); $table->foreign('role_id')->references('id')->on('roles')->onDelete('cascade'); @@ -406,8 +407,8 @@ public function up() $table->string('company_name')->nullable(); $table->string('phone')->nullable(); $table->enum('status', ['GUEST', 'LIVE'])->default('LIVE'); - $table->string('activation_token')->nullable()->default(null); $table->string('tax_no')->nullable()->default(null); + $table->timestamp('email_verified_at')->nullable(); $table->rememberToken(); $table->timestamps(); }); diff --git a/resources/views/forms/file.blade.php b/resources/views/forms/file.blade.php index f8a437ae0..7584a313b 100644 --- a/resources/views/forms/file.blade.php +++ b/resources/views/forms/file.blade.php @@ -7,8 +7,6 @@ $value = $model->$name; } -//dd($value); - if(isset($attributes)) { $attributes['name'] = $name; $attributes['type'] = "file"; diff --git a/resources/views/product-attribute/select.blade.php b/resources/views/product-attribute/select.blade.php index 822833ab7..978019c9a 100644 --- a/resources/views/product-attribute/select.blade.php +++ b/resources/views/product-attribute/select.blade.php @@ -1,9 +1,7 @@