You are here

function heartbeat_install_table_user_templates in Heartbeat 8

Same name and namespace in other branches
  1. 7 heartbeat.install \heartbeat_install_table_user_templates()

File

./heartbeat.install, line 298
Install, update and uninstall functions for the node module.

Code

function heartbeat_install_table_user_templates() {
  return array(
    'description' => 'Table that connects translations of the same activity.',
    'fields' => array(
      'uid' => array(
        'type' => 'int',
        'not null' => TRUE,
        'description' => 'The referenced user ID.',
      ),
      'message_id' => array(
        'type' => 'varchar',
        'length' => 250,
        'not null' => FALSE,
        'default' => '',
        'description' => 'The template message ID.',
      ),
      'status' => array(
        'type' => 'int',
        'not null' => TRUE,
        'description' => 'The status of the template.',
      ),
    ),
  );
}