Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
266922bb
Commit
266922bb
authored
Dec 05, 2017
by
Tommy Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The value in config/module.php is placeholders_table (plural)
parent
680a9415
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
EmailTemplatePlaceholderTableSeeder.php
database/seeds/EmailTemplatePlaceholderTableSeeder.php
+2
-2
No files found.
database/seeds/EmailTemplatePlaceholderTableSeeder.php
View file @
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.placeholder
s
_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.placeholder
s
_table'
))
->
insert
(
$data
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment