From b0075493682f31d85e5c226182dfc8012e1107b1 Mon Sep 17 00:00:00 2001
From: Rhys Nute <nuterd@cardiff.ac.uk>
Date: Tue, 5 Dec 2023 18:52:41 +0000
Subject: [PATCH] foreign keys

---
 src/main/resources/schema.sql | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/main/resources/schema.sql b/src/main/resources/schema.sql
index 76082a18..2174c9a9 100644
--- a/src/main/resources/schema.sql
+++ b/src/main/resources/schema.sql
@@ -2,8 +2,7 @@ drop table if exists trails;
 create table if not exists trails
 (
     trailID bigint auto_increment primary key,
-    name varchar(128),
-    FOREIGN KEY (trailID) REFERENCES locations(trailID)
+    name varchar(128)
 )   engine=InnoDB;
 
 drop table if exists locations;
-- 
GitLab