function sms_user_update_1 in SMS Framework 7
Same name and namespace in other branches
- 5 modules/sms_user/sms_user.install \sms_user_update_1()
- 6.2 modules/sms_user/sms_user.install \sms_user_update_1()
Drop the now dead delta field, and change primary key to number.
File
- modules/
sms_user/ sms_user.install, line 118 - Install, update and uninstall functions for the sms_user module.
Code
function sms_user_update_1() {
db_drop_primary_key('sms_user');
db_add_primary_key('sms_user', array(
'number',
));
db_add_index('sms_user', 'uid', array(
'uid',
));
db_drop_field('sms_user', 'delta');
}