function sms_receive_install in SMS Framework 5
File
- modules/
sms_receive/ sms_receive.install, line 2
Code
function sms_receive_install() {
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
db_query("CREATE TABLE {sms_receive} (\n `mid` int(10) unsigned NOT NULL,\n `number` varchar(255) NOT NULL,\n `message` varchar(255) NOT NULL,\n `time` varchar(255) NOT NULL,\n PRIMARY KEY (`mid`)\n )/*!40100 DEFAULT CHARACTER SET utf8 */");
break;
}
}