Merge pull request #18573 from edx/testeng/bokchoy_auto_cache_update_45aa4f7de62a1d1222e1dceb878f07217eb0358c

Bokchoy db cache update
This commit is contained in:
Michael Youngstrom
2018-07-13 14:51:55 -04:00
committed by GitHub
5 changed files with 42 additions and 30 deletions

View File

@@ -1 +1 @@
9ab88d82af61d5b09c4e3829b463c3ed30641df6
45aa4f7de62a1d1222e1dceb878f07217eb0358c

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -2103,7 +2103,7 @@ CREATE TABLE `django_migrations` (
`name` varchar(255) NOT NULL,
`applied` datetime(6) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=469 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB AUTO_INCREMENT=471 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `django_openid_auth_association`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
@@ -3504,25 +3504,30 @@ DROP TABLE IF EXISTS `oauth2_provider_accesstoken`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oauth2_provider_accesstoken` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`token` varchar(255) NOT NULL,
`expires` datetime(6) NOT NULL,
`scope` longtext NOT NULL,
`application_id` int(11) NOT NULL,
`application_id` bigint(20) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`created` datetime(6) NOT NULL,
`updated` datetime(6) NOT NULL,
`source_refresh_token_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `oauth2_provider_accesstoken_token_3f77f86fb4ecbe0f_uniq` (`token`),
UNIQUE KEY `source_refresh_token_id` (`source_refresh_token_id`),
KEY `D5ac3019ee1c474fd85718b015e3d3a1` (`application_id`),
KEY `oauth2_provider_accesst_user_id_5e2f004fdebea22d_fk_auth_user_id` (`user_id`),
CONSTRAINT `D5ac3019ee1c474fd85718b015e3d3a1` FOREIGN KEY (`application_id`) REFERENCES `oauth2_provider_application` (`id`),
CONSTRAINT `oauth2_provider_accesstoken_user_id_6e4c9a65_fk` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
CONSTRAINT `oauth2_provider_acce_source_refresh_token_e66fbc72_fk_oauth2_pr` FOREIGN KEY (`source_refresh_token_id`) REFERENCES `oauth2_provider_refreshtoken` (`id`),
CONSTRAINT `oauth2_provider_accesstoken_application_id_b22886e1_fk` FOREIGN KEY (`application_id`) REFERENCES `oauth2_provider_application` (`id`),
CONSTRAINT `oauth2_provider_accesstoken_user_id_6e4c9a65_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `oauth2_provider_application`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oauth2_provider_application` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`client_id` varchar(100) NOT NULL,
`redirect_uris` longtext NOT NULL,
`client_type` varchar(32) NOT NULL,
@@ -3531,6 +3536,8 @@ CREATE TABLE `oauth2_provider_application` (
`name` varchar(255) NOT NULL,
`user_id` int(11) DEFAULT NULL,
`skip_authorization` tinyint(1) NOT NULL,
`created` datetime(6) NOT NULL,
`updated` datetime(6) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `client_id` (`client_id`),
KEY `oauth2_provider_application_9d667c2b` (`client_secret`),
@@ -3542,38 +3549,43 @@ DROP TABLE IF EXISTS `oauth2_provider_grant`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oauth2_provider_grant` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`code` varchar(255) NOT NULL,
`expires` datetime(6) NOT NULL,
`redirect_uri` varchar(255) NOT NULL,
`scope` longtext NOT NULL,
`application_id` int(11) NOT NULL,
`application_id` bigint(20) NOT NULL,
`user_id` int(11) NOT NULL,
`created` datetime(6) NOT NULL,
`updated` datetime(6) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `oauth2_provider_grant_code_a5c88732687483b_uniq` (`code`),
KEY `D6b2a4f1402d4f338b690c38b795830a` (`application_id`),
KEY `oauth2_provider_grant_user_id_3111344894d452da_fk_auth_user_id` (`user_id`),
CONSTRAINT `D6b2a4f1402d4f338b690c38b795830a` FOREIGN KEY (`application_id`) REFERENCES `oauth2_provider_application` (`id`),
CONSTRAINT `oauth2_provider_grant_user_id_e8f62af8_fk` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
CONSTRAINT `oauth2_provider_grant_application_id_81923564_fk` FOREIGN KEY (`application_id`) REFERENCES `oauth2_provider_application` (`id`),
CONSTRAINT `oauth2_provider_grant_user_id_e8f62af8_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `oauth2_provider_refreshtoken`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oauth2_provider_refreshtoken` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`token` varchar(255) NOT NULL,
`access_token_id` int(11) NOT NULL,
`application_id` int(11) NOT NULL,
`access_token_id` bigint(20) DEFAULT NULL,
`application_id` bigint(20) NOT NULL,
`user_id` int(11) NOT NULL,
`created` datetime(6) NOT NULL,
`updated` datetime(6) NOT NULL,
`revoked` datetime(6) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `access_token_id` (`access_token_id`),
UNIQUE KEY `oauth2_provider_refreshtoken_token_1e4e9388e6a22527_uniq` (`token`),
UNIQUE KEY `oauth2_provider_refreshtoken_token_revoked_af8a5134_uniq` (`token`,`revoked`),
KEY `d3e264ceec355cabed6ff9976fc42a06` (`application_id`),
KEY `oauth2_provider_refresh_user_id_3f695b639cfbc9a3_fk_auth_user_id` (`user_id`),
CONSTRAINT `b58d9cb3b93afb36b11b7741bf1bcc1a` FOREIGN KEY (`access_token_id`) REFERENCES `oauth2_provider_accesstoken` (`id`),
CONSTRAINT `d3e264ceec355cabed6ff9976fc42a06` FOREIGN KEY (`application_id`) REFERENCES `oauth2_provider_application` (`id`),
CONSTRAINT `oauth2_provider_refreshtoken_user_id_da837fce_fk` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
CONSTRAINT `oauth2_provider_refr_access_token_id_775e84e8_fk_oauth2_pr` FOREIGN KEY (`access_token_id`) REFERENCES `oauth2_provider_accesstoken` (`id`),
CONSTRAINT `oauth2_provider_refreshtoken_application_id_2d1c311b_fk` FOREIGN KEY (`application_id`) REFERENCES `oauth2_provider_application` (`id`),
CONSTRAINT `oauth2_provider_refreshtoken_user_id_da837fce_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `oauth2_provider_trustedclient`;
@@ -3612,10 +3624,10 @@ DROP TABLE IF EXISTS `oauth_dispatch_applicationaccess`;
CREATE TABLE `oauth_dispatch_applicationaccess` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`scopes` varchar(825) NOT NULL,
`application_id` int(11) NOT NULL,
`application_id` bigint(20) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `application_id` (`application_id`),
CONSTRAINT `oauth_dispatch_appli_application_id_dcddee6e_fk_oauth2_pr` FOREIGN KEY (`application_id`) REFERENCES `oauth2_provider_application` (`id`)
CONSTRAINT `oauth_dispatch_applicationaccess_application_id_dcddee6e_fk` FOREIGN KEY (`application_id`) REFERENCES `oauth2_provider_application` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `oauth_dispatch_applicationorganization`;
@@ -3624,13 +3636,13 @@ DROP TABLE IF EXISTS `oauth_dispatch_applicationorganization`;
CREATE TABLE `oauth_dispatch_applicationorganization` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`relation_type` varchar(32) NOT NULL,
`application_id` int(11) NOT NULL,
`application_id` bigint(20) NOT NULL,
`organization_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `oauth_dispatch_applicati_application_id_relation__1b4017f2_uniq` (`application_id`,`relation_type`,`organization_id`),
KEY `oauth_dispatch_appli_organization_id_fe63a7f2_fk_organizat` (`organization_id`),
CONSTRAINT `oauth_dispatch_appli_application_id_dea619c6_fk_oauth2_pr` FOREIGN KEY (`application_id`) REFERENCES `oauth2_provider_application` (`id`),
CONSTRAINT `oauth_dispatch_appli_organization_id_fe63a7f2_fk_organizat` FOREIGN KEY (`organization_id`) REFERENCES `organizations_organization` (`id`)
CONSTRAINT `oauth_dispatch_appli_organization_id_fe63a7f2_fk_organizat` FOREIGN KEY (`organization_id`) REFERENCES `organizations_organization` (`id`),
CONSTRAINT `oauth_dispatch_applicatio_application_id_dea619c6_fk` FOREIGN KEY (`application_id`) REFERENCES `oauth2_provider_application` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `oauth_dispatch_restrictedapplication`;
@@ -3638,10 +3650,10 @@ DROP TABLE IF EXISTS `oauth_dispatch_restrictedapplication`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oauth_dispatch_restrictedapplication` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`application_id` int(11) NOT NULL,
`application_id` bigint(20) NOT NULL,
PRIMARY KEY (`id`),
KEY `d0faf25b802e0044a322123f797a61c7` (`application_id`),
CONSTRAINT `d0faf25b802e0044a322123f797a61c7` FOREIGN KEY (`application_id`) REFERENCES `oauth2_provider_application` (`id`)
CONSTRAINT `oauth_dispatch_restrictedapplication_application_id_6b8d0930_fk` FOREIGN KEY (`application_id`) REFERENCES `oauth2_provider_application` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `oauth_provider_consumer`;

View File

@@ -35,7 +35,7 @@ CREATE TABLE `django_migrations` (
`name` varchar(255) NOT NULL,
`applied` datetime(6) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=469 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB AUTO_INCREMENT=471 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;