| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 | 
							- <?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;
 
- }
 
 
  |