servermgrv2 init...

This commit is contained in:
최준흠 2023-07-19 13:08:34 +09:00
parent b040b4d006
commit c563e7d0c0

View File

@ -8,7 +8,7 @@ class UserSNSModel extends CommonModel
{
protected $table = 'tw_user_sns';
// protected $primaryKey = 'uid';
protected $useAutoIncrement = false;
// protected $useAutoIncrement = true;
protected $allowedFields = ['user_uid', 'site', 'id', 'name', 'email', 'detail', 'status', 'updated_at', 'created_at'];
protected $validationRules = [
'user_uid' => 'if_exist|regex_match[/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/]',