Skip to content

Commit 7bd1501

Browse files
committed
Truncate history table from seeder
1 parent 33c924c commit 7bd1501

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

config/access.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@
7070
*/
7171
'history_types_table' => 'history_types',
7272

73+
/*
74+
* History table used to store History
75+
*/
76+
'history_table' => 'history',
77+
7378
/*
7479
* Notifications table used to store user notification
7580
*/

database/seeds/HistoryTypeTableSeeder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public function run()
2222
{
2323
$this->disableForeignKeys();
2424
$this->truncate(config('access.history_types_table'));
25+
$this->truncate(config('access.history_table'));
2526

2627
$types = [
2728
[

0 commit comments

Comments
 (0)