More logic for deleting databases
This commit is contained in:
parent
9be2aa4ca9
commit
0999ec93c3
5 changed files with 68 additions and 35 deletions
|
@ -143,6 +143,14 @@ class Server extends Model implements CleansAttributes, ValidableContract
|
|||
return Schema::getColumnListing($this->getTable());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isInstalled(): bool
|
||||
{
|
||||
return $this->installed === 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the user who owns the server.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue