Ajout champs unique sur le nom des settings
This commit is contained in:
parent
f3e62db6cd
commit
f31c631eba
|
@ -8,7 +8,8 @@ CREATE TABLE IF NOT EXISTS settings
|
|||
id INT NOT NULL AUTO_INCREMENT,
|
||||
name VARCHAR(20) NOT NULL,
|
||||
value VARCHAR(1000) NOT NULL,
|
||||
PRIMARY KEY (id)
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE (name)
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS receiveds
|
||||
|
|
Loading…
Reference in New Issue