aboutsummaryrefslogtreecommitdiff
path: root/plugins/video_zencoder/video_zencoder.install
diff options
context:
space:
mode:
authorHeshan Wanigasooriya <heshanmw@gmail.com>2010-12-05 12:52:20 +0000
committerHeshan Wanigasooriya <heshanmw@gmail.com>2010-12-05 12:52:20 +0000
commit973537f36c8f33473a00190aa64fc30b82d94c04 (patch)
tree2c2f99a3bd254b145453fab186fdc824d34a260f /plugins/video_zencoder/video_zencoder.install
parent07e453e2ff2f66017eb49cc0374aa1531805a043 (diff)
downloadvideo-973537f36c8f33473a00190aa64fc30b82d94c04.tar.gz
video-973537f36c8f33473a00190aa64fc30b82d94c04.tar.bz2
Removing all files
Diffstat (limited to 'plugins/video_zencoder/video_zencoder.install')
-rw-r--r--plugins/video_zencoder/video_zencoder.install116
1 files changed, 0 insertions, 116 deletions
diff --git a/plugins/video_zencoder/video_zencoder.install b/plugins/video_zencoder/video_zencoder.install
deleted file mode 100644
index 31c54a1..0000000
--- a/plugins/video_zencoder/video_zencoder.install
+++ /dev/null
@@ -1,116 +0,0 @@
-<?php
-// $Id$
-/**
- * @file
- * Provides installation functions for video_s3.module.
- */
-
-/**
- * Implementation of hook_schema().
- */
-function video_zencoder_schema() {
- $schema['video_zencoder'] = array(
- 'description' => t('Store video s3 cdn and convert with zencoder webservice'),
- 'fields' => array(
- 'vid' => array(
- 'description' => t('Auto Increment id'),
- 'type' => 'serial',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- ),
- 'fid' => array(
- 'description' => t('Original file id'),
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- ),
- 'nid' => array(
- 'description' => t('Node id'),
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- ),
- 'jobid' => array(
- 'description' => t('Job id'),
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- ),
- 'outputid' => array(
- 'description' => t('Job Output id'),
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- ),
- 'bucket' => array(
- 'type' => 'varchar',
- 'length' => '255',
- 'default' => '',
- 'description' => t('The bucket the video is stored in.'),
- ),
- 'filename' => array(
- 'type' => 'varchar',
- 'length' => '255',
- 'default' => '',
- 'description' => t('The filename of the video.'),
- ),
- 'filepath' => array(
- 'type' => 'varchar',
- 'length' => '255',
- 'default' => '',
- 'description' => t('The filepath of the video.'),
- ),
- 'filemime' => array(
- 'type' => 'varchar',
- 'length' => '255',
- 'default' => '',
- 'description' => t('The filemime of the video.'),
- ),
- 'filesize' => array(
- 'description' => t('Filesize of the video.'),
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- ),
- 'status' => array(
- 'description' => t('Status of the cdn transfer'),
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- ),
- 'completed' => array(
- 'description' => t('Time of successful completion to amazon.'),
- 'type' => 'int',
- 'not null' => TRUE,
- 'default' => 0,
- ),
- ),
- 'indexes' => array(
- 'status' => array('status'),
- 'file' => array('fid'),
- ),
- 'primary key' => array('vid'),
- );
- return $schema;
-}
-
-/**
- * Implementation of hook_install().
- */
-function video_zencoder_install() {
- drupal_install_schema('video_zencoder');
-}
-
-/**
- * Implementation of hook_uninstall().
- */
-function video_zencoder_uninstall() {
- drupal_uninstall_schema('video_zencoder');
- // TODO : Delete our variables.
-} \ No newline at end of file