function gutenberg_schema in Gutenberg 8
Same name and namespace in other branches
- 8.2 gutenberg.install \gutenberg_schema()
Implements hook_schema().
1 call to gutenberg_schema()
- gutenberg_update_8001 in ./
gutenberg.install - Add file_managed_data table to database when updating from RC1.
File
- ./
gutenberg.install, line 13 - Install, update and uninstall functions for the gutenberg module.
Code
function gutenberg_schema() {
$schema['file_managed_data'] = [
'description' => '',
'fields' => [
'fid' => [
'description' => 'The {file_managed}.fid this record affects.',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
],
'data' => [
'type' => 'blob',
'size' => 'big',
'description' => 'A serialized configuration object data.',
'not null' => FALSE,
],
],
];
return $schema;
}