Update core 8.3.0
This commit is contained in:
parent
da7a7918f8
commit
cd7a898e66
6144 changed files with 132297 additions and 87747 deletions
|
@ -9,27 +9,27 @@
|
|||
* Implements hook_schema().
|
||||
*/
|
||||
function ban_schema() {
|
||||
$schema['ban_ip'] = array(
|
||||
$schema['ban_ip'] = [
|
||||
'description' => 'Stores banned IP addresses.',
|
||||
'fields' => array(
|
||||
'iid' => array(
|
||||
'fields' => [
|
||||
'iid' => [
|
||||
'description' => 'Primary Key: unique ID for IP addresses.',
|
||||
'type' => 'serial',
|
||||
'unsigned' => TRUE,
|
||||
'not null' => TRUE,
|
||||
),
|
||||
'ip' => array(
|
||||
],
|
||||
'ip' => [
|
||||
'description' => 'IP address',
|
||||
'type' => 'varchar_ascii',
|
||||
'length' => 40,
|
||||
'not null' => TRUE,
|
||||
'default' => '',
|
||||
),
|
||||
),
|
||||
'indexes' => array(
|
||||
'ip' => array('ip'),
|
||||
),
|
||||
'primary key' => array('iid'),
|
||||
);
|
||||
],
|
||||
],
|
||||
'indexes' => [
|
||||
'ip' => ['ip'],
|
||||
],
|
||||
'primary key' => ['iid'],
|
||||
];
|
||||
return $schema;
|
||||
}
|
||||
|
|
Reference in a new issue