function jw_player_update_7002 in JW Player 7.2
Ensure that the {jwplayer_preset}.machine_name column does not allow NULL.
File
- ./
jw_player.install, line 135 - Install, update and uninstall functions for the JW Player module.
Code
function jw_player_update_7002() {
db_change_field('jwplayer_preset', 'machine_name', 'machine_name', array(
'type' => 'varchar',
'length' => 255,
'description' => 'Unique machine name for every configuration preset.',
'not null' => TRUE,
));
}