From d110c2d9513912203436ec8fd7b82c0c874385e0 Mon Sep 17 00:00:00 2001 From: Nabeel S Date: Wed, 10 Feb 2021 13:39:40 -0500 Subject: [PATCH] ACARS table `vs` int to double (#1028) * mail config - "driver" to "default" * Change VS type from int to double * Migration fix * Fix type --- ...2021_02_10_044305_change_acars_vs_type.php | 18 +++++++++++++++++ config/mail.php | 20 +++++++++++++++++-- 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 app/Database/migrations/2021_02_10_044305_change_acars_vs_type.php diff --git a/app/Database/migrations/2021_02_10_044305_change_acars_vs_type.php b/app/Database/migrations/2021_02_10_044305_change_acars_vs_type.php new file mode 100644 index 00000000..6816ce8f --- /dev/null +++ b/app/Database/migrations/2021_02_10_044305_change_acars_vs_type.php @@ -0,0 +1,18 @@ +float('vs')->change()->default(0.0)->nullable(); + }); + } +} diff --git a/config/mail.php b/config/mail.php index 5e8e1095..e06f9153 100755 --- a/config/mail.php +++ b/config/mail.php @@ -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'), + ], + ], ];