Organisations are now soft-deleted
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
namespace UserFrosting\Sprinkle\Organisations\Database\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Capsule\Manager as DB;
|
||||
use UserFrosting\Sprinkle\Core\Database\Models\Model;
|
||||
use UserFrosting\Sprinkle\Organisations\Database\Models\Interfaces\OrganisationInterface;
|
||||
@@ -29,6 +30,8 @@ use UserFrosting\Sprinkle\Organisations\Database\Models\Interfaces\OrganisationI
|
||||
*/
|
||||
class Organisation extends Model implements OrganisationInterface
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
/**
|
||||
* @var string The name of the table for the current model.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user