diff --git a/createDatabase.sql b/createDatabase.sql index 964d872..f4e8c61 100755 --- a/createDatabase.sql +++ b/createDatabase.sql @@ -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