Fix clearing of configs when seeding
This commit is contained in:
@@ -90,6 +90,18 @@ class Repository
|
||||
$this->model->where('name', $name)->delete();
|
||||
}
|
||||
|
||||
/**
|
||||
* Truncate all settings.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function truncate()
|
||||
{
|
||||
$this->stale = true;
|
||||
|
||||
$this->model->query()->delete();
|
||||
}
|
||||
|
||||
/**
|
||||
* Is the config state stale?
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user