From effc4db088762bc1873ac7b1662c122d5500f2d3 Mon Sep 17 00:00:00 2001 From: Sean Clarke Date: Sat, 4 Jan 2020 23:48:20 -0500 Subject: [PATCH] added unique constraint to sites locations --- database/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/build.js b/database/build.js index 5d42161..23f3dff 100644 --- a/database/build.js +++ b/database/build.js @@ -23,7 +23,7 @@ con.connect(function(err) { longitude varchar(255),\ description varchar(5000),\ site varchar(255),\ - unesco_unique int,\ + unesco_unique int UNIQUE,\ PRIMARY KEY (id)\ )", function(err, res){ if (err) throw err;