update: user remarks

This commit is contained in:
tokumeikoi 2021-01-21 23:29:15 +09:00
parent f7a7c21c16
commit 007b10d925
4 changed files with 241 additions and 236 deletions

View File

@ -27,7 +27,8 @@ class UserUpdate extends FormRequest
'u' => 'integer',
'd' => 'integer',
'balance' => 'integer',
'commission_balance' => 'integer'
'commission_balance' => 'integer',
'remarks' => 'nullable'
];
}

View File

@ -322,6 +322,7 @@ CREATE TABLE `v2_user` (
`remind_expire` tinyint(4) DEFAULT 1,
`remind_traffic` tinyint(4) DEFAULT 1,
`token` char(32) NOT NULL,
`remarks` text DEFAULT NULL,
`expired_at` bigint(20) DEFAULT 0,
`created_at` int(11) NOT NULL,
`updated_at` int(11) NOT NULL,
@ -330,4 +331,4 @@ CREATE TABLE `v2_user` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- 2020-12-24 14:02:39
-- 2021-01-21 14:25:17

View File

@ -391,3 +391,6 @@ CREATE TABLE `v2_stat_order` (
ALTER TABLE `v2_user`
DROP `enable`;
ALTER TABLE `v2_user`
ADD `remarks` text COLLATE 'utf8_general_ci' NULL AFTER `token`;

File diff suppressed because one or more lines are too long