diff --git a/CHANGELOG.md b/CHANGELOG.md index 37a638853..89ef72690 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines. ## v0.7.17 (Derelict Dermodactylus) ### Fixed * Fixes database passwords not being generated with the proper requirements for some MySQL setups. +* Hostnames that are not FQDNs/IP addresses can now be used for connecting to a MySQL host. ## v0.7.16 (Derelict Dermodactylus) ### Fixed diff --git a/app/Models/DatabaseHost.php b/app/Models/DatabaseHost.php index c564f725b..f48977b1b 100644 --- a/app/Models/DatabaseHost.php +++ b/app/Models/DatabaseHost.php @@ -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',