Commit 5858fb5b authored by Julien Schröter's avatar Julien Schröter
Browse files

Increase user's initial level to 1

parent 2054ce68
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment