Unverified Commit 09528605 authored by Viral Solani's avatar Viral Solani Committed by GitHub

Merge pull request #62 from tommycox/fix_db_seed

The key in config/module.php is placeholders_table (plural)
parents 680a9415 266922bb
......@@ -14,7 +14,7 @@ class EmailTemplatePlaceholderTableSeeder extends Seeder
public function run()
{
if (env('DB_CONNECTION') == 'mysql') {
DB::table(config('module.email_templates.placeholder_table'))->truncate();
DB::table(config('module.email_templates.placeholders_table'))->truncate();
}
$data = [
......@@ -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