Commit 266922bb authored by Tommy Cox's avatar Tommy Cox

The value in config/module.php is placeholders_table (plural)

parent 680a9415
...@@ -14,7 +14,7 @@ class EmailTemplatePlaceholderTableSeeder extends Seeder ...@@ -14,7 +14,7 @@ class EmailTemplatePlaceholderTableSeeder extends Seeder
public function run() public function run()
{ {
if (env('DB_CONNECTION') == 'mysql') { if (env('DB_CONNECTION') == 'mysql') {
DB::table(config('module.email_templates.placeholder_table'))->truncate(); DB::table(config('module.email_templates.placeholders_table'))->truncate();
} }
$data = [ $data = [
...@@ -75,6 +75,6 @@ class EmailTemplatePlaceholderTableSeeder extends Seeder ...@@ -75,6 +75,6 @@ class EmailTemplatePlaceholderTableSeeder extends Seeder
], ],
]; ];
DB::table(config('module.email_templates.placeholder_table'))->insert($data); DB::table(config('module.email_templates.placeholders_table'))->insert($data);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment