ACARS table vs int to double (#1028)

* mail config - "driver" to "default"

* Change VS type from int to double

* Migration fix

* Fix type
This commit is contained in:
Nabeel S 2021-02-10 13:39:40 -05:00 committed by GitHub
parent 4a20b41b25
commit d110c2d951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 2 deletions

View File

@ -0,0 +1,18 @@
<?php
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
/**
* Change the vertical speed for the acars table to a double
*/
class ChangeAcarsVsType extends Migration
{
public function up()
{
Schema::table('acars', function (Blueprint $table) {
$table->float('vs')->change()->default(0.0)->nullable();
});
}
}

View File

@ -15,8 +15,7 @@ return [
|
*/
'driver' => env('MAIL_DRIVER', 'smtp'),
'default' => env('MAIL_DRIVER', 'smtp'),
'mailers' => [
'smtp' => [
'transport' => 'smtp',
@ -71,4 +70,21 @@ return [
'address' => env('MAIL_FROM_ADDRESS', 'no-reply@phpvms.net'),
],
/*
|--------------------------------------------------------------------------
| Markdown Mail Settings
|--------------------------------------------------------------------------
|
| If you are using Markdown based email rendering, you may configure your
| theme and component paths here, allowing you to customize the design
| of the emails. Or, you may simply stick with the Laravel defaults!
|
*/
'markdown' => [
'theme' => 'default',
'paths' => [
resource_path('views/vendor/mail'),
],
],
];