Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
25caa5b0
Unverified
Commit
25caa5b0
authored
Mar 27, 2022
by
Helmo
Browse files
Add none type
parent
6c992998
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/sql/incremental/upd_dev_collection.sql
View file @
25caa5b0
ALTER
TABLE
`sys_user`
ADD
`otp_type`
SET
(
'email'
)
NOT
NULL
DEFAULT
'
email
'
AFTER
`otp_enabled`
,
ADD
`otp_data`
VARCHAR
(
255
)
NULL
AFTER
`otp_type`
,
ADD
`otp_recovery`
VARCHAR
(
64
)
NULL
AFTER
`otp_data`
,
ADD
`otp_attempts`
TINYINT
NOT
NULL
DEFAULT
'0'
AFTER
`otp_recovery`
;
ALTER
TABLE
`sys_user`
ADD
`otp_type`
SET
(
'none'
,
'email'
)
NOT
NULL
DEFAULT
'
none
'
AFTER
`otp_enabled`
,
ADD
`otp_data`
VARCHAR
(
255
)
NULL
AFTER
`otp_type`
,
ADD
`otp_recovery`
VARCHAR
(
64
)
NULL
AFTER
`otp_data`
,
ADD
`otp_attempts`
TINYINT
NOT
NULL
DEFAULT
'0'
AFTER
`otp_recovery`
;
install/sql/ispconfig3.sql
View file @
25caa5b0
...
...
@@ -1842,7 +1842,7 @@ CREATE TABLE `sys_user` (
`lost_password_function`
tinyint
(
1
)
NOT
NULL
default
'1'
,
`lost_password_hash`
VARCHAR
(
50
)
NOT
NULL
default
''
,
`lost_password_reqtime`
DATETIME
NULL
default
NULL
,
`otp_type`
set
(
'email'
)
NOT
NULL
DEFAULT
'
email
'
,
`otp_type`
set
(
'none'
,
'email'
)
NOT
NULL
DEFAULT
'
none
'
,
`otp_data`
varchar
(
255
)
DEFAULT
NULL
,
`otp_recovery`
varchar
(
64
)
DEFAULT
NULL
,
`otp_attempts`
tinyint
(
4
)
NOT
NULL
DEFAULT
0
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment