Skip to content

Commit

Permalink
Addresses #168 Add crms.user_pages to schema
Browse files Browse the repository at this point in the history
- No code changes so no need to test outside Docker.
  • Loading branch information
moseshll committed Jun 12, 2024
1 parent c744b9c commit ff28a5e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docker/db/sql/001_crms_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,18 @@ CREATE TABLE `userstats` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `user_pages`
--

DROP TABLE IF EXISTS `user_pages`;
CREATE TABLE `user_pages` (
`user` varchar(64) NOT NULL,
`page` varchar(32) NOT NULL,
KEY `user_pages_ibfk_user` (`user`),
CONSTRAINT `user_pages_ibfk_user` FOREIGN KEY (`user`) REFERENCES `users` (`id`) ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Table structure for table `viaf`
--
Expand Down Expand Up @@ -1214,7 +1226,6 @@ CREATE TABLE cron_recipients (
CONSTRAINT `cron_recipients_fk_cron_id` FOREIGN KEY (`cron_id`) REFERENCES `cron` (`id`) ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
Expand Down

0 comments on commit ff28a5e

Please sign in to comment.