mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-07 21:07:14 +00:00
Change c_user_session to varchar and update constraints
This commit is contained in:
1 parent
dbf27badb4
commit
5e627db80d
1 file changed
+2
-2
@@ -166,11 +166,11 @@ CREATE TABLE sogo_admin (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
CREATE TABLE sogo_opend_id (
|
||||
c_user_session text NOT NULL,
|
||||
c_user_session varchar(255) NOT NULL,
|
||||
c_old_session text DEFAULT '',
|
||||
c_session_started int(11) NOT NULL,
|
||||
c_refresh_token text DEFAULT '',
|
||||
c_access_token_expires_in int(11) DEFAULT '',
|
||||
c_access_token_expires_in int(11) NOT NULL,
|
||||
c_refresh_token_expires_in int(11) DEFAULT NULL,
|
||||
PRIMARY KEY (c_user_session)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
Reference in new issue
Block a user