Merge pull request #7029 from JakubOnderka/galaxy-cluster-description

chg: [galaxy] Make Galaxy cluster description optional
pull/7055/head
Jakub Onderka 2021-02-19 16:40:11 +01:00 committed by GitHub
commit 2e6e5d825a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 7 deletions

View File

@ -24,15 +24,10 @@ class GalaxyCluster extends AppModel
'rule' => array('stringNotEmpty') 'rule' => array('stringNotEmpty')
) )
), ),
'description' => array(
'stringNotEmpty' => array(
'rule' => array('stringNotEmpty')
)
),
'uuid' => array( 'uuid' => array(
'uuid' => array( 'uuid' => array(
'rule' => array('custom', '/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/'), 'rule' => 'uuid',
'message' => 'Please provide a valid UUID' 'message' => 'Please provide a valid RFC 4122 UUID'
), ),
'unique' => array( 'unique' => array(
'rule' => 'isUnique', 'rule' => 'isUnique',