You are here

emvideo.install in Asset 7

Install/Update/Uninstall functions for emvideo module.

File

modules/emvideo/emvideo.install
View source
<?php

/**
 * @file
 * Install/Update/Uninstall functions for emvideo module.
 */

/**
 * Implements hook_field_schema().
 */
function emvideo_field_schema($field) {
  return array(
    'columns' => array(
      'url' => array(
        'type' => 'text',
        'size' => 'normal',
        'not null' => FALSE,
      ),
      'provider' => array(
        'type' => 'varchar',
        'length' => 255,
        'not null' => FALSE,
      ),
      'source' => array(
        'type' => 'text',
        'size' => 'normal',
        'not null' => FALSE,
      ),
      'snapshot' => array(
        'type' => 'varchar',
        'length' => 255,
        'not null' => FALSE,
      ),
    ),
    'indexes' => array(
      'url' => array(
        array(
          'url',
          255,
        ),
      ),
      'provider' => array(
        'provider',
      ),
      'source' => array(
        array(
          'source',
          255,
        ),
      ),
    ),
  );
}

Functions

Namesort descending Description
emvideo_field_schema Implements hook_field_schema().