Dont require an IP address for hostnames; closes #1728

This commit is contained in:
Dane Everitt 2020-03-15 16:29:05 -07:00
parent 05d859c985
commit 41cbdb8d59
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 2 additions and 1 deletions

View file

@ -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',