Utilise un type VARCHAR pour le mot de passe
This commit is contained in:
1 parent
5ca17e7e59
commit
30054e909a
1 file changed
+1
-1
+1
-1
@@ -1,7 +1,7 @@
|
||||
CREATE TABLE registered_user (
|
||||
id_user SERIAL PRIMARY KEY,
|
||||
login VARCHAR(32) NOT NULL UNIQUE,
|
||||
password CHAR(72) NOT NULL, -- BCrypt
|
||||
password VARCHAR(72) NOT NULL, -- BCrypt
|
||||
role INT NOT NULL DEFAULT 0
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user