Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Akamu
data-schemas
Commits
5858fb5b
Commit
5858fb5b
authored
Feb 11, 2020
by
Julien Schröter
Browse files
Increase user's initial level to 1
parent
2054ce68
Changes
1
Show whitespace changes
Inline
Side-by-side
akamuschema.sql
View file @
5858fb5b
...
...
@@ -334,7 +334,7 @@ CREATE TABLE IF NOT EXISTS `user` (
`email`
VARCHAR
(
45
)
NULL
,
`semester`
INT
UNSIGNED
NULL
,
`experience`
INT
NOT
NULL
,
`level`
INT
UNSIGNED
AS
(
FLOOR
(
SQRT
(
`experience`
)
/
3
))
PERSISTENT
,
`level`
INT
UNSIGNED
AS
(
FLOOR
(
SQRT
(
`experience`
)
/
3
)
+
1
)
PERSISTENT
,
`selected_avatar`
INT
UNSIGNED
NULL
,
`selected_title`
INT
UNSIGNED
NULL
DEFAULT
0
,
`verified`
TINYINT
UNSIGNED
NOT
NULL
DEFAULT
0
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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