Verified Commit d65a7bae authored by David Beniamine's avatar David Beniamine
Browse files

Add missing table to test database

parent b5349171
......@@ -623,8 +623,21 @@ CREATE TABLE `link_extplatform_user` (
CONSTRAINT `link_extplatform_user_ibfk_1` FOREIGN KEY (`id_user`) REFERENCES `user` (`id_user`) ON DELETE CASCADE,
CONSTRAINT `link_extplatform_user_ibfk_2` FOREIGN KEY (`id_extplatform`) REFERENCES `extplatform` (`id_extplatform`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
SET FOREIGN_KEY_CHECKS=1;
--
-- Table structure for table `link_annotation_learner`
--
DROP TABLE IF EXISTS `link_annotation_learner`;
CREATE TABLE `link_annotation_learner` (
`id_annotation` int(10) unsigned NOT NULL,
`id_user` int(10) unsigned NOT NULL,
PRIMARY KEY (`id_annotation`,`id_user`),
KEY `id_user` (`id_user`),
CONSTRAINT `link_annotation_learner_ibfk_1` FOREIGN KEY (`id_user`) REFERENCES `user` (`id_user`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `link_annotation_learner_ibfk_2` FOREIGN KEY (`id_annotation`) REFERENCES `annotation` (`id_annotation`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
SET FOREIGN_KEY_CHECKS=1;
--
-- data
......
Supports Markdown
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