Commit 7bd1501d authored by Viral Solani's avatar Viral Solani

Truncate history table from seeder

parent 33c924ca
...@@ -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
*/ */
......
...@@ -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 = [
[ [
......
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