Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
0f9cfbff
Commit
0f9cfbff
authored
9 years ago
by
Jesse Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create a new bok-choy DB cache
parent
fd2b1deb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
124 additions
and
124 deletions
+124
-124
common/test/db_cache/bok_choy_data.json
+0
-0
common/test/db_cache/bok_choy_migrations_data.sql
+4
-4
common/test/db_cache/bok_choy_schema.sql
+120
-120
No files found.
common/test/db_cache/bok_choy_data.json
View file @
0f9cfbff
This source diff could not be displayed because it is too large. You can
view the blob
instead.
This diff is collapsed.
Click to expand it.
common/test/db_cache/bok_choy_migrations_data.sql
View file @
0f9cfbff
-- MySQL dump 10.13 Distrib 5.6.
2
4, for debian-linux-gnu (x86_64)
-- MySQL dump 10.13 Distrib 5.6.
1
4, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: edxtest
-- ------------------------------------------------------
-- Server version 5.6.
24-2+deb.sury.org~precise+2
-- Server version 5.6.
14-1+debphp.org~precise+1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */
;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */
;
...
...
@@ -21,7 +21,7 @@
LOCK
TABLES
`django_migrations`
WRITE
;
/*!40000 ALTER TABLE `django_migrations` DISABLE KEYS */
;
INSERT
INTO
`django_migrations`
VALUES
(
1
,
'contenttypes'
,
'0001_initial'
,
'201
5-12-31 14:56:00.696699'
),(
2
,
'auth'
,
'0001_initial'
,
'2015-12-31 14:56:01.170600'
),(
3
,
'admin'
,
'0001_initial'
,
'2015-12-31 14:56:01.299892'
),(
4
,
'assessment'
,
'0001_initial'
,
'2015-12-31 14:56:06.155369'
),(
5
,
'contenttypes'
,
'0002_remove_content_type_name'
,
'2015-12-31 14:56:06.409538'
),(
6
,
'auth'
,
'0002_alter_permission_name_max_length'
,
'2015-12-31 14:56:06.515068'
),(
7
,
'auth'
,
'0003_alter_user_email_max_length'
,
'2015-12-31 14:56:06.610329'
),(
8
,
'auth'
,
'0004_alter_user_username_opts'
,
'2015-12-31 14:56:06.687373'
),(
9
,
'auth'
,
'0005_alter_user_last_login_null'
,
'2015-12-31 14:56:06.813648'
),(
10
,
'auth'
,
'0006_require_contenttypes_0002'
,
'2015-12-31 14:56:06.826022'
),(
11
,
'bookmarks'
,
'0001_initial'
,
'2015-12-31 14:56:07.366960'
),(
12
,
'branding'
,
'0001_initial'
,
'2015-12-31 14:56:07.712825'
),(
13
,
'bulk_email'
,
'0001_initial'
,
'2015-12-31 14:56:08.342193'
),(
14
,
'bulk_email'
,
'0002_data__load_course_email_template'
,
'2015-12-31 14:56:08.505805'
),(
15
,
'instructor_task'
,
'0001_initial'
,
'2015-12-31 14:56:08.912332'
),(
16
,
'certificates'
,
'0001_initial'
,
'2015-12-31 14:56:11.217554'
),(
17
,
'certificates'
,
'0002_data__certificatehtmlviewconfiguration_data'
,
'2015-12-31 14:56:11.244003'
),(
18
,
'certificates'
,
'0003_data__default_modes'
,
'2015-12-31 14:56:11.290756'
),(
19
,
'certificates'
,
'0004_certificategenerationhistory'
,
'2015-12-31 14:56:11.491562'
),(
20
,
'certificates'
,
'0005_auto_20151208_0801'
,
'2015-12-31 14:56:11.626958'
),(
21
,
'certificates'
,
'0006_certificatetemplateasset_asset_slug'
,
'2015-12-31 14:56:11.720518'
),(
22
,
'commerce'
,
'0001_data__add_ecommerce_service_user'
,
'2015-12-31 14:56:11.757252'
),(
23
,
'cors_csrf'
,
'0001_initial'
,
'2015-12-31 14:56:11.926018'
),(
24
,
'course_action_state'
,
'0001_initial'
,
'2015-12-31 14:56:12.330811'
),(
25
,
'course_groups'
,
'0001_initial'
,
'2015-12-31 14:56:13.807718'
),(
26
,
'course_modes'
,
'0001_initial'
,
'2015-12-31 14:56:13.997693'
),(
27
,
'course_modes'
,
'0002_coursemode_expiration_datetime_is_explicit'
,
'2015-12-31 14:56:14.093722'
),(
28
,
'course_modes'
,
'0003_auto_20151113_1443'
,
'2015-12-31 14:56:14.131388'
),(
29
,
'course_modes'
,
'0004_auto_20151113_1457'
,
'2015-12-31 14:56:14.335292'
),(
30
,
'course_modes'
,
'0005_auto_20151217_0958'
,
'2015-12-31 14:56:14.495286'
),(
31
,
'course_overviews'
,
'0001_initial'
,
'2015-12-31 14:56:14.630819'
),(
32
,
'course_overviews'
,
'0002_add_course_catalog_fields'
,
'2015-12-31 14:56:14.982549'
),(
33
,
'course_overviews'
,
'0003_courseoverviewgeneratedhistory'
,
'2015-12-31 14:56:15.030490'
),(
34
,
'course_overviews'
,
'0004_courseoverview_org'
,
'2015-12-31 14:56:15.113722'
),(
35
,
'course_overviews'
,
'0005_delete_courseoverviewgeneratedhistory'
,
'2015-12-31 14:56:15.143943'
),(
36
,
'course_overviews'
,
'0006_courseoverviewimageset'
,
'2015-12-31 14:56:15.254940'
),(
37
,
'course_overviews'
,
'0007_courseoverviewimageconfig'
,
'2015-12-31 14:56:15.450756'
),(
38
,
'course_structures'
,
'0001_initial'
,
'2015-12-31 14:56:15.506341'
),(
39
,
'courseware'
,
'0001_initial'
,
'2015-12-31 14:56:18.346538'
),(
40
,
'credit'
,
'0001_initial'
,
'2015-12-31 14:56:20.423456'
),(
41
,
'dark_lang'
,
'0001_initial'
,
'2015-12-31 14:56:20.691321'
),(
42
,
'dark_lang'
,
'0002_data__enable_on_install'
,
'2015-12-31 14:56:20.722202'
),(
43
,
'default'
,
'0001_initial'
,
'2015-12-31 14:56:21.476817'
),(
44
,
'default'
,
'0002_add_related_name'
,
'2015-12-31 14:56:21.732324'
),(
45
,
'default'
,
'0003_alter_email_max_length'
,
'2015-12-31 14:56:21.814437'
),(
46
,
'django_comment_common'
,
'0001_initial'
,
'2015-12-31 14:56:22.536942'
),(
47
,
'django_notify'
,
'0001_initial'
,
'2015-12-31 14:56:24.596629'
),(
48
,
'django_openid_auth'
,
'0001_initial'
,
'2015-12-31 14:56:24.972976'
),(
49
,
'edx_proctoring'
,
'0001_initial'
,
'2015-12-31 14:56:30.301516'
),(
50
,
'edx_proctoring'
,
'0002_proctoredexamstudentattempt_is_status_acknowledged'
,
'2015-12-31 14:56:30.658999'
),(
51
,
'edxval'
,
'0001_initial'
,
'2015-12-31 14:56:31.901318'
),(
52
,
'edxval'
,
'0002_data__default_profiles'
,
'2015-12-31 14:56:31.985614'
),(
53
,
'embargo'
,
'0001_initial'
,
'2015-12-31 14:56:33.476417'
),(
54
,
'embargo'
,
'0002_data__add_countries'
,
'2015-12-31 14:56:34.169435'
),(
55
,
'external_auth'
,
'0001_initial'
,
'2015-12-31 14:56:34.976587'
),(
56
,
'lms_xblock'
,
'0001_initial'
,
'2015-12-31 14:56:35.342783'
),(
57
,
'milestones'
,
'0001_initial'
,
'2015-12-31 14:56:37.717602'
),(
58
,
'milestones'
,
'0002_data__seed_relationship_types'
,
'2015-12-31 14:56:37.771111'
),(
59
,
'mobile_api'
,
'0001_initial'
,
'2015-12-31 14:56:38.159420'
),(
60
,
'notes'
,
'0001_initial'
,
'2015-12-31 14:56:38.666731'
),(
61
,
'oauth2'
,
'0001_initial'
,
'2015-12-31 14:56:40.986260'
),(
62
,
'oauth2_provider'
,
'0001_initial'
,
'2015-12-31 14:56:41.385485'
),(
63
,
'oauth_provider'
,
'0001_initial'
,
'2015-12-31 14:56:42.439047'
),(
64
,
'organizations'
,
'0001_initial'
,
'2015-12-31 14:56:42.776842'
),(
65
,
'programs'
,
'0001_initial'
,
'2015-12-31 14:56:43.190769'
),(
66
,
'programs'
,
'0002_programsapiconfig_cache_ttl'
,
'2015-12-31 14:56:43.616792'
),(
67
,
'programs'
,
'0003_auto_20151120_1613'
,
'2015-12-31 14:56:45.292878'
),(
68
,
'self_paced'
,
'0001_initial'
,
'2015-12-31 14:56:45.742961'
),(
69
,
'sessions'
,
'0001_initial'
,
'2015-12-31 14:56:45.834774'
),(
70
,
'student'
,
'0001_initial'
,
'2015-12-31 14:57:00.707670'
),(
71
,
'shoppingcart'
,
'0001_initial'
,
'2015-12-31 14:57:15.041286'
),(
72
,
'shoppingcart'
,
'0002_auto_20151208_1034'
,
'2015-12-31 14:57:16.163983'
),(
73
,
'shoppingcart'
,
'0003_auto_20151217_0958'
,
'2015-12-31 14:57:17.314819'
),(
74
,
'sites'
,
'0001_initial'
,
'2015-12-31 14:57:17.389091'
),(
75
,
'splash'
,
'0001_initial'
,
'2015-12-31 14:57:18.037349'
),(
76
,
'status'
,
'0001_initial'
,
'2015-12-31 14:57:19.826410'
),(
77
,
'student'
,
'0002_auto_20151208_1034'
,
'2015-12-31 14:57:21.147521'
),(
78
,
'submissions'
,
'0001_initial'
,
'2015-12-31 14:57:23.354858'
),(
79
,
'submissions'
,
'0002_auto_20151119_0913'
,
'2015-12-31 14:57:23.620278'
),(
80
,
'survey'
,
'0001_initial'
,
'2015-12-31 14:57:24.698404'
),(
81
,
'teams'
,
'0001_initial'
,
'2015-12-31 14:57:26.825637'
),(
82
,
'third_party_auth'
,
'0001_initial'
,
'2015-12-31 14:57:30.487810'
),(
83
,
'track'
,
'0001_initial'
,
'2015-12-31 14:57:30.566408'
),(
84
,
'user_api'
,
'0001_initial'
,
'2015-12-31 14:57:35.956967'
),(
85
,
'util'
,
'0001_initial'
,
'2015-12-31 14:57:36.691350'
),(
86
,
'util'
,
'0002_data__default_rate_limit_config'
,
'2015-12-31 14:57:36.747714'
),(
87
,
'verify_student'
,
'0001_initial'
,
'2015-12-31 14:57:46.279873'
),(
88
,
'verify_student'
,
'0002_auto_20151124_1024'
,
'2015-12-31 14:57:47.187739'
),(
89
,
'verify_student'
,
'0003_auto_20151113_1443'
,
'2015-12-31 14:57:47.983638'
),(
90
,
'wiki'
,
'0001_initial'
,
'2015-12-31 14:58:12.991851'
),(
91
,
'wiki'
,
'0002_remove_article_subscription'
,
'2015-12-31 14:58:13.055035'
),(
92
,
'workflow'
,
'0001_initial'
,
'2015-12-31 14:58:13.504017'
),(
93
,
'xblock_django'
,
'0001_initial'
,
'2015-12-31 14:58:14.361722'
),(
94
,
'contentstore'
,
'0001_initial'
,
'2015-12-31 14:58:40.752928'
),(
95
,
'course_creators'
,
'0001_initial'
,
'2015-12-31 14:58:40.919957'
),(
96
,
'xblock_config'
,
'0001_initial'
,
'2015-12-31 14:58:41.443731'
),(
97
,
'edx_proctoring'
,
'0003_auto_20160101_0525'
,
'2016-01-07 20:15:02.045764'
),(
98
,
'certificates'
,
'0007_certificateinvalidation'
,
'2016-01-07 20:27:19.565490'
),(
99
,
'certificates'
,
'0008_generatedcertificate_eligible_for_certificate'
,
'2016-01-07 20:27:19.728890
'
);
INSERT
INTO
`django_migrations`
VALUES
(
1
,
'contenttypes'
,
'0001_initial'
,
'201
6-01-13 15:54:59.103917'
),(
2
,
'auth'
,
'0001_initial'
,
'2016-01-13 15:54:59.548188'
),(
3
,
'admin'
,
'0001_initial'
,
'2016-01-13 15:54:59.671513'
),(
4
,
'assessment'
,
'0001_initial'
,
'2016-01-13 15:55:05.356361'
),(
5
,
'contenttypes'
,
'0002_remove_content_type_name'
,
'2016-01-13 15:55:05.540600'
),(
6
,
'auth'
,
'0002_alter_permission_name_max_length'
,
'2016-01-13 15:55:05.628282'
),(
7
,
'auth'
,
'0003_alter_user_email_max_length'
,
'2016-01-13 15:55:05.703955'
),(
8
,
'auth'
,
'0004_alter_user_username_opts'
,
'2016-01-13 15:55:05.738607'
),(
9
,
'auth'
,
'0005_alter_user_last_login_null'
,
'2016-01-13 15:55:05.812885'
),(
10
,
'auth'
,
'0006_require_contenttypes_0002'
,
'2016-01-13 15:55:05.818909'
),(
11
,
'bookmarks'
,
'0001_initial'
,
'2016-01-13 15:55:06.198185'
),(
12
,
'branding'
,
'0001_initial'
,
'2016-01-13 15:55:06.364584'
),(
13
,
'bulk_email'
,
'0001_initial'
,
'2016-01-13 15:55:06.717518'
),(
14
,
'bulk_email'
,
'0002_data__load_course_email_template'
,
'2016-01-13 15:55:06.796406'
),(
15
,
'instructor_task'
,
'0001_initial'
,
'2016-01-13 15:55:07.024831'
),(
16
,
'certificates'
,
'0001_initial'
,
'2016-01-13 15:55:08.148002'
),(
17
,
'certificates'
,
'0002_data__certificatehtmlviewconfiguration_data'
,
'2016-01-13 15:55:08.177219'
),(
18
,
'certificates'
,
'0003_data__default_modes'
,
'2016-01-13 15:55:08.266996'
),(
19
,
'certificates'
,
'0004_certificategenerationhistory'
,
'2016-01-13 15:55:08.467941'
),(
20
,
'certificates'
,
'0005_auto_20151208_0801'
,
'2016-01-13 15:55:08.574292'
),(
21
,
'certificates'
,
'0006_certificatetemplateasset_asset_slug'
,
'2016-01-13 15:55:08.632221'
),(
22
,
'certificates'
,
'0007_certificateinvalidation'
,
'2016-01-13 15:55:08.799106'
),(
23
,
'certificates'
,
'0008_generatedcertificate_eligible_for_certificate'
,
'2016-01-13 15:55:08.945467'
),(
24
,
'commerce'
,
'0001_data__add_ecommerce_service_user'
,
'2016-01-13 15:55:08.974419'
),(
25
,
'cors_csrf'
,
'0001_initial'
,
'2016-01-13 15:55:09.107159'
),(
26
,
'course_action_state'
,
'0001_initial'
,
'2016-01-13 15:55:09.521536'
),(
27
,
'course_groups'
,
'0001_initial'
,
'2016-01-13 15:55:10.771047'
),(
28
,
'course_modes'
,
'0001_initial'
,
'2016-01-13 15:55:10.940717'
),(
29
,
'course_modes'
,
'0002_coursemode_expiration_datetime_is_explicit'
,
'2016-01-13 15:55:11.013026'
),(
30
,
'course_modes'
,
'0003_auto_20151113_1443'
,
'2016-01-13 15:55:11.044928'
),(
31
,
'course_modes'
,
'0004_auto_20151113_1457'
,
'2016-01-13 15:55:11.201105'
),(
32
,
'course_modes'
,
'0005_auto_20151217_0958'
,
'2016-01-13 15:55:11.355769'
),(
33
,
'course_overviews'
,
'0001_initial'
,
'2016-01-13 15:55:11.466407'
),(
34
,
'course_overviews'
,
'0002_add_course_catalog_fields'
,
'2016-01-13 15:55:11.769083'
),(
35
,
'course_overviews'
,
'0003_courseoverviewgeneratedhistory'
,
'2016-01-13 15:55:11.805665'
),(
36
,
'course_overviews'
,
'0004_courseoverview_org'
,
'2016-01-13 15:55:11.872106'
),(
37
,
'course_overviews'
,
'0005_delete_courseoverviewgeneratedhistory'
,
'2016-01-13 15:55:11.899770'
),(
38
,
'course_overviews'
,
'0006_courseoverviewimageset'
,
'2016-01-13 15:55:11.978558'
),(
39
,
'course_overviews'
,
'0007_courseoverviewimageconfig'
,
'2016-01-13 15:55:12.149570'
),(
40
,
'course_structures'
,
'0001_initial'
,
'2016-01-13 15:55:12.194268'
),(
41
,
'courseware'
,
'0001_initial'
,
'2016-01-13 15:55:15.115543'
),(
42
,
'credit'
,
'0001_initial'
,
'2016-01-13 15:55:17.160533'
),(
43
,
'dark_lang'
,
'0001_initial'
,
'2016-01-13 15:55:17.404251'
),(
44
,
'dark_lang'
,
'0002_data__enable_on_install'
,
'2016-01-13 15:55:17.437609'
),(
45
,
'default'
,
'0001_initial'
,
'2016-01-13 15:55:18.898722'
),(
46
,
'default'
,
'0002_add_related_name'
,
'2016-01-13 15:55:19.137245'
),(
47
,
'default'
,
'0003_alter_email_max_length'
,
'2016-01-13 15:55:19.225960'
),(
48
,
'django_comment_common'
,
'0001_initial'
,
'2016-01-13 15:55:19.853226'
),(
49
,
'django_notify'
,
'0001_initial'
,
'2016-01-13 15:55:21.035600'
),(
50
,
'django_openid_auth'
,
'0001_initial'
,
'2016-01-13 15:55:21.413206'
),(
51
,
'edx_proctoring'
,
'0001_initial'
,
'2016-01-13 15:55:27.121600'
),(
52
,
'edx_proctoring'
,
'0002_proctoredexamstudentattempt_is_status_acknowledged'
,
'2016-01-13 15:55:27.549954'
),(
53
,
'edx_proctoring'
,
'0003_auto_20160101_0525'
,
'2016-01-13 15:55:28.212468'
),(
54
,
'edxval'
,
'0001_initial'
,
'2016-01-13 15:55:29.329480'
),(
55
,
'edxval'
,
'0002_data__default_profiles'
,
'2016-01-13 15:55:29.369875'
),(
56
,
'embargo'
,
'0001_initial'
,
'2016-01-13 15:55:31.695697'
),(
57
,
'embargo'
,
'0002_data__add_countries'
,
'2016-01-13 15:55:32.149108'
),(
58
,
'external_auth'
,
'0001_initial'
,
'2016-01-13 15:55:32.984578'
),(
59
,
'lms_xblock'
,
'0001_initial'
,
'2016-01-13 15:55:33.385819'
),(
60
,
'milestones'
,
'0001_initial'
,
'2016-01-13 15:55:35.154418'
),(
61
,
'milestones'
,
'0002_data__seed_relationship_types'
,
'2016-01-13 15:55:35.212445'
),(
62
,
'mobile_api'
,
'0001_initial'
,
'2016-01-13 15:55:35.725285'
),(
63
,
'notes'
,
'0001_initial'
,
'2016-01-13 15:55:36.313648'
),(
64
,
'oauth2'
,
'0001_initial'
,
'2016-01-13 15:55:38.753301'
),(
65
,
'oauth2_provider'
,
'0001_initial'
,
'2016-01-13 15:55:39.241072'
),(
66
,
'oauth_provider'
,
'0001_initial'
,
'2016-01-13 15:55:40.421055'
),(
67
,
'organizations'
,
'0001_initial'
,
'2016-01-13 15:55:40.764953'
),(
68
,
'programs'
,
'0001_initial'
,
'2016-01-13 15:55:41.312674'
),(
69
,
'programs'
,
'0002_programsapiconfig_cache_ttl'
,
'2016-01-13 15:55:41.859310'
),(
70
,
'programs'
,
'0003_auto_20151120_1613'
,
'2016-01-13 15:55:44.646083'
),(
71
,
'self_paced'
,
'0001_initial'
,
'2016-01-13 15:55:45.201162'
),(
72
,
'sessions'
,
'0001_initial'
,
'2016-01-13 15:55:45.287058'
),(
73
,
'student'
,
'0001_initial'
,
'2016-01-13 15:56:03.114545'
),(
74
,
'shoppingcart'
,
'0001_initial'
,
'2016-01-13 15:56:21.665323'
),(
75
,
'shoppingcart'
,
'0002_auto_20151208_1034'
,
'2016-01-13 15:56:23.446763'
),(
76
,
'shoppingcart'
,
'0003_auto_20151217_0958'
,
'2016-01-13 15:56:25.521891'
),(
77
,
'sites'
,
'0001_initial'
,
'2016-01-13 15:56:25.597976'
),(
78
,
'splash'
,
'0001_initial'
,
'2016-01-13 15:56:26.484160'
),(
79
,
'static_replace'
,
'0001_initial'
,
'2016-01-13 15:56:28.174868'
),(
80
,
'status'
,
'0001_initial'
,
'2016-01-13 15:56:29.928034'
),(
81
,
'student'
,
'0002_auto_20151208_1034'
,
'2016-01-13 15:56:31.565605'
),(
82
,
'submissions'
,
'0001_initial'
,
'2016-01-13 15:56:33.161619'
),(
83
,
'submissions'
,
'0002_auto_20151119_0913'
,
'2016-01-13 15:56:33.464020'
),(
84
,
'survey'
,
'0001_initial'
,
'2016-01-13 15:56:34.709913'
),(
85
,
'teams'
,
'0001_initial'
,
'2016-01-13 15:56:37.905886'
),(
86
,
'third_party_auth'
,
'0001_initial'
,
'2016-01-13 15:56:44.139515'
),(
87
,
'track'
,
'0001_initial'
,
'2016-01-13 15:56:44.223718'
),(
88
,
'user_api'
,
'0001_initial'
,
'2016-01-13 15:56:49.437247'
),(
89
,
'util'
,
'0001_initial'
,
'2016-01-13 15:56:50.264911'
),(
90
,
'util'
,
'0002_data__default_rate_limit_config'
,
'2016-01-13 15:56:50.324304'
),(
91
,
'verify_student'
,
'0001_initial'
,
'2016-01-13 15:57:00.956112'
),(
92
,
'verify_student'
,
'0002_auto_20151124_1024'
,
'2016-01-13 15:57:02.074019'
),(
93
,
'verify_student'
,
'0003_auto_20151113_1443'
,
'2016-01-13 15:57:03.003678'
),(
94
,
'wiki'
,
'0001_initial'
,
'2016-01-13 15:57:34.407098'
),(
95
,
'wiki'
,
'0002_remove_article_subscription'
,
'2016-01-13 15:57:34.476852'
),(
96
,
'workflow'
,
'0001_initial'
,
'2016-01-13 15:57:35.379764'
),(
97
,
'xblock_django'
,
'0001_initial'
,
'2016-01-13 15:57:36.446458'
),(
98
,
'contentstore'
,
'0001_initial'
,
'2016-01-13 15:58:05.082690'
),(
99
,
'course_creators'
,
'0001_initial'
,
'2016-01-13 15:58:05.178077'
),(
100
,
'xblock_config'
,
'0001_initial'
,
'2016-01-13 15:58:05.553582
'
);
/*!40000 ALTER TABLE `django_migrations` ENABLE KEYS */
;
UNLOCK
TABLES
;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */
;
...
...
@@ -34,4 +34,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */
;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */
;
-- Dump completed on 2016-01-
07 20:27:4
1
-- Dump completed on 2016-01-
13 15:58:1
1
This diff is collapsed.
Click to expand it.
common/test/db_cache/bok_choy_schema.sql
View file @
0f9cfbff
...
...
@@ -20,8 +20,8 @@ CREATE TABLE `assessment_aiclassifier` (
PRIMARY
KEY
(
`id`
),
KEY
`assessment_aiclassifier_962f069f`
(
`classifier_set_id`
),
KEY
`assessment_aiclassifier_385b00a3`
(
`criterion_id`
),
CONSTRAINT
`
D3bd45d5e3c9cfdc4f3b442119adebe8`
FOREIGN
KEY
(
`classifier_set_id`
)
REFERENCES
`assessment_aiclassifierset
`
(
`id`
),
CONSTRAINT
`
assessm_criterion_id_275db29f2a0e1711_fk_assessment_criterion_id`
FOREIGN
KEY
(
`criterion_id`
)
REFERENCES
`assessment_criterion
`
(
`id`
)
CONSTRAINT
`
assessm_criterion_id_275db29f2a0e1711_fk_assessment_criterion_id`
FOREIGN
KEY
(
`criterion_id`
)
REFERENCES
`assessment_criterion
`
(
`id`
),
CONSTRAINT
`
D3bd45d5e3c9cfdc4f3b442119adebe8`
FOREIGN
KEY
(
`classifier_set_id`
)
REFERENCES
`assessment_aiclassifierset
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_aiclassifierset`
;
...
...
@@ -72,9 +72,9 @@ CREATE TABLE `assessment_aigradingworkflow` (
KEY
`assessment_aigradingworkflow_a4079fcf`
(
`assessment_id`
),
KEY
`assessment_aigradingworkflow_962f069f`
(
`classifier_set_id`
),
KEY
`assessment_aigradingworkflow_8980b7ae`
(
`rubric_id`
),
CONSTRAINT
`
D4d9bca115376aeb07fd970155499db3`
FOREIGN
KEY
(
`classifier_set_id`
)
REFERENCES
`assessment_aiclassifierset
`
(
`id`
),
CONSTRAINT
`
assessment_ai_rubric_id_3fc938e9e3ae7b2d_fk_assessment_rubric_id`
FOREIGN
KEY
(
`rubric_id`
)
REFERENCES
`assessment_rubric
`
(
`id`
),
CONSTRAINT
`asses_assessment_id_68b86880a7f62f1c_fk_assessment_assessment_id`
FOREIGN
KEY
(
`assessment_id`
)
REFERENCES
`assessment_assessment`
(
`id`
),
CONSTRAINT
`
assessment_ai_rubric_id_3fc938e9e3ae7b2d_fk_assessment_rubric_id`
FOREIGN
KEY
(
`rubric_id`
)
REFERENCES
`assessment_rubric
`
(
`id`
)
CONSTRAINT
`
D4d9bca115376aeb07fd970155499db3`
FOREIGN
KEY
(
`classifier_set_id`
)
REFERENCES
`assessment_aiclassifierset
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_aitrainingworkflow`
;
...
...
@@ -110,8 +110,8 @@ CREATE TABLE `assessment_aitrainingworkflow_training_examples` (
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`aitrainingworkflow_id`
(
`aitrainingworkflow_id`
,
`trainingexample_id`
),
KEY
`ff4ddecc43bd06c0d85785a61e955133`
(
`trainingexample_id`
),
CONSTRAINT
`
da55be90caee21d95136e40c53e5c754`
FOREIGN
KEY
(
`aitrainingworkflow_id`
)
REFERENCES
`assessment_aitrainingworkflow
`
(
`id`
),
CONSTRAINT
`
ff4ddecc43bd06c0d85785a61e955133`
FOREIGN
KEY
(
`trainingexample_id`
)
REFERENCES
`assessment_trainingexample
`
(
`id`
)
CONSTRAINT
`
ff4ddecc43bd06c0d85785a61e955133`
FOREIGN
KEY
(
`trainingexample_id`
)
REFERENCES
`assessment_trainingexample
`
(
`id`
),
CONSTRAINT
`
da55be90caee21d95136e40c53e5c754`
FOREIGN
KEY
(
`aitrainingworkflow_id`
)
REFERENCES
`assessment_aitrainingworkflow
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_assessment`
;
...
...
@@ -154,8 +154,8 @@ CREATE TABLE `assessment_assessmentfeedback_assessments` (
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`assessmentfeedback_id`
(
`assessmentfeedback_id`
,
`assessment_id`
),
KEY
`asses_assessment_id_392d354eca2e0c87_fk_assessment_assessment_id`
(
`assessment_id`
),
CONSTRAINT
`
D1fc3fa7cd7be79d20561668a95a9fc1`
FOREIGN
KEY
(
`assessmentfeedback_id`
)
REFERENCES
`assessment_assessmentfeedback
`
(
`id`
),
CONSTRAINT
`
asses_assessment_id_392d354eca2e0c87_fk_assessment_assessment_id`
FOREIGN
KEY
(
`assessment_id`
)
REFERENCES
`assessment_assessment
`
(
`id`
)
CONSTRAINT
`
asses_assessment_id_392d354eca2e0c87_fk_assessment_assessment_id`
FOREIGN
KEY
(
`assessment_id`
)
REFERENCES
`assessment_assessment
`
(
`id`
),
CONSTRAINT
`
D1fc3fa7cd7be79d20561668a95a9fc1`
FOREIGN
KEY
(
`assessmentfeedback_id`
)
REFERENCES
`assessment_assessmentfeedback
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_assessmentfeedback_options`
;
...
...
@@ -168,8 +168,8 @@ CREATE TABLE `assessment_assessmentfeedback_options` (
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`assessmentfeedback_id`
(
`assessmentfeedback_id`
,
`assessmentfeedbackoption_id`
),
KEY
`cc7028abc88c431df3172c9b2d6422e4`
(
`assessmentfeedbackoption_id`
),
CONSTRAINT
`c
ba12ac98c4a04d67d5edaa2223f4fe5`
FOREIGN
KEY
(
`assessmentfeedback_id`
)
REFERENCES
`assessment_assessmentfeedback
`
(
`id`
),
CONSTRAINT
`c
c7028abc88c431df3172c9b2d6422e4`
FOREIGN
KEY
(
`assessmentfeedbackoption_id`
)
REFERENCES
`assessment_assessmentfeedbackoption
`
(
`id`
)
CONSTRAINT
`c
c7028abc88c431df3172c9b2d6422e4`
FOREIGN
KEY
(
`assessmentfeedbackoption_id`
)
REFERENCES
`assessment_assessmentfeedbackoption
`
(
`id`
),
CONSTRAINT
`c
ba12ac98c4a04d67d5edaa2223f4fe5`
FOREIGN
KEY
(
`assessmentfeedback_id`
)
REFERENCES
`assessment_assessmentfeedback
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_assessmentfeedbackoption`
;
...
...
@@ -190,14 +190,14 @@ CREATE TABLE `assessment_assessmentpart` (
`feedback`
longtext
NOT
NULL
,
`assessment_id`
int
(
11
)
NOT
NULL
,
`criterion_id`
int
(
11
)
NOT
NULL
,
`option_id`
int
(
11
)
DEFAULT
NULL
,
`option_id`
int
(
11
),
PRIMARY
KEY
(
`id`
),
KEY
`asses_assessment_id_1d752290138ce479_fk_assessment_assessment_id`
(
`assessment_id`
),
KEY
`assessment_assessmentpart_385b00a3`
(
`criterion_id`
),
KEY
`assessment_assessmentpart_28df3725`
(
`option_id`
),
CONSTRAINT
`asse_option_id_2508a14feeabf4ce_fk_assessment_criterionoption_id`
FOREIGN
KEY
(
`option_id`
)
REFERENCES
`assessment_criterionoption`
(
`id`
),
CONSTRAINT
`asses
_assessment_id_1d752290138ce479_fk_assessment_assessment_id`
FOREIGN
KEY
(
`assessment_id`
)
REFERENCES
`assessment_assessment
`
(
`id`
),
CONSTRAINT
`asses
sm_criterion_id_2061f2359fd292bf_fk_assessment_criterion_id`
FOREIGN
KEY
(
`criterion_id`
)
REFERENCES
`assessment_criterion
`
(
`id`
)
CONSTRAINT
`asses
sm_criterion_id_2061f2359fd292bf_fk_assessment_criterion_id`
FOREIGN
KEY
(
`criterion_id`
)
REFERENCES
`assessment_criterion
`
(
`id`
),
CONSTRAINT
`asses
_assessment_id_1d752290138ce479_fk_assessment_assessment_id`
FOREIGN
KEY
(
`assessment_id`
)
REFERENCES
`assessment_assessment
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_criterion`
;
...
...
@@ -272,9 +272,9 @@ CREATE TABLE `assessment_peerworkflowitem` (
KEY
`assessm_scorer_id_2d803ee2d52c0e2c_fk_assessment_peerworkflow_id`
(
`scorer_id`
),
KEY
`assessment_peerworkflowitem_ab5b2b73`
(
`submission_uuid`
),
KEY
`assessment_peerworkflowitem_ff1ae11b`
(
`started_at`
),
CONSTRAINT
`asses
_assessment_id_15cadfae90ddcc2a_fk_assessment_assessment_id`
FOREIGN
KEY
(
`assessment_id`
)
REFERENCES
`assessment_assessment
`
(
`id`
),
CONSTRAINT
`asses
sm_scorer_id_2d803ee2d52c0e2c_fk_assessment_peerworkflow_id`
FOREIGN
KEY
(
`scorer_id`
)
REFERENCES
`assessment_peerworkflow
`
(
`id`
),
CONSTRAINT
`assessm_author_id_1948f89dea6d2b5f_fk_assessment_peerworkflow_id`
FOREIGN
KEY
(
`author_id`
)
REFERENCES
`assessment_peerworkflow`
(
`id`
),
CONSTRAINT
`asses
sm_scorer_id_2d803ee2d52c0e2c_fk_assessment_peerworkflow_id`
FOREIGN
KEY
(
`scorer_id`
)
REFERENCES
`assessment_peerworkflow
`
(
`id`
)
CONSTRAINT
`asses
_assessment_id_15cadfae90ddcc2a_fk_assessment_assessment_id`
FOREIGN
KEY
(
`assessment_id`
)
REFERENCES
`assessment_assessment
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_rubric`
;
...
...
@@ -319,8 +319,8 @@ CREATE TABLE `assessment_studenttrainingworkflowitem` (
UNIQUE
KEY
`assessment_studenttrainingwork_workflow_id_484e930feb86ad74_uniq`
(
`workflow_id`
,
`order_num`
),
KEY
`assessment_studenttrainingworkflowitem_9cc97abc`
(
`training_example_id`
),
KEY
`assessment_studenttrainingworkflowitem_846c77cf`
(
`workflow_id`
),
CONSTRAINT
`
D74ce3e30635de397fef41ac869640c7`
FOREIGN
KEY
(
`training_example_id`
)
REFERENCES
`assessment_trainingexample
`
(
`id`
),
CONSTRAINT
`
f9c080ebc7ad16394edda963ed3f280f`
FOREIGN
KEY
(
`workflow_id`
)
REFERENCES
`assessment_studenttrainingworkflow
`
(
`id`
)
CONSTRAINT
`
f9c080ebc7ad16394edda963ed3f280f`
FOREIGN
KEY
(
`workflow_id`
)
REFERENCES
`assessment_studenttrainingworkflow
`
(
`id`
),
CONSTRAINT
`
D74ce3e30635de397fef41ac869640c7`
FOREIGN
KEY
(
`training_example_id`
)
REFERENCES
`assessment_trainingexample
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_trainingexample`
;
...
...
@@ -418,7 +418,7 @@ CREATE TABLE `auth_user` (
`date_joined`
datetime
(
6
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`username`
(
`username`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`auth_user_groups`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
...
...
@@ -588,7 +588,7 @@ CREATE TABLE `bulk_email_courseemailtemplate` (
`name`
varchar
(
255
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`name`
(
`name`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
3
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`bulk_email_optout`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
...
...
@@ -659,7 +659,7 @@ CREATE TABLE `certificates_badgeimageconfiguration` (
`default`
tinyint
(
1
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`mode`
(
`mode`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
4
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`certificates_certificategenerationconfiguration`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
...
...
@@ -717,7 +717,7 @@ CREATE TABLE `certificates_certificatehtmlviewconfiguration` (
PRIMARY
KEY
(
`id`
),
KEY
`certificates_cert_changed_by_id_1de6cf549bca749b_fk_auth_user_id`
(
`changed_by_id`
),
CONSTRAINT
`certificates_cert_changed_by_id_1de6cf549bca749b_fk_auth_user_id`
FOREIGN
KEY
(
`changed_by_id`
)
REFERENCES
`auth_user`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`certificates_certificateinvalidation`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
...
...
@@ -766,7 +766,7 @@ CREATE TABLE `certificates_certificatetemplateasset` (
`modified`
datetime
(
6
)
NOT
NULL
,
`description`
varchar
(
255
)
DEFAULT
NULL
,
`asset`
varchar
(
255
)
NOT
NULL
,
`asset_slug`
varchar
(
255
)
DEFAULT
NULL
,
`asset_slug`
varchar
(
255
),
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`asset_slug`
(
`asset_slug`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
...
...
@@ -920,8 +920,8 @@ CREATE TABLE `course_action_state_coursererunstate` (
KEY
`course_action_state_coursererunstate_c8235886`
(
`course_key`
),
KEY
`course_action_state_coursererunstate_418c5509`
(
`action`
),
KEY
`course_action_state_coursererunstate_a9bd7343`
(
`source_course_key`
),
CONSTRAINT
`course_action_s_
created_user_id_7f53088ef8dccd0b_fk_auth_user_id`
FOREIGN
KEY
(
`cre
ated_user_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`course_action_s_
updated_user_id_4fab18012332c9a4_fk_auth_user_id`
FOREIGN
KEY
(
`upd
ated_user_id`
)
REFERENCES
`auth_user`
(
`id`
)
CONSTRAINT
`course_action_s_
updated_user_id_4fab18012332c9a4_fk_auth_user_id`
FOREIGN
KEY
(
`upd
ated_user_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`course_action_s_
created_user_id_7f53088ef8dccd0b_fk_auth_user_id`
FOREIGN
KEY
(
`cre
ated_user_id`
)
REFERENCES
`auth_user`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`course_creators_coursecreator`
;
...
...
@@ -950,8 +950,8 @@ CREATE TABLE `course_groups_cohortmembership` (
UNIQUE
KEY
`course_groups_cohortmembership_user_id_395bddd0389ed7da_uniq`
(
`user_id`
,
`course_id`
),
KEY
`course_groups_cohortmembership_6e438ee3`
(
`course_user_group_id`
),
KEY
`course_groups_cohortmembership_e8701ad4`
(
`user_id`
),
CONSTRAINT
`
D004e77c965054d46217a8bd48bcaec8`
FOREIGN
KEY
(
`course_user_group_id`
)
REFERENCES
`course_groups_courseusergroup
`
(
`id`
),
CONSTRAINT
`
course_groups_cohortmem_user_id_15d408bf736398bf_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`
course_groups_cohortmem_user_id_15d408bf736398bf_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`
D004e77c965054d46217a8bd48bcaec8`
FOREIGN
KEY
(
`course_user_group_id`
)
REFERENCES
`course_groups_courseusergroup
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`course_groups_coursecohort`
;
...
...
@@ -1108,7 +1108,7 @@ CREATE TABLE `course_overviews_courseoverview` (
`enrollment_domain`
longtext
,
`invitation_only`
tinyint
(
1
)
NOT
NULL
,
`max_student_enrollments_allowed`
int
(
11
)
DEFAULT
NULL
,
`announcement`
datetime
(
6
)
DEFAULT
NULL
,
`announcement`
datetime
(
6
),
`catalog_visibility`
longtext
,
`course_video_url`
longtext
,
`effort`
longtext
,
...
...
@@ -1498,7 +1498,7 @@ CREATE TABLE `dark_lang_darklangconfig` (
PRIMARY
KEY
(
`id`
),
KEY
`dark_lang_darklan_changed_by_id_7e1defb1121d58b8_fk_auth_user_id`
(
`changed_by_id`
),
CONSTRAINT
`dark_lang_darklan_changed_by_id_7e1defb1121d58b8_fk_auth_user_id`
FOREIGN
KEY
(
`changed_by_id`
)
REFERENCES
`auth_user`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`django_admin_log`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
...
...
@@ -1515,8 +1515,8 @@ CREATE TABLE `django_admin_log` (
PRIMARY
KEY
(
`id`
),
KEY
`djang_content_type_id_697914295151027a_fk_django_content_type_id`
(
`content_type_id`
),
KEY
`django_admin_log_user_id_52fdd58701c5f563_fk_auth_user_id`
(
`user_id`
),
CONSTRAINT
`djang
_content_type_id_697914295151027a_fk_django_content_type_id`
FOREIGN
KEY
(
`content_type_id`
)
REFERENCES
`django_content_type
`
(
`id`
),
CONSTRAINT
`djang
o_admin_log_user_id_52fdd58701c5f563_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`djang
o_admin_log_user_id_52fdd58701c5f563_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`djang
_content_type_id_697914295151027a_fk_django_content_type_id`
FOREIGN
KEY
(
`content_type_id`
)
REFERENCES
`django_content_type
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`django_comment_client_permission`
;
...
...
@@ -1537,8 +1537,8 @@ CREATE TABLE `django_comment_client_permission_roles` (
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`permission_id`
(
`permission_id`
,
`role_id`
),
KEY
`django_role_id_558412c96ef7ba87_fk_django_comment_client_role_id`
(
`role_id`
),
CONSTRAINT
`
D4e9a4067c1db9041491363f5e032121`
FOREIGN
KEY
(
`permission_id`
)
REFERENCES
`django_comment_client_permission`
(
`name
`
),
CONSTRAINT
`
django_role_id_558412c96ef7ba87_fk_django_comment_client_role_id`
FOREIGN
KEY
(
`role_id`
)
REFERENCES
`django_comment_client_role`
(
`id
`
)
CONSTRAINT
`
django_role_id_558412c96ef7ba87_fk_django_comment_client_role_id`
FOREIGN
KEY
(
`role_id`
)
REFERENCES
`django_comment_client_role`
(
`id
`
),
CONSTRAINT
`
D4e9a4067c1db9041491363f5e032121`
FOREIGN
KEY
(
`permission_id`
)
REFERENCES
`django_comment_client_permission`
(
`name
`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`django_comment_client_role`
;
...
...
@@ -1586,7 +1586,7 @@ CREATE TABLE `django_migrations` (
`name`
varchar
(
255
)
NOT
NULL
,
`applied`
datetime
(
6
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
10
0
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
10
1
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 */
;
...
...
@@ -1694,8 +1694,8 @@ CREATE TABLE `djcelery_periodictask` (
UNIQUE
KEY
`name`
(
`name`
),
KEY
`djc_interval_id_20cfc1cad060dfad_fk_djcelery_intervalschedule_id`
(
`interval_id`
),
KEY
`djcel_crontab_id_1d8228f5b44b680a_fk_djcelery_crontabschedule_id`
(
`crontab_id`
),
CONSTRAINT
`djc
_interval_id_20cfc1cad060dfad_fk_djcelery_intervalschedule_id`
FOREIGN
KEY
(
`interval_id`
)
REFERENCES
`djcelery_interval
schedule`
(
`id`
),
CONSTRAINT
`djc
el_crontab_id_1d8228f5b44b680a_fk_djcelery_crontabschedule_id`
FOREIGN
KEY
(
`crontab_id`
)
REFERENCES
`djcelery_crontab
schedule`
(
`id`
)
CONSTRAINT
`djc
el_crontab_id_1d8228f5b44b680a_fk_djcelery_crontabschedule_id`
FOREIGN
KEY
(
`crontab_id`
)
REFERENCES
`djcelery_crontab
schedule`
(
`id`
),
CONSTRAINT
`djc
_interval_id_20cfc1cad060dfad_fk_djcelery_intervalschedule_id`
FOREIGN
KEY
(
`interval_id`
)
REFERENCES
`djcelery_interval
schedule`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`djcelery_periodictasks`
;
...
...
@@ -1776,8 +1776,8 @@ CREATE TABLE `edxval_encodedvideo` (
PRIMARY
KEY
(
`id`
),
KEY
`edxval_encodedvideo_83a0eb3f`
(
`profile_id`
),
KEY
`edxval_encodedvideo_b58b747e`
(
`video_id`
),
CONSTRAINT
`edxval_encodedv
_profile_id_484a111092acafb3_fk_edxval_profile_id`
FOREIGN
KEY
(
`profile_id`
)
REFERENCES
`edxval_profile
`
(
`id`
),
CONSTRAINT
`edxval_encodedv
ideo_video_id_56934bca09fc3b13_fk_edxval_video_id`
FOREIGN
KEY
(
`video_id`
)
REFERENCES
`edxval_video
`
(
`id`
)
CONSTRAINT
`edxval_encodedv
ideo_video_id_56934bca09fc3b13_fk_edxval_video_id`
FOREIGN
KEY
(
`video_id`
)
REFERENCES
`edxval_video
`
(
`id`
),
CONSTRAINT
`edxval_encodedv
_profile_id_484a111092acafb3_fk_edxval_profile_id`
FOREIGN
KEY
(
`profile_id`
)
REFERENCES
`edxval_profile
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`edxval_profile`
;
...
...
@@ -1788,7 +1788,7 @@ CREATE TABLE `edxval_profile` (
`profile_name`
varchar
(
50
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`profile_name`
(
`profile_name`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
6
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`edxval_subtitle`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
...
...
@@ -1832,7 +1832,7 @@ CREATE TABLE `embargo_country` (
`country`
varchar
(
2
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`country`
(
`country`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
250
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`embargo_countryaccessrule`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
...
...
@@ -2052,7 +2052,7 @@ CREATE TABLE `milestones_milestonerelationshiptype` (
`active`
tinyint
(
1
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`name`
(
`name`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
3
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`milestones_usermilestone`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
...
...
@@ -2123,7 +2123,7 @@ CREATE TABLE `notify_notification` (
`is_viewed`
tinyint
(
1
)
NOT
NULL
,
`is_emailed`
tinyint
(
1
)
NOT
NULL
,
`created`
datetime
(
6
)
NOT
NULL
,
`subscription_id`
int
(
11
)
DEFAULT
NULL
,
`subscription_id`
int
(
11
),
PRIMARY
KEY
(
`id`
),
KEY
`notify_notification_ef42673f`
(
`subscription_id`
),
CONSTRAINT
`D48032390695e0699e92b8d7ccdbff7e`
FOREIGN
KEY
(
`subscription_id`
)
REFERENCES
`notify_subscription`
(
`subscription_id`
)
...
...
@@ -2165,8 +2165,8 @@ CREATE TABLE `notify_subscription` (
PRIMARY
KEY
(
`subscription_id`
),
KEY
`a2462650bbefc26547210b80dec61069`
(
`notification_type_id`
),
KEY
`notify_subscr_settings_id_64d594d127e8ca95_fk_notify_settings_id`
(
`settings_id`
),
CONSTRAINT
`
a2462650bbefc26547210b80dec61069`
FOREIGN
KEY
(
`notification_type_id`
)
REFERENCES
`notify_notificationtype`
(
`key
`
),
CONSTRAINT
`
notify_subscr_settings_id_64d594d127e8ca95_fk_notify_settings_id`
FOREIGN
KEY
(
`settings_id`
)
REFERENCES
`notify_settings`
(
`id
`
)
CONSTRAINT
`
notify_subscr_settings_id_64d594d127e8ca95_fk_notify_settings_id`
FOREIGN
KEY
(
`settings_id`
)
REFERENCES
`notify_settings`
(
`id
`
),
CONSTRAINT
`
a2462650bbefc26547210b80dec61069`
FOREIGN
KEY
(
`notification_type_id`
)
REFERENCES
`notify_notificationtype`
(
`key
`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`oauth2_accesstoken`
;
...
...
@@ -2183,8 +2183,8 @@ CREATE TABLE `oauth2_accesstoken` (
KEY
`oauth2_accesstoken_94a08da1`
(
`token`
),
KEY
`oauth2_accesstoken_2bfe9d72`
(
`client_id`
),
KEY
`oauth2_accesstoken_e8701ad4`
(
`user_id`
),
CONSTRAINT
`oauth2_accesstoke
_client_id_20c73b03a7c139a2_fk_oauth2_client_id`
FOREIGN
KEY
(
`client_id`
)
REFERENCES
`oauth2_client
`
(
`id`
),
CONSTRAINT
`oauth2_accesstoke
n_user_id_7a865c7085722378_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`oauth2_accesstoke
n_user_id_7a865c7085722378_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`oauth2_accesstoke
_client_id_20c73b03a7c139a2_fk_oauth2_client_id`
FOREIGN
KEY
(
`client_id`
)
REFERENCES
`oauth2_client
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`oauth2_client`
;
...
...
@@ -2218,8 +2218,8 @@ CREATE TABLE `oauth2_grant` (
PRIMARY
KEY
(
`id`
),
KEY
`oauth2_grant_client_id_fbfc174fbc856af_fk_oauth2_client_id`
(
`client_id`
),
KEY
`oauth2_grant_user_id_3de96a461bb76819_fk_auth_user_id`
(
`user_id`
),
CONSTRAINT
`oauth2_grant_
client_id_fbfc174fbc856af_fk_oauth2_client_id`
FOREIGN
KEY
(
`client_id`
)
REFERENCES
`oauth2_client
`
(
`id`
),
CONSTRAINT
`oauth2_grant_
user_id_3de96a461bb76819_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`oauth2_grant_
user_id_3de96a461bb76819_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`oauth2_grant_
client_id_fbfc174fbc856af_fk_oauth2_client_id`
FOREIGN
KEY
(
`client_id`
)
REFERENCES
`oauth2_client
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`oauth2_provider_trustedclient`
;
...
...
@@ -2247,9 +2247,9 @@ CREATE TABLE `oauth2_refreshtoken` (
UNIQUE
KEY
`access_token_id`
(
`access_token_id`
),
KEY
`oauth2_refreshtok_client_id_2f55036ac9aa614e_fk_oauth2_client_id`
(
`client_id`
),
KEY
`oauth2_refreshtoken_user_id_acecf94460b787c_fk_auth_user_id`
(
`user_id`
),
CONSTRAINT
`oauth2_
_access_token_id_f99377d503a000b_fk_oauth2_accesstoken_id`
FOREIGN
KEY
(
`access_token_id`
)
REFERENCES
`oauth2_accesstoken
`
(
`id`
),
CONSTRAINT
`oauth2_
refreshtoken_user_id_acecf94460b787c_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`oauth2_refreshtok_client_id_2f55036ac9aa614e_fk_oauth2_client_id`
FOREIGN
KEY
(
`client_id`
)
REFERENCES
`oauth2_client`
(
`id`
),
CONSTRAINT
`oauth2_
refreshtoken_user_id_acecf94460b787c_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`oauth2_
_access_token_id_f99377d503a000b_fk_oauth2_accesstoken_id`
FOREIGN
KEY
(
`access_token_id`
)
REFERENCES
`oauth2_accesstoken
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`oauth_provider_consumer`
;
...
...
@@ -2313,9 +2313,9 @@ CREATE TABLE `oauth_provider_token` (
KEY
`oauth_consumer_id_1b9915b5bcf1ee5b_fk_oauth_provider_consumer_id`
(
`consumer_id`
),
KEY
`oauth_provi_scope_id_459821b6fecbc02a_fk_oauth_provider_scope_id`
(
`scope_id`
),
KEY
`oauth_provider_token_user_id_588adbcffc892186_fk_auth_user_id`
(
`user_id`
),
CONSTRAINT
`oauth_provider_token_user_id_588adbcffc892186_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`oauth_consumer_id_1b9915b5bcf1ee5b_fk_oauth_provider_consumer_id`
FOREIGN
KEY
(
`consumer_id`
)
REFERENCES
`oauth_provider_consumer`
(
`id`
),
CONSTRAINT
`oauth_provi_scope_id_459821b6fecbc02a_fk_oauth_provider_scope_id`
FOREIGN
KEY
(
`scope_id`
)
REFERENCES
`oauth_provider_scope`
(
`id`
),
CONSTRAINT
`oauth_provider_token_user_id_588adbcffc892186_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user`
(
`id`
)
CONSTRAINT
`oauth_provi_scope_id_459821b6fecbc02a_fk_oauth_provider_scope_id`
FOREIGN
KEY
(
`scope_id`
)
REFERENCES
`oauth_provider_scope`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`organizations_organization`
;
...
...
@@ -2388,8 +2388,8 @@ CREATE TABLE `proctoring_proctoredexamreviewpolicy` (
PRIMARY
KEY
(
`id`
),
KEY
`D32bab97500954b362d3f768dd89b6da`
(
`proctored_exam_id`
),
KEY
`proctoring_proct_set_by_user_id_75a66580aa44cd84_fk_auth_user_id`
(
`set_by_user_id`
),
CONSTRAINT
`
D32bab97500954b362d3f768dd89b6da`
FOREIGN
KEY
(
`proctored_exam_id`
)
REFERENCES
`proctoring_proctoredexam
`
(
`id`
),
CONSTRAINT
`
proctoring_proct_set_by_user_id_75a66580aa44cd84_fk_auth_user_id`
FOREIGN
KEY
(
`set_by_user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`
proctoring_proct_set_by_user_id_75a66580aa44cd84_fk_auth_user_id`
FOREIGN
KEY
(
`set_by_user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`
D32bab97500954b362d3f768dd89b6da`
FOREIGN
KEY
(
`proctored_exam_id`
)
REFERENCES
`proctoring_proctoredexam
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`proctoring_proctoredexamreviewpolicyhistory`
;
...
...
@@ -2407,8 +2407,8 @@ CREATE TABLE `proctoring_proctoredexamreviewpolicyhistory` (
KEY
`d9965d8af87bebd0587414ca1ba4826f`
(
`proctored_exam_id`
),
KEY
`proctoring_procto_set_by_user_id_31fae610848d90f_fk_auth_user_id`
(
`set_by_user_id`
),
KEY
`proctoring_proctoredexamreviewpolicyhistory_524b09d0`
(
`original_id`
),
CONSTRAINT
`
d9965d8af87bebd0587414ca1ba4826f`
FOREIGN
KEY
(
`proctored_exam_id`
)
REFERENCES
`proctoring_proctoredexam
`
(
`id`
),
CONSTRAINT
`
proctoring_procto_set_by_user_id_31fae610848d90f_fk_auth_user_id`
FOREIGN
KEY
(
`set_by_user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`
proctoring_procto_set_by_user_id_31fae610848d90f_fk_auth_user_id`
FOREIGN
KEY
(
`set_by_user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`
d9965d8af87bebd0587414ca1ba4826f`
FOREIGN
KEY
(
`proctored_exam_id`
)
REFERENCES
`proctoring_proctoredexam
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`proctoring_proctoredexamsoftwaresecurereview`
;
...
...
@@ -2430,9 +2430,9 @@ CREATE TABLE `proctoring_proctoredexamsoftwaresecurereview` (
KEY
`proctoring_proct_reviewed_by_id_4cff67b7de094f65_fk_auth_user_id`
(
`reviewed_by_id`
),
KEY
`proctoring_proctored_student_id_14c182517b0cbb5b_fk_auth_user_id`
(
`student_id`
),
KEY
`proctoring_proctoredexamsoftwaresecurereview_b38e5b0e`
(
`attempt_code`
),
CONSTRAINT
`proctori
_exam_id_635059f5fe2cc392_fk_proctoring_proctoredexam_id`
FOREIGN
KEY
(
`exam_id`
)
REFERENCES
`proctoring_proctoredexam
`
(
`id`
),
CONSTRAINT
`proctori
ng_proctored_student_id_14c182517b0cbb5b_fk_auth_user_id`
FOREIGN
KEY
(
`student_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`proctoring_proct_reviewed_by_id_4cff67b7de094f65_fk_auth_user_id`
FOREIGN
KEY
(
`reviewed_by_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`proctori
ng_proctored_student_id_14c182517b0cbb5b_fk_auth_user_id`
FOREIGN
KEY
(
`student_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`proctori
_exam_id_635059f5fe2cc392_fk_proctoring_proctoredexam_id`
FOREIGN
KEY
(
`exam_id`
)
REFERENCES
`proctoring_proctoredexam
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`proctoring_proctoredexamsoftwaresecurereviewhistory`
;
...
...
@@ -2454,9 +2454,9 @@ CREATE TABLE `proctoring_proctoredexamsoftwaresecurereviewhistory` (
KEY
`proctoring_proct_reviewed_by_id_139568d0bf423998_fk_auth_user_id`
(
`reviewed_by_id`
),
KEY
`proctoring_proctored_student_id_6922ba3b791462d8_fk_auth_user_id`
(
`student_id`
),
KEY
`proctoring_proctoredexamsoftwaresecurereviewhistory_b38e5b0e`
(
`attempt_code`
),
CONSTRAINT
`proctori
_exam_id_73969ae423813477_fk_proctoring_proctoredexam_id`
FOREIGN
KEY
(
`exam_id`
)
REFERENCES
`proctoring_proctoredexam
`
(
`id`
),
CONSTRAINT
`proctori
ng_proctored_student_id_6922ba3b791462d8_fk_auth_user_id`
FOREIGN
KEY
(
`student_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`proctoring_proct_reviewed_by_id_139568d0bf423998_fk_auth_user_id`
FOREIGN
KEY
(
`reviewed_by_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`proctori
ng_proctored_student_id_6922ba3b791462d8_fk_auth_user_id`
FOREIGN
KEY
(
`student_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`proctori
_exam_id_73969ae423813477_fk_proctoring_proctoredexam_id`
FOREIGN
KEY
(
`exam_id`
)
REFERENCES
`proctoring_proctoredexam
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`proctoring_proctoredexamstudentallowance`
;
...
...
@@ -2473,8 +2473,8 @@ CREATE TABLE `proctoring_proctoredexamstudentallowance` (
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`proctoring_proctoredexamstudentall_user_id_665ed945152c2f60_uniq`
(
`user_id`
,
`proctored_exam_id`
,
`key`
),
KEY
`db55b83a7875e70b3a0ebd1f81a898d8`
(
`proctored_exam_id`
),
CONSTRAINT
`
db55b83a7875e70b3a0ebd1f81a898d8`
FOREIGN
KEY
(
`proctored_exam_id`
)
REFERENCES
`proctoring_proctoredexam
`
(
`id`
),
CONSTRAINT
`
proctoring_proctoredexam_user_id_a0a0681d4a01661_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`
proctoring_proctoredexam_user_id_a0a0681d4a01661_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`
db55b83a7875e70b3a0ebd1f81a898d8`
FOREIGN
KEY
(
`proctored_exam_id`
)
REFERENCES
`proctoring_proctoredexam
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`proctoring_proctoredexamstudentallowancehistory`
;
...
...
@@ -2492,8 +2492,8 @@ CREATE TABLE `proctoring_proctoredexamstudentallowancehistory` (
PRIMARY
KEY
(
`id`
),
KEY
`D169ec97a7fca1dbf6b0bb2929d41ccc`
(
`proctored_exam_id`
),
KEY
`proctoring_proctoredexa_user_id_68e25e3abb187580_fk_auth_user_id`
(
`user_id`
),
CONSTRAINT
`
D169ec97a7fca1dbf6b0bb2929d41ccc`
FOREIGN
KEY
(
`proctored_exam_id`
)
REFERENCES
`proctoring_proctoredexam
`
(
`id`
),
CONSTRAINT
`
proctoring_proctoredexa_user_id_68e25e3abb187580_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`
proctoring_proctoredexa_user_id_68e25e3abb187580_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`
D169ec97a7fca1dbf6b0bb2929d41ccc`
FOREIGN
KEY
(
`proctored_exam_id`
)
REFERENCES
`proctoring_proctoredexam
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`proctoring_proctoredexamstudentattempt`
;
...
...
@@ -2572,8 +2572,8 @@ CREATE TABLE `proctoring_proctoredexamstudentattempthistory` (
KEY
`proctoring_proctoredexa_user_id_59ce75db7c4fc769_fk_auth_user_id`
(
`user_id`
),
KEY
`proctoring_proctoredexamstudentattempthistory_b38e5b0e`
(
`attempt_code`
),
KEY
`proctoring_proctoredexamstudentattempthistory_0e684294`
(
`external_id`
),
CONSTRAINT
`
cbccbfd5c4c427541fdce96e77e6bf6c`
FOREIGN
KEY
(
`proctored_exam_id`
)
REFERENCES
`proctoring_proctoredexam
`
(
`id`
),
CONSTRAINT
`
proctoring_proctoredexa_user_id_59ce75db7c4fc769_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`
proctoring_proctoredexa_user_id_59ce75db7c4fc769_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`
cbccbfd5c4c427541fdce96e77e6bf6c`
FOREIGN
KEY
(
`proctored_exam_id`
)
REFERENCES
`proctoring_proctoredexam
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`programs_programsapiconfig`
;
...
...
@@ -2658,9 +2658,9 @@ CREATE TABLE `shoppingcart_couponredemption` (
KEY
`shoppingcar_coupon_id_1afa016627ac44bb_fk_shoppingcart_coupon_id`
(
`coupon_id`
),
KEY
`shoppingcart_couponredemption_69dfcb07`
(
`order_id`
),
KEY
`shoppingcart_couponredemption_e8701ad4`
(
`user_id`
),
CONSTRAINT
`shoppingcar
_coupon_id_1afa016627ac44bb_fk_shoppingcart_coupon_id`
FOREIGN
KEY
(
`coupon_id`
)
REFERENCES
`shoppingcart_coupon
`
(
`id`
),
CONSTRAINT
`shoppingcar
t_couponredemp_user_id_f5b814b7d92666_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`shoppingcart__order_id_5ba031c3bfaf643a_fk_shoppingcart_order_id`
FOREIGN
KEY
(
`order_id`
)
REFERENCES
`shoppingcart_order`
(
`id`
),
CONSTRAINT
`shoppingcar
t_couponredemp_user_id_f5b814b7d92666_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`shoppingcar
_coupon_id_1afa016627ac44bb_fk_shoppingcart_coupon_id`
FOREIGN
KEY
(
`coupon_id`
)
REFERENCES
`shoppingcart_coupon
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`shoppingcart_courseregcodeitem`
;
...
...
@@ -2698,9 +2698,9 @@ CREATE TABLE `shoppingcart_courseregistrationcode` (
`mode_slug`
varchar
(
100
)
DEFAULT
NULL
,
`is_valid`
tinyint
(
1
)
NOT
NULL
,
`created_by_id`
int
(
11
)
NOT
NULL
,
`invoice_id`
int
(
11
)
DEFAULT
NULL
,
`order_id`
int
(
11
)
DEFAULT
NULL
,
`invoice_item_id`
int
(
11
)
DEFAULT
NULL
,
`invoice_id`
int
(
11
),
`order_id`
int
(
11
),
`invoice_item_id`
int
(
11
),
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`code`
(
`code`
),
KEY
`shoppingcart_cour_created_by_id_11125a9667aa01c9_fk_auth_user_id`
(
`created_by_id`
),
...
...
@@ -2709,9 +2709,9 @@ CREATE TABLE `shoppingcart_courseregistrationcode` (
KEY
`shoppingcart_courseregistrationcode_69dfcb07`
(
`order_id`
),
KEY
`shoppingcart_courseregistrationcode_7a471658`
(
`invoice_item_id`
),
CONSTRAINT
`f040030b6361304bd87eb40c09a82094`
FOREIGN
KEY
(
`invoice_item_id`
)
REFERENCES
`shoppingcart_courseregistrationcodeinvoiceitem`
(
`invoiceitem_ptr_id`
),
CONSTRAINT
`shoppingc
_invoice_id_422f26bdc7c5cb99_fk_shoppingcart_invoice_id`
FOREIGN
KEY
(
`invoice_id`
)
REFERENCES
`shoppingcart_invoice
`
(
`id`
),
CONSTRAINT
`shoppingc
art_cour_created_by_id_11125a9667aa01c9_fk_auth_user_id`
FOREIGN
KEY
(
`created_by_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`shoppingcart__order_id_279d7e2df3fe6b6a_fk_shoppingcart_order_id`
FOREIGN
KEY
(
`order_id`
)
REFERENCES
`shoppingcart_order`
(
`id`
),
CONSTRAINT
`shoppingc
art_cour_created_by_id_11125a9667aa01c9_fk_auth_user_id`
FOREIGN
KEY
(
`created_by_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`shoppingc
_invoice_id_422f26bdc7c5cb99_fk_shoppingcart_invoice_id`
FOREIGN
KEY
(
`invoice_id`
)
REFERENCES
`shoppingcart_invoice
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`shoppingcart_courseregistrationcodeinvoiceitem`
;
...
...
@@ -2827,9 +2827,9 @@ CREATE TABLE `shoppingcart_invoicetransaction` (
KEY
`shoppingcart_invoi_created_by_id_f5f3d90ce55a145_fk_auth_user_id`
(
`created_by_id`
),
KEY
`shoppingc_invoice_id_66bdbfa6f029288b_fk_shoppingcart_invoice_id`
(
`invoice_id`
),
KEY
`shoppingcar_last_modified_by_id_5e10e433f9576d91_fk_auth_user_id`
(
`last_modified_by_id`
),
CONSTRAINT
`shoppingc_invoice_id_66bdbfa6f029288b_fk_shoppingcart_invoice_id`
FOREIGN
KEY
(
`invoice_id`
)
REFERENCES
`shoppingcart_invoice`
(
`id`
),
CONSTRAINT
`shoppingcar_last_modified_by_id_5e10e433f9576d91_fk_auth_user_id`
FOREIGN
KEY
(
`last_modified_by_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`shoppingcart_invoi_created_by_id_f5f3d90ce55a145_fk_auth_user_id`
FOREIGN
KEY
(
`created_by_id`
)
REFERENCES
`auth_user`
(
`id`
)
CONSTRAINT
`shoppingcart_invoi_created_by_id_f5f3d90ce55a145_fk_auth_user_id`
FOREIGN
KEY
(
`created_by_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`shoppingc_invoice_id_66bdbfa6f029288b_fk_shoppingcart_invoice_id`
FOREIGN
KEY
(
`invoice_id`
)
REFERENCES
`shoppingcart_invoice`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`shoppingcart_order`
;
...
...
@@ -2890,8 +2890,8 @@ CREATE TABLE `shoppingcart_orderitem` (
KEY
`shoppingcart_orderitem_76ed2946`
(
`refund_requested_time`
),
KEY
`shoppingcart_orderitem_69dfcb07`
(
`order_id`
),
KEY
`shoppingcart_orderitem_e8701ad4`
(
`user_id`
),
CONSTRAINT
`shoppingcart_
_order_id_325e5347f18743e3_fk_shoppingcart_order_id`
FOREIGN
KEY
(
`order_id`
)
REFERENCES
`shoppingcart_ord
er`
(
`id`
),
CONSTRAINT
`shoppingcart_
orderitem_user_id_5708ec7aabe24a31_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_us
er`
(
`id`
)
CONSTRAINT
`shoppingcart_
orderitem_user_id_5708ec7aabe24a31_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_us
er`
(
`id`
),
CONSTRAINT
`shoppingcart_
_order_id_325e5347f18743e3_fk_shoppingcart_order_id`
FOREIGN
KEY
(
`order_id`
)
REFERENCES
`shoppingcart_ord
er`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`shoppingcart_paidcourseregistration`
;
...
...
@@ -2938,8 +2938,8 @@ CREATE TABLE `shoppingcart_registrationcoderedemption` (
KEY
`D1ed44c4be114e424571929bce972f54`
(
`registration_code_id`
),
CONSTRAINT
`D1ed44c4be114e424571929bce972f54`
FOREIGN
KEY
(
`registration_code_id`
)
REFERENCES
`shoppingcart_courseregistrationcode`
(
`id`
),
CONSTRAINT
`D6654a8efe686d45804b6116dfc6bee1`
FOREIGN
KEY
(
`course_enrollment_id`
)
REFERENCES
`student_courseenrollment`
(
`id`
),
CONSTRAINT
`shoppingcart_r
_order_id_752ddc3003afe96_fk_shoppingcart_order_id`
FOREIGN
KEY
(
`order_id`
)
REFERENCES
`shoppingcart_ord
er`
(
`id`
),
CONSTRAINT
`shoppingcart_r
eg_redeemed_by_id_455df2dd74004fff_fk_auth_user_id`
FOREIGN
KEY
(
`redeemed_by_id`
)
REFERENCES
`auth_us
er`
(
`id`
)
CONSTRAINT
`shoppingcart_r
eg_redeemed_by_id_455df2dd74004fff_fk_auth_user_id`
FOREIGN
KEY
(
`redeemed_by_id`
)
REFERENCES
`auth_us
er`
(
`id`
),
CONSTRAINT
`shoppingcart_r
_order_id_752ddc3003afe96_fk_shoppingcart_order_id`
FOREIGN
KEY
(
`order_id`
)
REFERENCES
`shoppingcart_ord
er`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`social_auth_association`
;
...
...
@@ -3020,9 +3020,9 @@ DROP TABLE IF EXISTS `static_replace_assetbaseurlconfig`;
CREATE
TABLE
`static_replace_assetbaseurlconfig`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`change_date`
datetime
(
6
)
NOT
NULL
,
`changed_by_id`
int
(
11
)
DEFAULT
NULL
,
`enabled`
tinyint
(
1
)
NOT
NULL
,
`base_url`
longtext
NOT
NULL
,
`changed_by_id`
int
(
11
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`static_replace_as_changed_by_id_796c2e5b1bee7027_fk_auth_user_id`
(
`changed_by_id`
),
CONSTRAINT
`static_replace_as_changed_by_id_796c2e5b1bee7027_fk_auth_user_id`
FOREIGN
KEY
(
`changed_by_id`
)
REFERENCES
`auth_user`
(
`id`
)
...
...
@@ -3330,8 +3330,8 @@ CREATE TABLE `student_userstanding` (
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`user_id`
(
`user_id`
),
KEY
`student_userstand_changed_by_id_23784b83f2849aff_fk_auth_user_id`
(
`changed_by_id`
),
CONSTRAINT
`student_userstand
_changed_by_id_23784b83f2849aff_fk_auth_user_id`
FOREIGN
KEY
(
`changed_by
_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`student_userstand
ing_user_id_6bb90abaaa05d42e_fk_auth_user_id`
FOREIGN
KEY
(
`user
_id`
)
REFERENCES
`auth_user`
(
`id`
)
CONSTRAINT
`student_userstand
ing_user_id_6bb90abaaa05d42e_fk_auth_user_id`
FOREIGN
KEY
(
`user
_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`student_userstand
_changed_by_id_23784b83f2849aff_fk_auth_user_id`
FOREIGN
KEY
(
`changed_by
_id`
)
REFERENCES
`auth_user`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`student_usertestgroup`
;
...
...
@@ -3355,8 +3355,8 @@ CREATE TABLE `student_usertestgroup_users` (
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`usertestgroup_id`
(
`usertestgroup_id`
,
`user_id`
),
KEY
`student_usertestgroup_u_user_id_26c886de60cceacb_fk_auth_user_id`
(
`user_id`
),
CONSTRAINT
`st
_usertestgroup_id_3d634741f1dd4e4f_fk_student_usertestgroup_id`
FOREIGN
KEY
(
`usertestgroup_id`
)
REFERENCES
`student_usertestgroup
`
(
`id`
),
CONSTRAINT
`st
udent_usertestgroup_u_user_id_26c886de60cceacb_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`st
udent_usertestgroup_u_user_id_26c886de60cceacb_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`st
_usertestgroup_id_3d634741f1dd4e4f_fk_student_usertestgroup_id`
FOREIGN
KEY
(
`usertestgroup_id`
)
REFERENCES
`student_usertestgroup
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`submissions_score`
;
...
...
@@ -3369,13 +3369,13 @@ CREATE TABLE `submissions_score` (
`created_at`
datetime
(
6
)
NOT
NULL
,
`reset`
tinyint
(
1
)
NOT
NULL
,
`student_item_id`
int
(
11
)
NOT
NULL
,
`submission_id`
int
(
11
)
DEFAULT
NULL
,
`submission_id`
int
(
11
),
PRIMARY
KEY
(
`id`
),
KEY
`submissions_score_fde81f11`
(
`created_at`
),
KEY
`submissions_score_02d5e83e`
(
`student_item_id`
),
KEY
`submissions_score_1dd9cfcc`
(
`submission_id`
),
CONSTRAINT
`s
_student_item_id_7d4d4bb6a7dd0642_fk_submissions_studentitem_id`
FOREIGN
KEY
(
`student_item_id`
)
REFERENCES
`submissions_studentitem
`
(
`id`
),
CONSTRAINT
`s
ubm_submission_id_3fc975fe88442ff7_fk_submissions_submission_id`
FOREIGN
KEY
(
`submission_id`
)
REFERENCES
`submissions_submission
`
(
`id`
)
CONSTRAINT
`s
ubm_submission_id_3fc975fe88442ff7_fk_submissions_submission_id`
FOREIGN
KEY
(
`submission_id`
)
REFERENCES
`submissions_submission
`
(
`id`
),
CONSTRAINT
`s
_student_item_id_7d4d4bb6a7dd0642_fk_submissions_studentitem_id`
FOREIGN
KEY
(
`student_item_id`
)
REFERENCES
`submissions_studentitem
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`submissions_scoreannotation`
;
...
...
@@ -3407,8 +3407,8 @@ CREATE TABLE `submissions_scoresummary` (
KEY
`submissions__highest_id_7fd91b8eb312c175_fk_submissions_score_id`
(
`highest_id`
),
KEY
`submissions_s_latest_id_2b352506a35fd569_fk_submissions_score_id`
(
`latest_id`
),
CONSTRAINT
`s_student_item_id_32fa0a425a149b1b_fk_submissions_studentitem_id`
FOREIGN
KEY
(
`student_item_id`
)
REFERENCES
`submissions_studentitem`
(
`id`
),
CONSTRAINT
`submissions_
_highest_id_7fd91b8eb312c175_fk_submissions_score_id`
FOREIGN
KEY
(
`high
est_id`
)
REFERENCES
`submissions_score`
(
`id`
),
CONSTRAINT
`submissions_
s_latest_id_2b352506a35fd569_fk_submissions_score_id`
FOREIGN
KEY
(
`lat
est_id`
)
REFERENCES
`submissions_score`
(
`id`
)
CONSTRAINT
`submissions_
s_latest_id_2b352506a35fd569_fk_submissions_score_id`
FOREIGN
KEY
(
`lat
est_id`
)
REFERENCES
`submissions_score`
(
`id`
),
CONSTRAINT
`submissions_
_highest_id_7fd91b8eb312c175_fk_submissions_score_id`
FOREIGN
KEY
(
`high
est_id`
)
REFERENCES
`submissions_score`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`submissions_studentitem`
;
...
...
@@ -3463,8 +3463,8 @@ CREATE TABLE `survey_surveyanswer` (
KEY
`survey_surveyanswer_c8235886`
(
`course_key`
),
KEY
`survey_surveyanswer_d6cba1ad`
(
`form_id`
),
KEY
`survey_surveyanswer_e8701ad4`
(
`user_id`
),
CONSTRAINT
`survey_surveyan
_form_id_1c835afe12a54912_fk_survey_surveyform_id`
FOREIGN
KEY
(
`form_id`
)
REFERENCES
`survey_surveyform
`
(
`id`
),
CONSTRAINT
`survey_surveyan
swer_user_id_4e77d83a82fd0b2b_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`survey_surveyan
swer_user_id_4e77d83a82fd0b2b_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`survey_surveyan
_form_id_1c835afe12a54912_fk_survey_surveyform_id`
FOREIGN
KEY
(
`form_id`
)
REFERENCES
`survey_surveyform
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`survey_surveyform`
;
...
...
@@ -3518,8 +3518,8 @@ CREATE TABLE `teams_courseteammembership` (
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`teams_courseteammembership_user_id_48efa8e8971947c3_uniq`
(
`user_id`
,
`team_id`
),
KEY
`teams_courseteam_team_id_594700d19b04f922_fk_teams_courseteam_id`
(
`team_id`
),
CONSTRAINT
`teams_courseteam
_team_id_594700d19b04f922_fk_teams_courseteam_id`
FOREIGN
KEY
(
`team_id`
)
REFERENCES
`teams_courseteam
`
(
`id`
),
CONSTRAINT
`teams_courseteam
members_user_id_2d93b28be22c3c40_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`teams_courseteam
members_user_id_2d93b28be22c3c40_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`teams_courseteam
_team_id_594700d19b04f922_fk_teams_courseteam_id`
FOREIGN
KEY
(
`team_id`
)
REFERENCES
`teams_courseteam
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`third_party_auth_ltiproviderconfig`
;
...
...
@@ -3730,7 +3730,7 @@ CREATE TABLE `util_ratelimitconfiguration` (
PRIMARY
KEY
(
`id`
),
KEY
`util_ratelimitcon_changed_by_id_2c8891cb4854f3b5_fk_auth_user_id`
(
`changed_by_id`
),
CONSTRAINT
`util_ratelimitcon_changed_by_id_2c8891cb4854f3b5_fk_auth_user_id`
FOREIGN
KEY
(
`changed_by_id`
)
REFERENCES
`auth_user`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`verify_student_historicalverificationdeadline`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
...
...
@@ -3793,8 +3793,8 @@ CREATE TABLE `verify_student_skippedreverification` (
KEY
`verify_student_skippedreverification_ea134da7`
(
`course_id`
),
KEY
`verify_student_skippedreverification_bef2d98a`
(
`checkpoint_id`
),
KEY
`verify_student_skippedreverification_e8701ad4`
(
`user_id`
),
CONSTRAINT
`
D759ffa5ca66ef1a2c8c200f7a21365b`
FOREIGN
KEY
(
`checkpoint_id`
)
REFERENCES
`verify_student_verificationcheckpoint
`
(
`id`
),
CONSTRAINT
`
verify_student_skippedr_user_id_6752b392e3d3c501_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`
verify_student_skippedr_user_id_6752b392e3d3c501_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`
D759ffa5ca66ef1a2c8c200f7a21365b`
FOREIGN
KEY
(
`checkpoint_id`
)
REFERENCES
`verify_student_verificationcheckpoint
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`verify_student_softwaresecurephotoverification`
;
...
...
@@ -3828,9 +3828,9 @@ CREATE TABLE `verify_student_softwaresecurephotoverification` (
KEY
`verify_student_softwaresecurephotoverification_afd1a1a8`
(
`updated_at`
),
KEY
`verify_student_softwaresecurephotoverification_ebf78b51`
(
`display`
),
KEY
`verify_student_softwaresecurephotoverification_22bb6ff9`
(
`submitted_at`
),
CONSTRAINT
`verify_student_software_user_id_61ffab9c12020106_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`D01dce17b91c9382bd80d4be23a3e0cf`
FOREIGN
KEY
(
`copy_id_photo_from_id`
)
REFERENCES
`verify_student_softwaresecurephotoverification`
(
`id`
),
CONSTRAINT
`verify_studen_reviewing_user_id_727fae1d0bcf8aaf_fk_auth_user_id`
FOREIGN
KEY
(
`reviewing_user_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`verify_student_software_user_id_61ffab9c12020106_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user`
(
`id`
)
CONSTRAINT
`verify_studen_reviewing_user_id_727fae1d0bcf8aaf_fk_auth_user_id`
FOREIGN
KEY
(
`reviewing_user_id`
)
REFERENCES
`auth_user`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`verify_student_verificationcheckpoint`
;
...
...
@@ -3888,8 +3888,8 @@ CREATE TABLE `verify_student_verificationstatus` (
KEY
`D4cefb6d3d71c9b26af2a5ece4c37277`
(
`checkpoint_id`
),
KEY
`verify_student_verifica_user_id_5c19fcd6dc05f211_fk_auth_user_id`
(
`user_id`
),
KEY
`verify_student_verificationstatus_9acb4454`
(
`status`
),
CONSTRAINT
`
D4cefb6d3d71c9b26af2a5ece4c37277`
FOREIGN
KEY
(
`checkpoint_id`
)
REFERENCES
`verify_student_verificationcheckpoint
`
(
`id`
),
CONSTRAINT
`
verify_student_verifica_user_id_5c19fcd6dc05f211_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
)
CONSTRAINT
`
verify_student_verifica_user_id_5c19fcd6dc05f211_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user
`
(
`id`
),
CONSTRAINT
`
D4cefb6d3d71c9b26af2a5ece4c37277`
FOREIGN
KEY
(
`checkpoint_id`
)
REFERENCES
`verify_student_verificationcheckpoint
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`wiki_article`
;
...
...
@@ -3903,16 +3903,16 @@ CREATE TABLE `wiki_article` (
`group_write`
tinyint
(
1
)
NOT
NULL
,
`other_read`
tinyint
(
1
)
NOT
NULL
,
`other_write`
tinyint
(
1
)
NOT
NULL
,
`current_revision_id`
int
(
11
)
DEFAULT
NULL
,
`group_id`
int
(
11
)
DEFAULT
NULL
,
`owner_id`
int
(
11
)
DEFAULT
NULL
,
`current_revision_id`
int
(
11
),
`group_id`
int
(
11
),
`owner_id`
int
(
11
),
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`current_revision_id`
(
`current_revision_id`
),
KEY
`wiki_article_0e939a4f`
(
`group_id`
),
KEY
`wiki_article_5e7b1936`
(
`owner_id`
),
CONSTRAINT
`wiki_article_owner_id_b1c1e44609a378f_fk_auth_user_id`
FOREIGN
KEY
(
`owner_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`current_revision_id_42a9dbec1e0dd15c_fk_wiki_articlerevision_id`
FOREIGN
KEY
(
`current_revision_id`
)
REFERENCES
`wiki_articlerevision`
(
`id`
),
CONSTRAINT
`wiki_article_group_id_2b38601b6aa39f3d_fk_auth_group_id`
FOREIGN
KEY
(
`group_id`
)
REFERENCES
`auth_group`
(
`id`
),
CONSTRAINT
`wiki_article_owner_id_b1c1e44609a378f_fk_auth_user_id`
FOREIGN
KEY
(
`owner_id`
)
REFERENCES
`auth_user`
(
`id`
)
CONSTRAINT
`wiki_article_group_id_2b38601b6aa39f3d_fk_auth_group_id`
FOREIGN
KEY
(
`group_id`
)
REFERENCES
`auth_group`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`wiki_articleforobject`
;
...
...
@@ -3966,9 +3966,9 @@ CREATE TABLE `wiki_articlerevision` (
UNIQUE
KEY
`wiki_articlerevision_article_id_4b4e7910c8e7b2d0_uniq`
(
`article_id`
,
`revision_number`
),
KEY
`fae2b1c6e892c699844d5dda69aeb89e`
(
`previous_revision_id`
),
KEY
`wiki_articlerevision_user_id_183520686b6ead55_fk_auth_user_id`
(
`user_id`
),
CONSTRAINT
`wiki_articlerevision_user_id_183520686b6ead55_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`fae2b1c6e892c699844d5dda69aeb89e`
FOREIGN
KEY
(
`previous_revision_id`
)
REFERENCES
`wiki_articlerevision`
(
`id`
),
CONSTRAINT
`wiki_articlerevis_article_id_1f2c587981af1463_fk_wiki_article_id`
FOREIGN
KEY
(
`article_id`
)
REFERENCES
`wiki_article`
(
`id`
),
CONSTRAINT
`wiki_articlerevision_user_id_183520686b6ead55_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user`
(
`id`
)
CONSTRAINT
`wiki_articlerevis_article_id_1f2c587981af1463_fk_wiki_article_id`
FOREIGN
KEY
(
`article_id`
)
REFERENCES
`wiki_article`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`wiki_attachment`
;
...
...
@@ -3977,7 +3977,7 @@ DROP TABLE IF EXISTS `wiki_attachment`;
CREATE
TABLE
`wiki_attachment`
(
`reusableplugin_ptr_id`
int
(
11
)
NOT
NULL
,
`original_filename`
varchar
(
256
)
DEFAULT
NULL
,
`current_revision_id`
int
(
11
)
DEFAULT
NULL
,
`current_revision_id`
int
(
11
),
PRIMARY
KEY
(
`reusableplugin_ptr_id`
),
UNIQUE
KEY
`current_revision_id`
(
`current_revision_id`
),
CONSTRAINT
`D32d32ecb0471dc863a4e19562842024`
FOREIGN
KEY
(
`current_revision_id`
)
REFERENCES
`wiki_attachmentrevision`
(
`id`
),
...
...
@@ -4000,15 +4000,15 @@ CREATE TABLE `wiki_attachmentrevision` (
`file`
varchar
(
100
)
NOT
NULL
,
`description`
longtext
NOT
NULL
,
`attachment_id`
int
(
11
)
NOT
NULL
,
`previous_revision_id`
int
(
11
)
DEFAULT
NULL
,
`user_id`
int
(
11
)
DEFAULT
NULL
,
`previous_revision_id`
int
(
11
),
`user_id`
int
(
11
),
PRIMARY
KEY
(
`id`
),
KEY
`wiki_attachmentrevision_07ba63f5`
(
`attachment_id`
),
KEY
`wiki_attachmentrevision_e8680b8a`
(
`previous_revision_id`
),
KEY
`wiki_attachmentrevision_e8701ad4`
(
`user_id`
),
CONSTRAINT
`wiki_attachmentrevision_user_id_427e3f452b4bfdcd_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`D68d5cd540b66f536228137e518081f8`
FOREIGN
KEY
(
`attachment_id`
)
REFERENCES
`wiki_attachment`
(
`reusableplugin_ptr_id`
),
CONSTRAINT
`D8c1f0a8f0ddceb9c3ebc94379fe22c9`
FOREIGN
KEY
(
`previous_revision_id`
)
REFERENCES
`wiki_attachmentrevision`
(
`id`
),
CONSTRAINT
`wiki_attachmentrevision_user_id_427e3f452b4bfdcd_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user`
(
`id`
)
CONSTRAINT
`D8c1f0a8f0ddceb9c3ebc94379fe22c9`
FOREIGN
KEY
(
`previous_revision_id`
)
REFERENCES
`wiki_attachmentrevision`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`wiki_image`
;
...
...
@@ -4051,8 +4051,8 @@ CREATE TABLE `wiki_reusableplugin_articles` (
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`reusableplugin_id`
(
`reusableplugin_id`
,
`article_id`
),
KEY
`wiki_reusableplug_article_id_5e893d3b3fb4f7fa_fk_wiki_article_id`
(
`article_id`
),
CONSTRAINT
`
a9f9f50fd4e8fdafe7ffc0c1a145fee3`
FOREIGN
KEY
(
`reusableplugin_id`
)
REFERENCES
`wiki_reusableplugin`
(
`articleplugin_ptr_
id`
),
CONSTRAINT
`
wiki_reusableplug_article_id_5e893d3b3fb4f7fa_fk_wiki_article_id`
FOREIGN
KEY
(
`article_id`
)
REFERENCES
`wiki_article`
(
`
id`
)
CONSTRAINT
`
wiki_reusableplug_article_id_5e893d3b3fb4f7fa_fk_wiki_article_id`
FOREIGN
KEY
(
`article_id`
)
REFERENCES
`wiki_article`
(
`
id`
),
CONSTRAINT
`
a9f9f50fd4e8fdafe7ffc0c1a145fee3`
FOREIGN
KEY
(
`reusableplugin_id`
)
REFERENCES
`wiki_reusableplugin`
(
`articleplugin_ptr_
id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`wiki_revisionplugin`
;
...
...
@@ -4060,7 +4060,7 @@ DROP TABLE IF EXISTS `wiki_revisionplugin`;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`wiki_revisionplugin`
(
`articleplugin_ptr_id`
int
(
11
)
NOT
NULL
,
`current_revision_id`
int
(
11
)
DEFAULT
NULL
,
`current_revision_id`
int
(
11
),
PRIMARY
KEY
(
`articleplugin_ptr_id`
),
UNIQUE
KEY
`current_revision_id`
(
`current_revision_id`
),
CONSTRAINT
`D03d76148e98b4bc99e3137189894366`
FOREIGN
KEY
(
`current_revision_id`
)
REFERENCES
`wiki_revisionpluginrevision`
(
`id`
),
...
...
@@ -4081,15 +4081,15 @@ CREATE TABLE `wiki_revisionpluginrevision` (
`deleted`
tinyint
(
1
)
NOT
NULL
,
`locked`
tinyint
(
1
)
NOT
NULL
,
`plugin_id`
int
(
11
)
NOT
NULL
,
`previous_revision_id`
int
(
11
)
DEFAULT
NULL
,
`user_id`
int
(
11
)
DEFAULT
NULL
,
`previous_revision_id`
int
(
11
),
`user_id`
int
(
11
),
PRIMARY
KEY
(
`id`
),
KEY
`wiki_revisionpluginrevision_b25eaab4`
(
`plugin_id`
),
KEY
`wiki_revisionpluginrevision_e8680b8a`
(
`previous_revision_id`
),
KEY
`wiki_revisionpluginrevision_e8701ad4`
(
`user_id`
),
CONSTRAINT
`wiki_revisionpluginrevi_user_id_55a00bd0e2532762_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`D9574e2f57b828a85a24838761473871`
FOREIGN
KEY
(
`plugin_id`
)
REFERENCES
`wiki_revisionplugin`
(
`articleplugin_ptr_id`
),
CONSTRAINT
`e524c4f887e857f93c39356f7cf7d4df`
FOREIGN
KEY
(
`previous_revision_id`
)
REFERENCES
`wiki_revisionpluginrevision`
(
`id`
),
CONSTRAINT
`wiki_revisionpluginrevi_user_id_55a00bd0e2532762_fk_auth_user_id`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`auth_user`
(
`id`
)
CONSTRAINT
`e524c4f887e857f93c39356f7cf7d4df`
FOREIGN
KEY
(
`previous_revision_id`
)
REFERENCES
`wiki_revisionpluginrevision`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`wiki_simpleplugin`
;
...
...
@@ -4126,9 +4126,9 @@ CREATE TABLE `wiki_urlpath` (
KEY
`wiki_urlpath_656442a0`
(
`tree_id`
),
KEY
`wiki_urlpath_c9e9a848`
(
`level`
),
KEY
`wiki_urlpath_6be37982`
(
`parent_id`
),
CONSTRAINT
`wiki_urlpath_site_id_4f30e731b0464e80_fk_django_site_id`
FOREIGN
KEY
(
`site_id`
)
REFERENCES
`django_site`
(
`id`
),
CONSTRAINT
`wiki_urlpath_article_id_1d1c5eb9a64e1390_fk_wiki_article_id`
FOREIGN
KEY
(
`article_id`
)
REFERENCES
`wiki_article`
(
`id`
),
CONSTRAINT
`wiki_urlpath_parent_id_24eab80cd168595f_fk_wiki_urlpath_id`
FOREIGN
KEY
(
`parent_id`
)
REFERENCES
`wiki_urlpath`
(
`id`
),
CONSTRAINT
`wiki_urlpath_site_id_4f30e731b0464e80_fk_django_site_id`
FOREIGN
KEY
(
`site_id`
)
REFERENCES
`django_site`
(
`id`
)
CONSTRAINT
`wiki_urlpath_parent_id_24eab80cd168595f_fk_wiki_urlpath_id`
FOREIGN
KEY
(
`parent_id`
)
REFERENCES
`wiki_urlpath`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`workflow_assessmentworkflow`
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment