function search_api_algolia_schema in Search API Algolia 3.0.x
Implements hook_schema().
1 call to search_api_algolia_schema()
- search_api_algolia_update_8002 in ./
search_api_algolia.install - Implements hook_update_N().
File
- ./
search_api_algolia.install, line 53 - Install file.
Code
function search_api_algolia_schema() {
$schema['search_api_algolia_deleted_items'] = [
'description' => 'The base table for search_api_algolia_deleted_items entities.',
'fields' => [
'id' => [
'type' => 'serial',
'length' => 10,
'not null' => TRUE,
'unsigned' => TRUE,
],
'index_id' => [
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
],
'object_id' => [
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
],
],
'primary key' => [
'id',
],
'indexes' => [
'indexing' => [
'id',
],
],
];
return $schema;
}