function brightcove_update_7001 in Brightcove Video Connect 7.5
Same name and namespace in other branches
- 7.2 brightcove.install \brightcove_update_7001()
- 7.3 brightcove.install \brightcove_update_7001()
- 7.4 brightcove.install \brightcove_update_7001()
Adds brightcove_player table.
File
- ./
brightcove.install, line 78 - Installation file for Brightcove module.
Code
function brightcove_update_7001() {
db_create_table('brightcove_player', array(
'description' => 'Stores brightcove players.',
'fields' => array(
'name' => array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
),
'player_id' => array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
),
'player_key' => array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
),
),
'primary key' => array(
'name',
),
'unique keys' => array(
'name' => array(
'name',
),
),
));
}