We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit f30dc8c7 authored by jurgbohn's avatar jurgbohn

Unique on location_uri

parent 6085e59d
......@@ -45,7 +45,7 @@ if (isset($_POST['install'])) {
//Create tables
$res = $mdb2->query("CREATE TABLE Places(
location_uri VARCHAR(255),
location_uri VARCHAR(255) unique,
latitude FLOAT,
longitude FLOAT,
country CHAR(2));");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment