sql/mysql.sql
...略... CREATE TABLE `my_action_apply` ( `apply_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT '報名編號', `uid` smallint(6) NOT NULL COMMENT '使用者編號', `action_id` smallint(6) NOT NULL COMMENT '活動編號', `phone` varchar(255) NOT NULL COMMENT '聯絡電話', `apply_date` datetime NOT NULL COMMENT '報名時間', PRIMARY KEY (`apply_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; ...略...
$ApplyModel->set_require('phone', ['custom' => 'phone']);
進階搜尋