Skip to content

Commit

Permalink
Database update
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincharles committed Apr 7, 2023
1 parent 7001361 commit 9d23ae5
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions doenet_docker/volumes/db_init/db_template.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# Host: 127.0.0.1 (MySQL 8.0.32)
# Database: doenet_local
# Generation Time: 2023-04-07 13:12:11 +0000
# Generation Time: 2023-04-07 18:02:13 +0000
# ************************************************************


Expand Down Expand Up @@ -626,14 +626,15 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `link_pages`;

CREATE TABLE `link_pages` (
`courseId` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`containingDoenetId` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`parentDoenetId` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`doenetId` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`sourceCollectionDoenetId` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`sourcePageDoenetId` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`courseId` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`containingDoenetId` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`parentDoenetId` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`doenetId` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`sourceCollectionDoenetId` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`sourcePageDoenetId` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`label` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`timeOfLastUpdate` datetime DEFAULT NULL
`timeOfLastUpdate` datetime DEFAULT NULL,
PRIMARY KEY (`doenetId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;


Expand Down

0 comments on commit 9d23ae5

Please sign in to comment.