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
7bd1501d
Commit
7bd1501d
authored
Mar 14, 2018
by
Viral Solani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Truncate history table from seeder
parent
33c924ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
access.php
config/access.php
+5
-0
HistoryTypeTableSeeder.php
database/seeds/HistoryTypeTableSeeder.php
+1
-0
No files found.
config/access.php
View file @
7bd1501d
...
@@ -70,6 +70,11 @@ return [
...
@@ -70,6 +70,11 @@ return [
*/
*/
'history_types_table'
=>
'history_types'
,
'history_types_table'
=>
'history_types'
,
/*
* History table used to store History
*/
'history_table'
=>
'history'
,
/*
/*
* Notifications table used to store user notification
* Notifications table used to store user notification
*/
*/
...
...
database/seeds/HistoryTypeTableSeeder.php
View file @
7bd1501d
...
@@ -22,6 +22,7 @@ class HistoryTypeTableSeeder extends Seeder
...
@@ -22,6 +22,7 @@ class HistoryTypeTableSeeder extends Seeder
{
{
$this
->
disableForeignKeys
();
$this
->
disableForeignKeys
();
$this
->
truncate
(
config
(
'access.history_types_table'
));
$this
->
truncate
(
config
(
'access.history_types_table'
));
$this
->
truncate
(
config
(
'access.history_table'
));
$types
=
[
$types
=
[
[
[
...
...
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