Dont require an IP address for hostnames; closes #1728
This commit is contained in:
parent
05d859c985
commit
41cbdb8d59
2 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,7 @@ class DatabaseHost extends Model implements CleansAttributes, ValidableContract
|
|||
*/
|
||||
protected static $dataIntegrityRules = [
|
||||
'name' => 'string|max:255',
|
||||
'host' => 'ip|unique:database_hosts,host',
|
||||
'host' => 'unique:database_hosts,host',
|
||||
'port' => 'numeric|between:1,65535',
|
||||
'username' => 'string|max:32',
|
||||
'password' => 'nullable|string',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue