mediafront_user.install in MediaFront 6
File
plugins/mediafront_user/mediafront_user.install
View source
<?php
function mediafront_user_schema() {
$schema['mediafront_user'] = array(
'description' => t('The {mediafront_user} table stores user status data'),
'fields' => array(
'uid' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'verb' => array(
'type' => 'varchar',
'length' => 256,
'not null' => TRUE,
'default' => '',
),
'noun' => array(
'type' => 'varchar',
'length' => 256,
'not null' => TRUE,
'default' => '',
),
),
'indexes' => array(
'uid' => array(
'uid',
),
),
);
return $schema;
}
function mediafront_user_install() {
drupal_install_schema('mediafront_user');
}
function mediafront_user_uninstall() {
drupal_uninstall_schema('mediafront_user');
}
function mediafront_user_enable() {
}
function mediafront_user_disable() {
}