first import
This commit is contained in:
47
sites/all/modules/piecemaker/piecemaker.install
Normal file
47
sites/all/modules/piecemaker/piecemaker.install
Normal file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/**
|
||||
* @file Install, Update, and Uninstall hooks
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_schema
|
||||
*/
|
||||
function piecemaker_schema() {
|
||||
$schema['piecemaker_profiles'] = array(
|
||||
'description' => 'Piecemaker Profiles',
|
||||
'fields' => array(
|
||||
'pid' => array(
|
||||
'type' => 'serial',
|
||||
'unsigned' => TRUE,
|
||||
'not null' => TRUE,
|
||||
'description' => 'Profile ID',
|
||||
),
|
||||
'title' => array(
|
||||
'type' => 'varchar',
|
||||
'length' => 255,
|
||||
'not null' => TRUE,
|
||||
'default' => '0',
|
||||
),
|
||||
'settings' => array(
|
||||
'type' => 'text',
|
||||
'not null' => FALSE,
|
||||
'size' => 'big',
|
||||
'serialize' => TRUE,
|
||||
),
|
||||
'transitions' => array(
|
||||
'type' => 'text',
|
||||
'not null' => FALSE,
|
||||
'size' => 'big',
|
||||
'serialize' => TRUE,
|
||||
),
|
||||
'flash_settings' => array(
|
||||
'type' => 'text',
|
||||
'not null' => FALSE,
|
||||
'size' => 'big',
|
||||
'serialize' => TRUE,
|
||||
),
|
||||
),
|
||||
'primary key' => array('pid'),
|
||||
);
|
||||
return $schema;
|
||||
}
|
||||
Reference in New Issue
Block a user