mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix CS
This commit is contained in:
parent
eb485f82b8
commit
009138b326
1 changed files with 13 additions and 13 deletions
|
@ -29,7 +29,7 @@ class DbAclSchema extends CakeSchema {
|
||||||
* Before event.
|
* Before event.
|
||||||
*
|
*
|
||||||
* @param array $event The event data.
|
* @param array $event The event data.
|
||||||
* @return bool success
|
* @return bool Success
|
||||||
*/
|
*/
|
||||||
public function before($event = array()) {
|
public function before($event = array()) {
|
||||||
return true;
|
return true;
|
||||||
|
@ -56,10 +56,10 @@ class DbAclSchema extends CakeSchema {
|
||||||
'lft' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10),
|
'lft' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10),
|
||||||
'rght' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10),
|
'rght' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10),
|
||||||
'indexes' => array(
|
'indexes' => array(
|
||||||
'PRIMARY' => array('column' => 'id', 'unique' => 1),
|
'PRIMARY' => array('column' => 'id', 'unique' => 1),
|
||||||
'idx_acos_lft_rght' => array('column' => array('lft', 'rght'), 'unique' => 0),
|
'idx_acos_lft_rght' => array('column' => array('lft', 'rght'), 'unique' => 0),
|
||||||
'idx_acos_alias' => array('column' => 'alias', 'unique' => 0)
|
'idx_acos_alias' => array('column' => 'alias', 'unique' => 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -74,10 +74,10 @@ class DbAclSchema extends CakeSchema {
|
||||||
'lft' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10),
|
'lft' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10),
|
||||||
'rght' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10),
|
'rght' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10),
|
||||||
'indexes' => array(
|
'indexes' => array(
|
||||||
'PRIMARY' => array('column' => 'id','unique' => 1),
|
'PRIMARY' => array('column' => 'id', 'unique' => 1),
|
||||||
'idx_aros_lft_rght' => array('column' => array('lft', 'rght'), 'unique' => 0),
|
'idx_aros_lft_rght' => array('column' => array('lft', 'rght'), 'unique' => 0),
|
||||||
'idx_aros_alias' => array('column' => 'alias', 'unique' => 0)
|
'idx_aros_alias' => array('column' => 'alias', 'unique' => 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -93,10 +93,10 @@ class DbAclSchema extends CakeSchema {
|
||||||
'_update' => array('type' => 'string', 'null' => false, 'default' => '0', 'length' => 2),
|
'_update' => array('type' => 'string', 'null' => false, 'default' => '0', 'length' => 2),
|
||||||
'_delete' => array('type' => 'string', 'null' => false, 'default' => '0', 'length' => 2),
|
'_delete' => array('type' => 'string', 'null' => false, 'default' => '0', 'length' => 2),
|
||||||
'indexes' => array(
|
'indexes' => array(
|
||||||
'PRIMARY' => array('column' => 'id', 'unique' => 1),
|
'PRIMARY' => array('column' => 'id', 'unique' => 1),
|
||||||
'ARO_ACO_KEY' => array('column' => array('aro_id', 'aco_id'), 'unique' => 1),
|
'ARO_ACO_KEY' => array('column' => array('aro_id', 'aco_id'), 'unique' => 1),
|
||||||
'idx_aco_id' => array('column' => 'aco_id', 'unique' => 0)
|
'idx_aco_id' => array('column' => 'aco_id', 'unique' => 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue