move patch sql to 3.4.0

This commit is contained in:
UlricQin 2021-01-08 16:11:38 +08:00
parent 7289636d35
commit 312c2d1574
2 changed files with 3 additions and 5 deletions

View File

@ -1,5 +0,0 @@
set names utf8;
use n9e_rdb;
alter table session add `access_token` char(128) default '' after sid;
alter table session add key (`access_token`);

View File

@ -40,3 +40,6 @@ alter table user add `pwd_updated_at` bigint not null default 0 after updat
alter table user add `logged_at` bigint not null default 0 after pwd_updated_at;
alter table user add `passwords` varchar(512) not null default '' after password;
alter table login_log add `err` varchar(128) not null default '' after loginout;
alter table session add `access_token` char(128) default '' after sid;
alter table session add key (`access_token`);