2 * Implements hook_schema().
4 function {{ machine_name }}_schema() {
6 // Example (partial) specification for table "node".
7 'description' => 'The base table for nodes.',
10 'description' => 'The primary identifier for a node.',
16 'description' => 'The current {node_field_revision}.vid version identifier.',
23 'description' => 'The type of this node.',
30 'description' => 'The node title.',
38 'node_changed' => ['changed'],
39 'node_created' => ['created'],
42 'nid_vid' => ['nid', 'vid'],
45 // For documentation purposes only; foreign keys are not created in the
49 'table' => 'node_field_revision',
50 'columns' => ['vid' => 'vid'],
54 'columns' => ['uid' => 'uid'],
57 'primary key' => ['nid'],