mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-07 15:16:27 +02:00
Ajout champs unique sur le nom des settings
This commit is contained in:
parent
aa68606185
commit
f39a8f7ceb
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ CREATE TABLE IF NOT EXISTS settings
|
||||||
id INT NOT NULL AUTO_INCREMENT,
|
id INT NOT NULL AUTO_INCREMENT,
|
||||||
name VARCHAR(20) NOT NULL,
|
name VARCHAR(20) NOT NULL,
|
||||||
value VARCHAR(1000) NOT NULL,
|
value VARCHAR(1000) NOT NULL,
|
||||||
PRIMARY KEY (id)
|
PRIMARY KEY (id),
|
||||||
|
UNIQUE (name)
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS receiveds
|
CREATE TABLE IF NOT EXISTS receiveds
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue