From 1220a4b2ee5567d59bd93070c25442de01f5130b Mon Sep 17 00:00:00 2001 From: jakobsn Date: Tue, 12 Nov 2019 12:21:23 +0100 Subject: [PATCH] ... --- mysql/sql/init.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql/sql/init.sql b/mysql/sql/init.sql index cdadd43..281ec6f 100644 --- a/mysql/sql/init.sql +++ b/mysql/sql/init.sql @@ -109,7 +109,7 @@ CREATE TABLE delivery ( ); CREATE TABLE task_offer ( - offerid INT UNSIGNED AUTO_INCREMENT,1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`db`.`tasks`, CONSTRAINT `tasks_ibfk_1` FOREIGN KEY (`teamid`) REFERENCES `teams` (`teamid`)) + offerid INT UNSIGNED AUTO_INCREMENT, taskid INT UNSIGNED NOT NULL, title VARCHAR(200) NOT NULL, price INT,