aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-11-01 16:35:05 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-11-01 16:35:05 +0100
commit62a02d770cb59b13195aacc7e48f59094008b1d4 (patch)
tree672dcba2f93ce1635f25ee7d8b97629e5fba7574 /web
parent93d759e4cbd765e8f67123ae085160f30c4477ae (diff)
downloadbuildroot-test-62a02d770cb59b13195aacc7e48f59094008b1d4.tar.gz
buildroot-test-62a02d770cb59b13195aacc7e48f59094008b1d4.tar.bz2
schema.sql: add missing constraint in config_symbol table
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'web')
-rw-r--r--web/schema.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/schema.sql b/web/schema.sql
index 79806f3..929ceed 100644
--- a/web/schema.sql
+++ b/web/schema.sql
@@ -18,6 +18,7 @@ CREATE TABLE `config_symbol` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '',
`value` varchar(255) NOT NULL DEFAULT '',
+ CONSTRAINT unique_entry UNIQUE (name,value),
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;