You are here

animate_any.install in Animate Any 7

Same filename and directory in other branches
  1. 8 animate_any.install

Install, update and uninstall functions for the animate any module.

File

animate_any.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the animate any module.
 */

/**
 * Implements hook_schema().
 */
function animate_any_schema() {
  $schema['animate_any'] = array(
    'description' => 'The base table for nodes.',
    'fields' => array(
      'aid' => array(
        'description' => 'The primary identifier for a animate table.',
        'type' => 'serial',
        'unsigned' => TRUE,
        'not null' => TRUE,
      ),
      'parent' => array(
        'description' => 'Parent class entry',
        'type' => 'varchar',
        'length' => 100,
        'not null' => TRUE,
        'default' => '',
      ),
      'identifier' => array(
        'description' => 'JSON data of identifier and animation',
        'type' => 'text',
        'not null' => TRUE,
      ),
    ),
    'primary key' => array(
      'aid',
    ),
  );
  return $schema;
}

Functions

Namesort descending Description
animate_any_schema Implements hook_schema().