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
f84f95c7
Commit
f84f95c7
authored
Apr 01, 2016
by
Jonathan Piacenti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refresh DB caches.
parent
09f5277f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
425 additions
and
133 deletions
+425
-133
common/test/db_cache/bok_choy_data_default.json
+0
-0
common/test/db_cache/bok_choy_migrations_data_default.sql
+4
-4
common/test/db_cache/bok_choy_migrations_data_student_module_history.sql
+4
-4
common/test/db_cache/bok_choy_schema_default.sql
+416
-124
common/test/db_cache/bok_choy_schema_student_module_history.sql
+1
-1
common/test/db_cache/lettuce.db
+0
-0
common/test/db_cache/lettuce_student_module_history.db
+0
-0
No files found.
common/test/db_cache/bok_choy_data_default.json
View file @
f84f95c7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
common/test/db_cache/bok_choy_migrations_data_default.sql
View file @
f84f95c7
-- MySQL dump 10.13 Distrib 5.6.
1
4, for debian-linux-gnu (x86_64)
-- MySQL dump 10.13 Distrib 5.6.
2
4, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: edxtest
-- ------------------------------------------------------
-- Server version 5.6.
14-1+debphp.org~precise+1
-- Server version 5.6.
24-2+deb.sury.org~precise+2
/*!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'
,
'2016-0
3-07 21:30:14.182305'
),(
2
,
'auth'
,
'0001_initial'
,
'2016-03-07 21:30:14.485815'
),(
3
,
'admin'
,
'0001_initial'
,
'2016-03-07 21:30:14.565850'
),(
4
,
'assessment'
,
'0001_initial'
,
'2016-03-07 21:30:17.817617'
),(
5
,
'assessment'
,
'0002_staffworkflow'
,
'2016-03-07 21:30:18.084033'
),(
6
,
'contenttypes'
,
'0002_remove_content_type_name'
,
'2016-03-07 21:30:18.233041'
),(
7
,
'auth'
,
'0002_alter_permission_name_max_length'
,
'2016-03-07 21:30:18.276671'
),(
8
,
'auth'
,
'0003_alter_user_email_max_length'
,
'2016-03-07 21:30:18.326002'
),(
9
,
'auth'
,
'0004_alter_user_username_opts'
,
'2016-03-07 21:30:18.353157'
),(
10
,
'auth'
,
'0005_alter_user_last_login_null'
,
'2016-03-07 21:30:18.414606'
),(
11
,
'auth'
,
'0006_require_contenttypes_0002'
,
'2016-03-07 21:30:18.418705'
),(
12
,
'bookmarks'
,
'0001_initial'
,
'2016-03-07 21:30:18.701043'
),(
13
,
'branding'
,
'0001_initial'
,
'2016-03-07 21:30:18.829558'
),(
14
,
'bulk_email'
,
'0001_initial'
,
'2016-03-07 21:30:19.115081'
),(
15
,
'bulk_email'
,
'0002_data__load_course_email_template'
,
'2016-03-07 21:30:19.155468'
),(
16
,
'instructor_task'
,
'0001_initial'
,
'2016-03-07 21:30:19.341905'
),(
17
,
'certificates'
,
'0001_initial'
,
'2016-03-07 21:30:20.197566'
),(
18
,
'certificates'
,
'0002_data__certificatehtmlviewconfiguration_data'
,
'2016-03-07 21:30:20.220202'
),(
19
,
'certificates'
,
'0003_data__default_modes'
,
'2016-03-07 21:30:20.258243'
),(
20
,
'certificates'
,
'0004_certificategenerationhistory'
,
'2016-03-07 21:30:20.390214'
),(
21
,
'certificates'
,
'0005_auto_20151208_0801'
,
'2016-03-07 21:30:20.497751'
),(
22
,
'certificates'
,
'0006_certificatetemplateasset_asset_slug'
,
'2016-03-07 21:30:20.541391'
),(
23
,
'certificates'
,
'0007_certificateinvalidation'
,
'2016-03-07 21:30:20.642449'
),(
24
,
'commerce'
,
'0001_data__add_ecommerce_service_user'
,
'2016-03-07 21:30:20.668836'
),(
25
,
'commerce'
,
'0002_commerceconfiguration'
,
'2016-03-07 21:30:20.764499'
),(
26
,
'contentserver'
,
'0001_initial'
,
'2016-03-07 21:30:20.858120'
),(
27
,
'cors_csrf'
,
'0001_initial'
,
'2016-03-07 21:30:20.948472'
),(
28
,
'course_action_state'
,
'0001_initial'
,
'2016-03-07 21:30:22.206899'
),(
29
,
'course_groups'
,
'0001_initial'
,
'2016-03-07 21:30:23.049803'
),(
30
,
'course_modes'
,
'0001_initial'
,
'2016-03-07 21:30:23.168870'
),(
31
,
'course_modes'
,
'0002_coursemode_expiration_datetime_is_explicit'
,
'2016-03-07 21:30:23.216519'
),(
32
,
'course_modes'
,
'0003_auto_20151113_1443'
,
'2016-03-07 21:30:23.240339'
),(
33
,
'course_modes'
,
'0004_auto_20151113_1457'
,
'2016-03-07 21:30:23.342111'
),(
34
,
'course_modes'
,
'0005_auto_20151217_0958'
,
'2016-03-07 21:30:23.361769'
),(
35
,
'course_modes'
,
'0006_auto_20160208_1407'
,
'2016-03-07 21:30:23.436155'
),(
36
,
'course_overviews'
,
'0001_initial'
,
'2016-03-07 21:30:23.508236'
),(
37
,
'course_overviews'
,
'0002_add_course_catalog_fields'
,
'2016-03-07 21:30:23.733762'
),(
38
,
'course_overviews'
,
'0003_courseoverviewgeneratedhistory'
,
'2016-03-07 21:30:23.761257'
),(
39
,
'course_overviews'
,
'0004_courseoverview_org'
,
'2016-03-07 21:30:23.810614'
),(
40
,
'course_overviews'
,
'0005_delete_courseoverviewgeneratedhistory'
,
'2016-03-07 21:30:23.835739'
),(
41
,
'course_overviews'
,
'0006_courseoverviewimageset'
,
'2016-03-07 21:30:23.888381'
),(
42
,
'course_overviews'
,
'0007_courseoverviewimageconfig'
,
'2016-03-07 21:30:23.983401'
),(
43
,
'course_overviews'
,
'0008_remove_courseoverview_facebook_url'
,
'2016-03-07 21:30:23.999461'
),(
44
,
'course_overviews'
,
'0009_readd_facebook_url'
,
'2016-03-07 21:30:24.004728'
),(
45
,
'course_structures'
,
'0001_initial'
,
'2016-03-07 21:30:24.040777'
),(
46
,
'courseware'
,
'0001_initial'
,
'2016-03-07 21:30:25.940851'
),(
47
,
'coursewarehistoryextended'
,
'0001_initial'
,
'2016-03-07 21:30:26.040072'
),(
48
,
'coursewarehistoryextended'
,
'0002_force_studentmodule_index'
,
'2016-03-07 21:30:26.130654'
),(
49
,
'credentials'
,
'0001_initial'
,
'2016-03-07 21:30:26.264799'
),(
50
,
'credit'
,
'0001_initial'
,
'2016-03-07 21:30:27.649602'
),(
51
,
'dark_lang'
,
'0001_initial'
,
'2016-03-07 21:30:27.805328'
),(
52
,
'dark_lang'
,
'0002_data__enable_on_install'
,
'2016-03-07 21:30:27.826148'
),(
53
,
'default'
,
'0001_initial'
,
'2016-03-07 21:30:28.315042'
),(
54
,
'default'
,
'0002_add_related_name'
,
'2016-03-07 21:30:28.498168'
),(
55
,
'default'
,
'0003_alter_email_max_length'
,
'2016-03-07 21:30:28.548248'
),(
56
,
'django_comment_common'
,
'0001_initial'
,
'2016-03-07 21:30:29.000655'
),(
57
,
'django_notify'
,
'0001_initial'
,
'2016-03-07 21:30:29.868315'
),(
58
,
'django_openid_auth'
,
'0001_initial'
,
'2016-03-07 21:30:30.132929'
),(
59
,
'oauth2'
,
'0001_initial'
,
'2016-03-07 21:30:32.085445'
),(
60
,
'edx_oauth2_provider'
,
'0001_initial'
,
'2016-03-07 21:30:32.271384'
),(
61
,
'edx_proctoring'
,
'0001_initial'
,
'2016-03-07 21:30:35.489095'
),(
62
,
'edx_proctoring'
,
'0002_proctoredexamstudentattempt_is_status_acknowledged'
,
'2016-03-07 21:30:35.811830'
),(
63
,
'edx_proctoring'
,
'0003_auto_20160101_0525'
,
'2016-03-07 21:30:36.318967'
),(
64
,
'edx_proctoring'
,
'0004_auto_20160201_0523'
,
'2016-03-07 21:30:36.594639'
),(
65
,
'edxval'
,
'0001_initial'
,
'2016-03-07 21:30:37.250149'
),(
66
,
'edxval'
,
'0002_data__default_profiles'
,
'2016-03-07 21:30:37.292234'
),(
67
,
'embargo'
,
'0001_initial'
,
'2016-03-07 21:30:38.318664'
),(
68
,
'embargo'
,
'0002_data__add_countries'
,
'2016-03-07 21:30:38.670470'
),(
69
,
'external_auth'
,
'0001_initial'
,
'2016-03-07 21:30:40.309901'
),(
70
,
'lms_xblock'
,
'0001_initial'
,
'2016-03-07 21:30:40.530640'
),(
71
,
'sites'
,
'0001_initial'
,
'2016-03-07 21:30:40.570456'
),(
72
,
'microsite_configuration'
,
'0001_initial'
,
'2016-03-07 21:30:42.065940'
),(
73
,
'microsite_configuration'
,
'0002_auto_20160202_0228'
,
'2016-03-07 21:30:42.510084'
),(
74
,
'milestones'
,
'0001_initial'
,
'2016-03-07 21:30:43.515278'
),(
75
,
'milestones'
,
'0002_data__seed_relationship_types'
,
'2016-03-07 21:30:43.549236'
),(
76
,
'milestones'
,
'0003_coursecontentmilestone_requirements'
,
'2016-03-07 21:30:43.637530'
),(
77
,
'milestones'
,
'0004_auto_20151221_1445'
,
'2016-03-07 21:30:43.934637'
),(
78
,
'mobile_api'
,
'0001_initial'
,
'2016-03-07 21:30:44.232529'
),(
79
,
'notes'
,
'0001_initial'
,
'2016-03-07 21:30:44.623792'
),(
80
,
'oauth_provider'
,
'0001_initial'
,
'2016-03-07 21:30:45.424401'
),(
81
,
'organizations'
,
'0001_initial'
,
'2016-03-07 21:30:45.647395'
),(
82
,
'programs'
,
'0001_initial'
,
'2016-03-07 21:30:46.009532'
),(
83
,
'programs'
,
'0002_programsapiconfig_cache_ttl'
,
'2016-03-07 21:30:46.380846'
),(
84
,
'programs'
,
'0003_auto_20151120_1613'
,
'2016-03-07 21:30:48.590249'
),(
85
,
'programs'
,
'0004_programsapiconfig_enable_certification'
,
'2016-03-07 21:30:48.865268'
),(
86
,
'programs'
,
'0005_programsapiconfig_max_retries'
,
'2016-03-07 21:30:49.120259'
),(
87
,
'rss_proxy'
,
'0001_initial'
,
'2016-03-07 21:30:49.167846'
),(
88
,
'self_paced'
,
'0001_initial'
,
'2016-03-07 21:30:49.436334'
),(
89
,
'sessions'
,
'0001_initial'
,
'2016-03-07 21:30:49.500776'
),(
90
,
'student'
,
'0001_initial'
,
'2016-03-07 21:31:00.590300'
),(
91
,
'shoppingcart'
,
'0001_initial'
,
'2016-03-07 21:31:11.285831'
),(
92
,
'shoppingcart'
,
'0002_auto_20151208_1034'
,
'2016-03-07 21:31:12.264731'
),(
93
,
'shoppingcart'
,
'0003_auto_20151217_0958'
,
'2016-03-07 21:31:13.226615'
),(
94
,
'splash'
,
'0001_initial'
,
'2016-03-07 21:31:13.813727'
),(
95
,
'static_replace'
,
'0001_initial'
,
'2016-03-07 21:31:14.416875'
),(
96
,
'static_replace'
,
'0002_assetexcludedextensionsconfig'
,
'2016-03-07 21:31:14.985262'
),(
97
,
'status'
,
'0001_initial'
,
'2016-03-07 21:31:16.225967'
),(
98
,
'student'
,
'0002_auto_20151208_1034'
,
'2016-03-07 21:31:18.224130'
),(
99
,
'submissions'
,
'0001_initial'
,
'2016-03-07 21:31:19.010824'
),(
100
,
'submissions'
,
'0002_auto_20151119_0913'
,
'2016-03-07 21:31:19.189219'
),(
101
,
'submissions'
,
'0003_submission_status'
,
'2016-03-07 21:31:19.281079'
),(
102
,
'survey'
,
'0001_initial'
,
'2016-03-07 21:31:19.931263'
),(
103
,
'teams'
,
'0001_initial'
,
'2016-03-07 21:31:21.332348'
),(
104
,
'third_party_auth'
,
'0001_initial'
,
'2016-03-07 21:31:23.645023'
),(
105
,
'track'
,
'0001_initial'
,
'2016-03-07 21:31:23.694019'
),(
106
,
'user_api'
,
'0001_initial'
,
'2016-03-07 21:31:27.559462'
),(
107
,
'util'
,
'0001_initial'
,
'2016-03-07 21:31:28.021488'
),(
108
,
'util'
,
'0002_data__default_rate_limit_config'
,
'2016-03-07 21:31:28.071141'
),(
109
,
'verify_student'
,
'0001_initial'
,
'2016-03-07 21:31:34.927463'
),(
110
,
'verify_student'
,
'0002_auto_20151124_1024'
,
'2016-03-07 21:31:36.838984'
),(
111
,
'verify_student'
,
'0003_auto_20151113_1443'
,
'2016-03-07 21:31:37.274647'
),(
112
,
'wiki'
,
'0001_initial'
,
'2016-03-07 21:31:55.194872'
),(
113
,
'wiki'
,
'0002_remove_article_subscription'
,
'2016-03-07 21:31:55.245251'
),(
114
,
'workflow'
,
'0001_initial'
,
'2016-03-07 21:31:55.566223'
),(
115
,
'xblock_django'
,
'0001_initial'
,
'2016-03-07 21:31:56.357737'
),(
116
,
'xblock_django'
,
'0002_auto_20160204_0809'
,
'2016-03-07 21:31:58.039094'
),(
117
,
'contentstore'
,
'0001_initial'
,
'2016-03-07 21:32:17.147931'
),(
118
,
'course_creators'
,
'0001_initial'
,
'2016-03-07 21:32:17.219370'
),(
119
,
'xblock_config'
,
'0001_initial'
,
'2016-03-07 21:32:17.426982
'
);
INSERT
INTO
`django_migrations`
VALUES
(
1
,
'contenttypes'
,
'0001_initial'
,
'2016-0
4-01 20:18:16.984102'
),(
2
,
'auth'
,
'0001_initial'
,
'2016-04-01 20:18:17.329131'
),(
3
,
'admin'
,
'0001_initial'
,
'2016-04-01 20:18:17.452069'
),(
4
,
'contenttypes'
,
'0002_remove_content_type_name'
,
'2016-04-01 20:18:17.635765'
),(
5
,
'api_admin'
,
'0001_initial'
,
'2016-04-01 20:18:17.822518'
),(
6
,
'api_admin'
,
'0002_auto_20160325_1604'
,
'2016-04-01 20:18:17.846401'
),(
7
,
'assessment'
,
'0001_initial'
,
'2016-04-01 20:18:22.775505'
),(
8
,
'assessment'
,
'0002_staffworkflow'
,
'2016-04-01 20:18:22.975922'
),(
9
,
'auth'
,
'0002_alter_permission_name_max_length'
,
'2016-04-01 20:18:23.039496'
),(
10
,
'auth'
,
'0003_alter_user_email_max_length'
,
'2016-04-01 20:18:23.099682'
),(
11
,
'auth'
,
'0004_alter_user_username_opts'
,
'2016-04-01 20:18:23.140537'
),(
12
,
'auth'
,
'0005_alter_user_last_login_null'
,
'2016-04-01 20:18:23.208370'
),(
13
,
'auth'
,
'0006_require_contenttypes_0002'
,
'2016-04-01 20:18:23.215678'
),(
14
,
'instructor_task'
,
'0001_initial'
,
'2016-04-01 20:18:23.391727'
),(
15
,
'certificates'
,
'0001_initial'
,
'2016-04-01 20:18:24.391163'
),(
16
,
'certificates'
,
'0002_data__certificatehtmlviewconfiguration_data'
,
'2016-04-01 20:18:24.414742'
),(
17
,
'certificates'
,
'0003_data__default_modes'
,
'2016-04-01 20:18:24.492249'
),(
18
,
'certificates'
,
'0004_certificategenerationhistory'
,
'2016-04-01 20:18:24.652676'
),(
19
,
'certificates'
,
'0005_auto_20151208_0801'
,
'2016-04-01 20:18:24.757556'
),(
20
,
'certificates'
,
'0006_certificatetemplateasset_asset_slug'
,
'2016-04-01 20:18:24.827868'
),(
21
,
'certificates'
,
'0007_certificateinvalidation'
,
'2016-04-01 20:18:24.971764'
),(
22
,
'badges'
,
'0001_initial'
,
'2016-04-01 20:18:25.444283'
),(
23
,
'badges'
,
'0002_data__migrate_assertions'
,
'2016-04-01 20:18:25.475063'
),(
24
,
'badges'
,
'0003_schema__add_event_configuration'
,
'2016-04-01 20:18:25.659050'
),(
25
,
'bookmarks'
,
'0001_initial'
,
'2016-04-01 20:18:26.125201'
),(
26
,
'branding'
,
'0001_initial'
,
'2016-04-01 20:18:26.369402'
),(
27
,
'bulk_email'
,
'0001_initial'
,
'2016-04-01 20:18:26.860654'
),(
28
,
'bulk_email'
,
'0002_data__load_course_email_template'
,
'2016-04-01 20:18:26.936967'
),(
29
,
'certificates'
,
'0008_schema__remove_badges'
,
'2016-04-01 20:18:27.201515'
),(
30
,
'commerce'
,
'0001_data__add_ecommerce_service_user'
,
'2016-04-01 20:18:27.232035'
),(
31
,
'commerce'
,
'0002_commerceconfiguration'
,
'2016-04-01 20:18:27.371235'
),(
32
,
'contentserver'
,
'0001_initial'
,
'2016-04-01 20:18:27.509042'
),(
33
,
'cors_csrf'
,
'0001_initial'
,
'2016-04-01 20:18:27.657156'
),(
34
,
'course_action_state'
,
'0001_initial'
,
'2016-04-01 20:18:28.027539'
),(
35
,
'course_groups'
,
'0001_initial'
,
'2016-04-01 20:18:29.212952'
),(
36
,
'course_modes'
,
'0001_initial'
,
'2016-04-01 20:18:29.390666'
),(
37
,
'course_modes'
,
'0002_coursemode_expiration_datetime_is_explicit'
,
'2016-04-01 20:18:29.499637'
),(
38
,
'course_modes'
,
'0003_auto_20151113_1443'
,
'2016-04-01 20:18:29.532551'
),(
39
,
'course_modes'
,
'0004_auto_20151113_1457'
,
'2016-04-01 20:18:29.691311'
),(
40
,
'course_modes'
,
'0005_auto_20151217_0958'
,
'2016-04-01 20:18:29.722828'
),(
41
,
'course_modes'
,
'0006_auto_20160208_1407'
,
'2016-04-01 20:18:29.853115'
),(
42
,
'course_overviews'
,
'0001_initial'
,
'2016-04-01 20:18:29.957246'
),(
43
,
'course_overviews'
,
'0002_add_course_catalog_fields'
,
'2016-04-01 20:18:30.234249'
),(
44
,
'course_overviews'
,
'0003_courseoverviewgeneratedhistory'
,
'2016-04-01 20:18:30.271266'
),(
45
,
'course_overviews'
,
'0004_courseoverview_org'
,
'2016-04-01 20:18:30.341930'
),(
46
,
'course_overviews'
,
'0005_delete_courseoverviewgeneratedhistory'
,
'2016-04-01 20:18:30.370650'
),(
47
,
'course_overviews'
,
'0006_courseoverviewimageset'
,
'2016-04-01 20:18:30.455129'
),(
48
,
'course_overviews'
,
'0007_courseoverviewimageconfig'
,
'2016-04-01 20:18:30.632587'
),(
49
,
'course_overviews'
,
'0008_remove_courseoverview_facebook_url'
,
'2016-04-01 20:18:30.642375'
),(
50
,
'course_overviews'
,
'0009_readd_facebook_url'
,
'2016-04-01 20:18:30.650323'
),(
51
,
'course_overviews'
,
'0010_auto_20160329_2317'
,
'2016-04-01 20:18:30.790081'
),(
52
,
'course_structures'
,
'0001_initial'
,
'2016-04-01 20:18:30.839934'
),(
53
,
'coursetalk'
,
'0001_initial'
,
'2016-04-01 20:18:31.015518'
),(
54
,
'courseware'
,
'0001_initial'
,
'2016-04-01 20:18:33.433778'
),(
55
,
'coursewarehistoryextended'
,
'0001_initial'
,
'2016-04-01 20:18:33.606210'
),(
56
,
'coursewarehistoryextended'
,
'0002_force_studentmodule_index'
,
'2016-04-01 20:18:33.766829'
),(
57
,
'credentials'
,
'0001_initial'
,
'2016-04-01 20:18:33.969527'
),(
58
,
'credit'
,
'0001_initial'
,
'2016-04-01 20:18:35.734177'
),(
59
,
'credit'
,
'0002_creditconfig'
,
'2016-04-01 20:18:35.977843'
),(
60
,
'dark_lang'
,
'0001_initial'
,
'2016-04-01 20:18:36.222423'
),(
61
,
'dark_lang'
,
'0002_data__enable_on_install'
,
'2016-04-01 20:18:36.258509'
),(
62
,
'default'
,
'0001_initial'
,
'2016-04-01 20:18:38.134179'
),(
63
,
'default'
,
'0002_add_related_name'
,
'2016-04-01 20:18:38.359118'
),(
64
,
'default'
,
'0003_alter_email_max_length'
,
'2016-04-01 20:18:38.434952'
),(
65
,
'django_comment_common'
,
'0001_initial'
,
'2016-04-01 20:18:39.010864'
),(
66
,
'django_notify'
,
'0001_initial'
,
'2016-04-01 20:18:40.016330'
),(
67
,
'django_openid_auth'
,
'0001_initial'
,
'2016-04-01 20:18:40.399500'
),(
68
,
'oauth2'
,
'0001_initial'
,
'2016-04-01 20:18:42.026061'
),(
69
,
'edx_oauth2_provider'
,
'0001_initial'
,
'2016-04-01 20:18:42.310181'
),(
70
,
'edx_proctoring'
,
'0001_initial'
,
'2016-04-01 20:18:47.069704'
),(
71
,
'edx_proctoring'
,
'0002_proctoredexamstudentattempt_is_status_acknowledged'
,
'2016-04-01 20:18:47.528512'
),(
72
,
'edx_proctoring'
,
'0003_auto_20160101_0525'
,
'2016-04-01 20:18:48.364095'
),(
73
,
'edx_proctoring'
,
'0004_auto_20160201_0523'
,
'2016-04-01 20:18:48.818095'
),(
74
,
'edxval'
,
'0001_initial'
,
'2016-04-01 20:18:49.663807'
),(
75
,
'edxval'
,
'0002_data__default_profiles'
,
'2016-04-01 20:18:49.709543'
),(
76
,
'embargo'
,
'0001_initial'
,
'2016-04-01 20:18:51.997586'
),(
77
,
'embargo'
,
'0002_data__add_countries'
,
'2016-04-01 20:18:52.555084'
),(
78
,
'external_auth'
,
'0001_initial'
,
'2016-04-01 20:18:53.268092'
),(
79
,
'lms_xblock'
,
'0001_initial'
,
'2016-04-01 20:18:53.622926'
),(
80
,
'sites'
,
'0001_initial'
,
'2016-04-01 20:18:53.684282'
),(
81
,
'microsite_configuration'
,
'0001_initial'
,
'2016-04-01 20:18:56.089882'
),(
82
,
'microsite_configuration'
,
'0002_auto_20160202_0228'
,
'2016-04-01 20:18:56.901590'
),(
83
,
'milestones'
,
'0001_initial'
,
'2016-04-01 20:18:58.087536'
),(
84
,
'milestones'
,
'0002_data__seed_relationship_types'
,
'2016-04-01 20:18:58.143417'
),(
85
,
'milestones'
,
'0003_coursecontentmilestone_requirements'
,
'2016-04-01 20:18:58.274037'
),(
86
,
'milestones'
,
'0004_auto_20151221_1445'
,
'2016-04-01 20:18:58.582836'
),(
87
,
'mobile_api'
,
'0001_initial'
,
'2016-04-01 20:18:59.055379'
),(
88
,
'notes'
,
'0001_initial'
,
'2016-04-01 20:18:59.680285'
),(
89
,
'oauth2_provider'
,
'0001_initial'
,
'2016-04-01 20:19:02.037555'
),(
90
,
'oauth2_provider'
,
'0002_08_updates'
,
'2016-04-01 20:19:03.771804'
),(
91
,
'oauth_provider'
,
'0001_initial'
,
'2016-04-01 20:19:06.029589'
),(
92
,
'organizations'
,
'0001_initial'
,
'2016-04-01 20:19:06.301290'
),(
93
,
'organizations'
,
'0002_auto_20151119_2048'
,
'2016-04-01 20:19:06.361983'
),(
94
,
'problem_builder'
,
'0001_initial'
,
'2016-04-01 20:19:06.569638'
),(
95
,
'problem_builder'
,
'0002_auto_20160121_1525'
,
'2016-04-01 20:19:07.402373'
),(
96
,
'programs'
,
'0001_initial'
,
'2016-04-01 20:19:07.997665'
),(
97
,
'programs'
,
'0002_programsapiconfig_cache_ttl'
,
'2016-04-01 20:19:08.450010'
),(
98
,
'programs'
,
'0003_auto_20151120_1613'
,
'2016-04-01 20:19:10.448765'
),(
99
,
'programs'
,
'0004_programsapiconfig_enable_certification'
,
'2016-04-01 20:19:11.015001'
),(
100
,
'programs'
,
'0005_programsapiconfig_max_retries'
,
'2016-04-01 20:19:11.626050'
),(
101
,
'programs'
,
'0006_programsapiconfig_xseries_ad_enabled'
,
'2016-04-01 20:19:12.205642'
),(
102
,
'rss_proxy'
,
'0001_initial'
,
'2016-04-01 20:19:12.280936'
),(
103
,
'self_paced'
,
'0001_initial'
,
'2016-04-01 20:19:12.861616'
),(
104
,
'sessions'
,
'0001_initial'
,
'2016-04-01 20:19:12.953118'
),(
105
,
'student'
,
'0001_initial'
,
'2016-04-01 20:19:29.057371'
),(
106
,
'shoppingcart'
,
'0001_initial'
,
'2016-04-01 20:19:44.118969'
),(
107
,
'shoppingcart'
,
'0002_auto_20151208_1034'
,
'2016-04-01 20:19:45.609155'
),(
108
,
'shoppingcart'
,
'0003_auto_20151217_0958'
,
'2016-04-01 20:19:47.138304'
),(
109
,
'site_configuration'
,
'0001_initial'
,
'2016-04-01 20:19:48.924517'
),(
110
,
'splash'
,
'0001_initial'
,
'2016-04-01 20:19:49.822908'
),(
111
,
'static_replace'
,
'0001_initial'
,
'2016-04-01 20:19:50.800016'
),(
112
,
'static_replace'
,
'0002_assetexcludedextensionsconfig'
,
'2016-04-01 20:19:52.958650'
),(
113
,
'status'
,
'0001_initial'
,
'2016-04-01 20:19:54.147937'
),(
114
,
'student'
,
'0002_auto_20151208_1034'
,
'2016-04-01 20:19:55.172470'
),(
115
,
'submissions'
,
'0001_initial'
,
'2016-04-01 20:19:56.124231'
),(
116
,
'submissions'
,
'0002_auto_20151119_0913'
,
'2016-04-01 20:19:56.337073'
),(
117
,
'submissions'
,
'0003_submission_status'
,
'2016-04-01 20:19:56.549082'
),(
118
,
'survey'
,
'0001_initial'
,
'2016-04-01 20:19:57.500164'
),(
119
,
'teams'
,
'0001_initial'
,
'2016-04-01 20:19:59.718889'
),(
120
,
'theming'
,
'0001_initial'
,
'2016-04-01 20:20:00.367449'
),(
121
,
'third_party_auth'
,
'0001_initial'
,
'2016-04-01 20:20:04.673025'
),(
122
,
'third_party_auth'
,
'0002_schema__provider_icon_image'
,
'2016-04-01 20:20:10.250436'
),(
123
,
'track'
,
'0001_initial'
,
'2016-04-01 20:20:10.347222'
),(
124
,
'user_api'
,
'0001_initial'
,
'2016-04-01 20:20:15.546635'
),(
125
,
'util'
,
'0001_initial'
,
'2016-04-01 20:20:16.427420'
),(
126
,
'util'
,
'0002_data__default_rate_limit_config'
,
'2016-04-01 20:20:16.493890'
),(
127
,
'verified_track_content'
,
'0001_initial'
,
'2016-04-01 20:20:16.578070'
),(
128
,
'verify_student'
,
'0001_initial'
,
'2016-04-01 20:20:26.474025'
),(
129
,
'verify_student'
,
'0002_auto_20151124_1024'
,
'2016-04-01 20:20:27.517337'
),(
130
,
'verify_student'
,
'0003_auto_20151113_1443'
,
'2016-04-01 20:20:28.462197'
),(
131
,
'wiki'
,
'0001_initial'
,
'2016-04-01 20:20:55.518932'
),(
132
,
'wiki'
,
'0002_remove_article_subscription'
,
'2016-04-01 20:20:55.595581'
),(
133
,
'workflow'
,
'0001_initial'
,
'2016-04-01 20:20:57.382153'
),(
134
,
'xblock_django'
,
'0001_initial'
,
'2016-04-01 20:20:58.083122'
),(
135
,
'xblock_django'
,
'0002_auto_20160204_0809'
,
'2016-04-01 20:20:58.772282'
),(
136
,
'contentstore'
,
'0001_initial'
,
'2016-04-01 20:21:27.559015'
),(
137
,
'course_creators'
,
'0001_initial'
,
'2016-04-01 20:21:27.654969'
),(
138
,
'xblock_config'
,
'0001_initial'
,
'2016-04-01 20:21:27.977686
'
);
/*!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-0
3-07 21:32:22
-- Dump completed on 2016-0
4-01 20:21:34
common/test/db_cache/bok_choy_migrations_data_student_module_history.sql
View file @
f84f95c7
-- MySQL dump 10.13 Distrib 5.6.
1
4, for debian-linux-gnu (x86_64)
-- MySQL dump 10.13 Distrib 5.6.
2
4, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: student_module_history_test
-- ------------------------------------------------------
-- Server version 5.6.
14-1+debphp.org~precise+1
-- Server version 5.6.
24-2+deb.sury.org~precise+2
/*!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'
,
'2016-0
3-07 21:33:26.033148'
),(
2
,
'auth'
,
'0001_initial'
,
'2016-03-07 21:33:26.071794'
),(
3
,
'admin'
,
'0001_initial'
,
'2016-03-07 21:33:26.094726'
),(
4
,
'assessment'
,
'0001_initial'
,
'2016-03-07 21:33:26.734334'
),(
5
,
'assessment'
,
'0002_staffworkflow'
,
'2016-03-07 21:33:26.748174'
),(
6
,
'contenttypes'
,
'0002_remove_content_type_name'
,
'2016-03-07 21:33:26.822178'
),(
7
,
'auth'
,
'0002_alter_permission_name_max_length'
,
'2016-03-07 21:33:26.846501'
),(
8
,
'auth'
,
'0003_alter_user_email_max_length'
,
'2016-03-07 21:33:26.870855'
),(
9
,
'auth'
,
'0004_alter_user_username_opts'
,
'2016-03-07 21:33:26.895281'
),(
10
,
'auth'
,
'0005_alter_user_last_login_null'
,
'2016-03-07 21:33:26.919048'
),(
11
,
'auth'
,
'0006_require_contenttypes_0002'
,
'2016-03-07 21:33:26.922595'
),(
12
,
'bookmarks'
,
'0001_initial'
,
'2016-03-07 21:33:27.008343'
),(
13
,
'branding'
,
'0001_initial'
,
'2016-03-07 21:33:27.065792'
),(
14
,
'bulk_email'
,
'0001_initial'
,
'2016-03-07 21:33:27.189432'
),(
15
,
'bulk_email'
,
'0002_data__load_course_email_template'
,
'2016-03-07 21:33:27.197917'
),(
16
,
'instructor_task'
,
'0001_initial'
,
'2016-03-07 21:33:27.245184'
),(
17
,
'certificates'
,
'0001_initial'
,
'2016-03-07 21:33:27.641690'
),(
18
,
'certificates'
,
'0002_data__certificatehtmlviewconfiguration_data'
,
'2016-03-07 21:33:27.656293'
),(
19
,
'certificates'
,
'0003_data__default_modes'
,
'2016-03-07 21:33:27.667624'
),(
20
,
'certificates'
,
'0004_certificategenerationhistory'
,
'2016-03-07 21:33:27.737402'
),(
21
,
'certificates'
,
'0005_auto_20151208_0801'
,
'2016-03-07 21:33:27.794978'
),(
22
,
'certificates'
,
'0006_certificatetemplateasset_asset_slug'
,
'2016-03-07 21:33:27.808778'
),(
23
,
'certificates'
,
'0007_certificateinvalidation'
,
'2016-03-07 21:33:27.865273'
),(
24
,
'commerce'
,
'0001_data__add_ecommerce_service_user'
,
'2016-03-07 21:33:27.875925'
),(
25
,
'commerce'
,
'0002_commerceconfiguration'
,
'2016-03-07 21:33:27.937252'
),(
26
,
'contentserver'
,
'0001_initial'
,
'2016-03-07 21:33:28.010793'
),(
27
,
'cors_csrf'
,
'0001_initial'
,
'2016-03-07 21:33:28.072393'
),(
28
,
'course_action_state'
,
'0001_initial'
,
'2016-03-07 21:33:29.150991'
),(
29
,
'course_groups'
,
'0001_initial'
,
'2016-03-07 21:33:29.653738'
),(
30
,
'course_modes'
,
'0001_initial'
,
'2016-03-07 21:33:29.692413'
),(
31
,
'course_modes'
,
'0002_coursemode_expiration_datetime_is_explicit'
,
'2016-03-07 21:33:29.707909'
),(
32
,
'course_modes'
,
'0003_auto_20151113_1443'
,
'2016-03-07 21:33:29.723139'
),(
33
,
'course_modes'
,
'0004_auto_20151113_1457'
,
'2016-03-07 21:33:29.802913'
),(
34
,
'course_modes'
,
'0005_auto_20151217_0958'
,
'2016-03-07 21:33:29.819395'
),(
35
,
'course_modes'
,
'0006_auto_20160208_1407'
,
'2016-03-07 21:33:29.901786'
),(
36
,
'course_overviews'
,
'0001_initial'
,
'2016-03-07 21:33:29.932173'
),(
37
,
'course_overviews'
,
'0002_add_course_catalog_fields'
,
'2016-03-07 21:33:30.019436'
),(
38
,
'course_overviews'
,
'0003_courseoverviewgeneratedhistory'
,
'2016-03-07 21:33:30.035991'
),(
39
,
'course_overviews'
,
'0004_courseoverview_org'
,
'2016-03-07 21:33:30.055999'
),(
40
,
'course_overviews'
,
'0005_delete_courseoverviewgeneratedhistory'
,
'2016-03-07 21:33:30.069417'
),(
41
,
'course_overviews'
,
'0006_courseoverviewimageset'
,
'2016-03-07 21:33:30.092113'
),(
42
,
'course_overviews'
,
'0007_courseoverviewimageconfig'
,
'2016-03-07 21:33:30.174080'
),(
43
,
'course_overviews'
,
'0008_remove_courseoverview_facebook_url'
,
'2016-03-07 21:33:30.176656'
),(
44
,
'course_overviews'
,
'0009_readd_facebook_url'
,
'2016-03-07 21:33:30.178836'
),(
45
,
'course_structures'
,
'0001_initial'
,
'2016-03-07 21:33:30.194595'
),(
46
,
'courseware'
,
'0001_initial'
,
'2016-03-07 21:33:31.078692'
),(
47
,
'coursewarehistoryextended'
,
'0001_initial'
,
'2016-03-07 21:33:31.241565'
),(
48
,
'coursewarehistoryextended'
,
'0002_force_studentmodule_index'
,
'2016-03-07 21:33:31.349328'
),(
49
,
'credentials'
,
'0001_initial'
,
'2016-03-07 21:33:31.439568'
),(
50
,
'credit'
,
'0001_initial'
,
'2016-03-07 21:33:32.158562'
),(
51
,
'dark_lang'
,
'0001_initial'
,
'2016-03-07 21:33:32.272553'
),(
52
,
'dark_lang'
,
'0002_data__enable_on_install'
,
'2016-03-07 21:33:32.292147'
),(
53
,
'default'
,
'0001_initial'
,
'2016-03-07 21:33:32.618496'
),(
54
,
'default'
,
'0002_add_related_name'
,
'2016-03-07 21:33:32.747109'
),(
55
,
'default'
,
'0003_alter_email_max_length'
,
'2016-03-07 21:33:32.764118'
),(
56
,
'django_comment_common'
,
'0001_initial'
,
'2016-03-07 21:33:33.045633'
),(
57
,
'django_notify'
,
'0001_initial'
,
'2016-03-07 21:33:33.683870'
),(
58
,
'django_openid_auth'
,
'0001_initial'
,
'2016-03-07 21:33:33.887994'
),(
59
,
'oauth2'
,
'0001_initial'
,
'2016-03-07 21:33:35.518104'
),(
60
,
'edx_oauth2_provider'
,
'0001_initial'
,
'2016-03-07 21:33:35.661195'
),(
61
,
'edx_proctoring'
,
'0001_initial'
,
'2016-03-07 21:33:37.901502'
),(
62
,
'edx_proctoring'
,
'0002_proctoredexamstudentattempt_is_status_acknowledged'
,
'2016-03-07 21:33:38.137829'
),(
63
,
'edx_proctoring'
,
'0003_auto_20160101_0525'
,
'2016-03-07 21:33:38.644618'
),(
64
,
'edx_proctoring'
,
'0004_auto_20160201_0523'
,
'2016-03-07 21:33:38.906016'
),(
65
,
'edxval'
,
'0001_initial'
,
'2016-03-07 21:33:39.155791'
),(
66
,
'edxval'
,
'0002_data__default_profiles'
,
'2016-03-07 21:33:39.181773'
),(
67
,
'embargo'
,
'0001_initial'
,
'2016-03-07 21:33:39.959843'
),(
68
,
'embargo'
,
'0002_data__add_countries'
,
'2016-03-07 21:33:40.149397'
),(
69
,
'external_auth'
,
'0001_initial'
,
'2016-03-07 21:33:40.725785'
),(
70
,
'lms_xblock'
,
'0001_initial'
,
'2016-03-07 21:33:41.882266'
),(
71
,
'sites'
,
'0001_initial'
,
'2016-03-07 21:33:41.904159'
),(
72
,
'microsite_configuration'
,
'0001_initial'
,
'2016-03-07 21:33:42.952132'
),(
73
,
'microsite_configuration'
,
'0002_auto_20160202_0228'
,
'2016-03-07 21:33:43.359419'
),(
74
,
'milestones'
,
'0001_initial'
,
'2016-03-07 21:33:43.716203'
),(
75
,
'milestones'
,
'0002_data__seed_relationship_types'
,
'2016-03-07 21:33:43.739942'
),(
76
,
'milestones'
,
'0003_coursecontentmilestone_requirements'
,
'2016-03-07 21:33:43.772194'
),(
77
,
'milestones'
,
'0004_auto_20151221_1445'
,
'2016-03-07 21:33:43.907278'
),(
78
,
'mobile_api'
,
'0001_initial'
,
'2016-03-07 21:33:44.150482'
),(
79
,
'notes'
,
'0001_initial'
,
'2016-03-07 21:33:44.414752'
),(
80
,
'oauth_provider'
,
'0001_initial'
,
'2016-03-07 21:33:45.032852'
),(
81
,
'organizations'
,
'0001_initial'
,
'2016-03-07 21:33:45.111393'
),(
82
,
'programs'
,
'0001_initial'
,
'2016-03-07 21:33:45.427919'
),(
83
,
'programs'
,
'0002_programsapiconfig_cache_ttl'
,
'2016-03-07 21:33:45.727136'
),(
84
,
'programs'
,
'0003_auto_20151120_1613'
,
'2016-03-07 21:33:47.072788'
),(
85
,
'programs'
,
'0004_programsapiconfig_enable_certification'
,
'2016-03-07 21:33:48.327058'
),(
86
,
'programs'
,
'0005_programsapiconfig_max_retries'
,
'2016-03-07 21:33:48.536151'
),(
87
,
'rss_proxy'
,
'0001_initial'
,
'2016-03-07 21:33:48.571928'
),(
88
,
'self_paced'
,
'0001_initial'
,
'2016-03-07 21:33:48.799690'
),(
89
,
'sessions'
,
'0001_initial'
,
'2016-03-07 21:33:48.831344'
),(
90
,
'student'
,
'0001_initial'
,
'2016-03-07 21:33:58.200378'
),(
91
,
'shoppingcart'
,
'0001_initial'
,
'2016-03-07 21:34:07.068222'
),(
92
,
'shoppingcart'
,
'0002_auto_20151208_1034'
,
'2016-03-07 21:34:07.860305'
),(
93
,
'shoppingcart'
,
'0003_auto_20151217_0958'
,
'2016-03-07 21:34:08.746587'
),(
94
,
'splash'
,
'0001_initial'
,
'2016-03-07 21:34:09.212391'
),(
95
,
'static_replace'
,
'0001_initial'
,
'2016-03-07 21:34:09.728084'
),(
96
,
'static_replace'
,
'0002_assetexcludedextensionsconfig'
,
'2016-03-07 21:34:10.232762'
),(
97
,
'status'
,
'0001_initial'
,
'2016-03-07 21:34:11.353387'
),(
98
,
'student'
,
'0002_auto_20151208_1034'
,
'2016-03-07 21:34:12.427561'
),(
99
,
'submissions'
,
'0001_initial'
,
'2016-03-07 21:34:13.762704'
),(
100
,
'submissions'
,
'0002_auto_20151119_0913'
,
'2016-03-07 21:34:13.860261'
),(
101
,
'submissions'
,
'0003_submission_status'
,
'2016-03-07 21:34:13.899844'
),(
102
,
'survey'
,
'0001_initial'
,
'2016-03-07 21:34:14.322540'
),(
103
,
'teams'
,
'0001_initial'
,
'2016-03-07 21:34:15.395533'
),(
104
,
'third_party_auth'
,
'0001_initial'
,
'2016-03-07 21:34:17.484168'
),(
105
,
'track'
,
'0001_initial'
,
'2016-03-07 21:34:17.515995'
),(
106
,
'user_api'
,
'0001_initial'
,
'2016-03-07 21:34:21.513361'
),(
107
,
'util'
,
'0001_initial'
,
'2016-03-07 21:34:21.885445'
),(
108
,
'util'
,
'0002_data__default_rate_limit_config'
,
'2016-03-07 21:34:21.920632'
),(
109
,
'verify_student'
,
'0001_initial'
,
'2016-03-07 21:34:27.215973'
),(
110
,
'verify_student'
,
'0002_auto_20151124_1024'
,
'2016-03-07 21:34:27.909387'
),(
111
,
'verify_student'
,
'0003_auto_20151113_1443'
,
'2016-03-07 21:34:28.606460'
),(
112
,
'wiki'
,
'0001_initial'
,
'2016-03-07 21:34:45.492292'
),(
113
,
'wiki'
,
'0002_remove_article_subscription'
,
'2016-03-07 21:34:45.529216'
),(
114
,
'workflow'
,
'0001_initial'
,
'2016-03-07 21:34:45.651613'
),(
115
,
'xblock_django'
,
'0001_initial'
,
'2016-03-07 21:34:46.297434'
),(
116
,
'xblock_django'
,
'0002_auto_20160204_0809'
,
'2016-03-07 21:34:46.988209'
),(
117
,
'contentstore'
,
'0001_initial'
,
'2016-03-07 21:35:04.702755'
),(
118
,
'course_creators'
,
'0001_initial'
,
'2016-03-07 21:35:04.729239'
),(
119
,
'xblock_config'
,
'0001_initial'
,
'2016-03-07 21:35:04.908173
'
);
INSERT
INTO
`django_migrations`
VALUES
(
1
,
'contenttypes'
,
'0001_initial'
,
'2016-0
4-01 20:23:25.257657'
),(
2
,
'auth'
,
'0001_initial'
,
'2016-04-01 20:23:25.328855'
),(
3
,
'admin'
,
'0001_initial'
,
'2016-04-01 20:23:25.375182'
),(
4
,
'contenttypes'
,
'0002_remove_content_type_name'
,
'2016-04-01 20:23:25.495343'
),(
5
,
'api_admin'
,
'0001_initial'
,
'2016-04-01 20:23:25.555979'
),(
6
,
'api_admin'
,
'0002_auto_20160325_1604'
,
'2016-04-01 20:23:25.580028'
),(
7
,
'assessment'
,
'0001_initial'
,
'2016-04-01 20:23:27.895489'
),(
8
,
'assessment'
,
'0002_staffworkflow'
,
'2016-04-01 20:23:27.911631'
),(
9
,
'auth'
,
'0002_alter_permission_name_max_length'
,
'2016-04-01 20:23:27.949865'
),(
10
,
'auth'
,
'0003_alter_user_email_max_length'
,
'2016-04-01 20:23:27.983967'
),(
11
,
'auth'
,
'0004_alter_user_username_opts'
,
'2016-04-01 20:23:28.019774'
),(
12
,
'auth'
,
'0005_alter_user_last_login_null'
,
'2016-04-01 20:23:28.054434'
),(
13
,
'auth'
,
'0006_require_contenttypes_0002'
,
'2016-04-01 20:23:28.059572'
),(
14
,
'instructor_task'
,
'0001_initial'
,
'2016-04-01 20:23:28.101547'
),(
15
,
'certificates'
,
'0001_initial'
,
'2016-04-01 20:23:28.526500'
),(
16
,
'certificates'
,
'0002_data__certificatehtmlviewconfiguration_data'
,
'2016-04-01 20:23:28.543408'
),(
17
,
'certificates'
,
'0003_data__default_modes'
,
'2016-04-01 20:23:28.557636'
),(
18
,
'certificates'
,
'0004_certificategenerationhistory'
,
'2016-04-01 20:23:28.608769'
),(
19
,
'certificates'
,
'0005_auto_20151208_0801'
,
'2016-04-01 20:23:28.662964'
),(
20
,
'certificates'
,
'0006_certificatetemplateasset_asset_slug'
,
'2016-04-01 20:23:28.681093'
),(
21
,
'certificates'
,
'0007_certificateinvalidation'
,
'2016-04-01 20:23:28.739316'
),(
22
,
'badges'
,
'0001_initial'
,
'2016-04-01 20:23:28.897350'
),(
23
,
'badges'
,
'0002_data__migrate_assertions'
,
'2016-04-01 20:23:28.914542'
),(
24
,
'badges'
,
'0003_schema__add_event_configuration'
,
'2016-04-01 20:23:29.057318'
),(
25
,
'bookmarks'
,
'0001_initial'
,
'2016-04-01 20:23:29.359707'
),(
26
,
'branding'
,
'0001_initial'
,
'2016-04-01 20:23:29.548719'
),(
27
,
'bulk_email'
,
'0001_initial'
,
'2016-04-01 20:23:29.859921'
),(
28
,
'bulk_email'
,
'0002_data__load_course_email_template'
,
'2016-04-01 20:23:29.879338'
),(
29
,
'certificates'
,
'0008_schema__remove_badges'
,
'2016-04-01 20:23:30.093163'
),(
30
,
'commerce'
,
'0001_data__add_ecommerce_service_user'
,
'2016-04-01 20:23:30.111885'
),(
31
,
'commerce'
,
'0002_commerceconfiguration'
,
'2016-04-01 20:23:30.195573'
),(
32
,
'contentserver'
,
'0001_initial'
,
'2016-04-01 20:23:30.284902'
),(
33
,
'cors_csrf'
,
'0001_initial'
,
'2016-04-01 20:23:30.382067'
),(
34
,
'course_action_state'
,
'0001_initial'
,
'2016-04-01 20:23:30.567099'
),(
35
,
'course_groups'
,
'0001_initial'
,
'2016-04-01 20:23:31.310764'
),(
36
,
'course_modes'
,
'0001_initial'
,
'2016-04-01 20:23:31.367748'
),(
37
,
'course_modes'
,
'0002_coursemode_expiration_datetime_is_explicit'
,
'2016-04-01 20:23:31.390935'
),(
38
,
'course_modes'
,
'0003_auto_20151113_1443'
,
'2016-04-01 20:23:31.414987'
),(
39
,
'course_modes'
,
'0004_auto_20151113_1457'
,
'2016-04-01 20:23:31.524740'
),(
40
,
'course_modes'
,
'0005_auto_20151217_0958'
,
'2016-04-01 20:23:31.548824'
),(
41
,
'course_modes'
,
'0006_auto_20160208_1407'
,
'2016-04-01 20:23:31.661634'
),(
42
,
'course_overviews'
,
'0001_initial'
,
'2016-04-01 20:23:31.704145'
),(
43
,
'course_overviews'
,
'0002_add_course_catalog_fields'
,
'2016-04-01 20:23:31.825399'
),(
44
,
'course_overviews'
,
'0003_courseoverviewgeneratedhistory'
,
'2016-04-01 20:23:31.846457'
),(
45
,
'course_overviews'
,
'0004_courseoverview_org'
,
'2016-04-01 20:23:31.873351'
),(
46
,
'course_overviews'
,
'0005_delete_courseoverviewgeneratedhistory'
,
'2016-04-01 20:23:31.894080'
),(
47
,
'course_overviews'
,
'0006_courseoverviewimageset'
,
'2016-04-01 20:23:31.928057'
),(
48
,
'course_overviews'
,
'0007_courseoverviewimageconfig'
,
'2016-04-01 20:23:32.058242'
),(
49
,
'course_overviews'
,
'0008_remove_courseoverview_facebook_url'
,
'2016-04-01 20:23:32.061633'
),(
50
,
'course_overviews'
,
'0009_readd_facebook_url'
,
'2016-04-01 20:23:32.092127'
),(
51
,
'course_overviews'
,
'0010_auto_20160329_2317'
,
'2016-04-01 20:23:32.151783'
),(
52
,
'course_structures'
,
'0001_initial'
,
'2016-04-01 20:23:32.172191'
),(
53
,
'coursetalk'
,
'0001_initial'
,
'2016-04-01 20:23:32.290450'
),(
54
,
'courseware'
,
'0001_initial'
,
'2016-04-01 20:23:33.802403'
),(
55
,
'coursewarehistoryextended'
,
'0001_initial'
,
'2016-04-01 20:23:34.029183'
),(
56
,
'coursewarehistoryextended'
,
'0002_force_studentmodule_index'
,
'2016-04-01 20:23:34.225580'
),(
57
,
'credentials'
,
'0001_initial'
,
'2016-04-01 20:23:34.393557'
),(
58
,
'credit'
,
'0001_initial'
,
'2016-04-01 20:23:35.843537'
),(
59
,
'credit'
,
'0002_creditconfig'
,
'2016-04-01 20:23:36.073513'
),(
60
,
'dark_lang'
,
'0001_initial'
,
'2016-04-01 20:23:36.266659'
),(
61
,
'dark_lang'
,
'0002_data__enable_on_install'
,
'2016-04-01 20:23:36.291959'
),(
62
,
'default'
,
'0001_initial'
,
'2016-04-01 20:23:37.996810'
),(
63
,
'default'
,
'0002_add_related_name'
,
'2016-04-01 20:23:38.159637'
),(
64
,
'default'
,
'0003_alter_email_max_length'
,
'2016-04-01 20:23:38.194980'
),(
65
,
'django_comment_common'
,
'0001_initial'
,
'2016-04-01 20:23:38.587489'
),(
66
,
'django_notify'
,
'0001_initial'
,
'2016-04-01 20:23:39.447548'
),(
67
,
'django_openid_auth'
,
'0001_initial'
,
'2016-04-01 20:23:39.730879'
),(
68
,
'oauth2'
,
'0001_initial'
,
'2016-04-01 20:23:41.108025'
),(
69
,
'edx_oauth2_provider'
,
'0001_initial'
,
'2016-04-01 20:23:41.375305'
),(
70
,
'edx_proctoring'
,
'0001_initial'
,
'2016-04-01 20:23:45.451478'
),(
71
,
'edx_proctoring'
,
'0002_proctoredexamstudentattempt_is_status_acknowledged'
,
'2016-04-01 20:23:45.894479'
),(
72
,
'edx_proctoring'
,
'0003_auto_20160101_0525'
,
'2016-04-01 20:23:46.873218'
),(
73
,
'edx_proctoring'
,
'0004_auto_20160201_0523'
,
'2016-04-01 20:23:47.359158'
),(
74
,
'edxval'
,
'0001_initial'
,
'2016-04-01 20:23:47.725762'
),(
75
,
'edxval'
,
'0002_data__default_profiles'
,
'2016-04-01 20:23:47.760467'
),(
76
,
'embargo'
,
'0001_initial'
,
'2016-04-01 20:23:49.787639'
),(
77
,
'embargo'
,
'0002_data__add_countries'
,
'2016-04-01 20:23:50.063932'
),(
78
,
'external_auth'
,
'0001_initial'
,
'2016-04-01 20:23:50.643681'
),(
79
,
'lms_xblock'
,
'0001_initial'
,
'2016-04-01 20:23:50.939454'
),(
80
,
'sites'
,
'0001_initial'
,
'2016-04-01 20:23:50.977028'
),(
81
,
'microsite_configuration'
,
'0001_initial'
,
'2016-04-01 20:23:52.861572'
),(
82
,
'microsite_configuration'
,
'0002_auto_20160202_0228'
,
'2016-04-01 20:23:53.732340'
),(
83
,
'milestones'
,
'0001_initial'
,
'2016-04-01 20:23:54.394312'
),(
84
,
'milestones'
,
'0002_data__seed_relationship_types'
,
'2016-04-01 20:23:54.444925'
),(
85
,
'milestones'
,
'0003_coursecontentmilestone_requirements'
,
'2016-04-01 20:23:54.500542'
),(
86
,
'milestones'
,
'0004_auto_20151221_1445'
,
'2016-04-01 20:23:54.743448'
),(
87
,
'mobile_api'
,
'0001_initial'
,
'2016-04-01 20:23:55.208358'
),(
88
,
'notes'
,
'0001_initial'
,
'2016-04-01 20:23:55.665630'
),(
89
,
'oauth2_provider'
,
'0001_initial'
,
'2016-04-01 20:23:57.596213'
),(
90
,
'oauth2_provider'
,
'0002_08_updates'
,
'2016-04-01 20:24:00.192133'
),(
91
,
'oauth_provider'
,
'0001_initial'
,
'2016-04-01 20:24:00.980840'
),(
92
,
'organizations'
,
'0001_initial'
,
'2016-04-01 20:24:01.105830'
),(
93
,
'organizations'
,
'0002_auto_20151119_2048'
,
'2016-04-01 20:24:01.147190'
),(
94
,
'problem_builder'
,
'0001_initial'
,
'2016-04-01 20:24:01.223166'
),(
95
,
'problem_builder'
,
'0002_auto_20160121_1525'
,
'2016-04-01 20:24:01.951771'
),(
96
,
'programs'
,
'0001_initial'
,
'2016-04-01 20:24:02.393154'
),(
97
,
'programs'
,
'0002_programsapiconfig_cache_ttl'
,
'2016-04-01 20:24:02.855609'
),(
98
,
'programs'
,
'0003_auto_20151120_1613'
,
'2016-04-01 20:24:04.915517'
),(
99
,
'programs'
,
'0004_programsapiconfig_enable_certification'
,
'2016-04-01 20:24:05.474292'
),(
100
,
'programs'
,
'0005_programsapiconfig_max_retries'
,
'2016-04-01 20:24:06.011275'
),(
101
,
'programs'
,
'0006_programsapiconfig_xseries_ad_enabled'
,
'2016-04-01 20:24:06.559753'
),(
102
,
'rss_proxy'
,
'0001_initial'
,
'2016-04-01 20:24:06.604771'
),(
103
,
'self_paced'
,
'0001_initial'
,
'2016-04-01 20:24:07.155964'
),(
104
,
'sessions'
,
'0001_initial'
,
'2016-04-01 20:24:07.199408'
),(
105
,
'student'
,
'0001_initial'
,
'2016-04-01 20:24:22.541699'
),(
106
,
'shoppingcart'
,
'0001_initial'
,
'2016-04-01 20:24:36.960350'
),(
107
,
'shoppingcart'
,
'0002_auto_20151208_1034'
,
'2016-04-01 20:24:38.681722'
),(
108
,
'shoppingcart'
,
'0003_auto_20151217_0958'
,
'2016-04-01 20:24:40.418352'
),(
109
,
'site_configuration'
,
'0001_initial'
,
'2016-04-01 20:24:42.266613'
),(
110
,
'splash'
,
'0001_initial'
,
'2016-04-01 20:24:43.078347'
),(
111
,
'static_replace'
,
'0001_initial'
,
'2016-04-01 20:24:45.053501'
),(
112
,
'static_replace'
,
'0002_assetexcludedextensionsconfig'
,
'2016-04-01 20:24:45.524460'
),(
113
,
'status'
,
'0001_initial'
,
'2016-04-01 20:24:46.580484'
),(
114
,
'student'
,
'0002_auto_20151208_1034'
,
'2016-04-01 20:24:47.676332'
),(
115
,
'submissions'
,
'0001_initial'
,
'2016-04-01 20:24:48.119931'
),(
116
,
'submissions'
,
'0002_auto_20151119_0913'
,
'2016-04-01 20:24:48.240737'
),(
117
,
'submissions'
,
'0003_submission_status'
,
'2016-04-01 20:24:48.304955'
),(
118
,
'survey'
,
'0001_initial'
,
'2016-04-01 20:24:49.047197'
),(
119
,
'teams'
,
'0001_initial'
,
'2016-04-01 20:24:51.063444'
),(
120
,
'theming'
,
'0001_initial'
,
'2016-04-01 20:24:51.707545'
),(
121
,
'third_party_auth'
,
'0001_initial'
,
'2016-04-01 20:24:57.000999'
),(
122
,
'third_party_auth'
,
'0002_schema__provider_icon_image'
,
'2016-04-01 20:25:01.027765'
),(
123
,
'track'
,
'0001_initial'
,
'2016-04-01 20:25:01.087377'
),(
124
,
'user_api'
,
'0001_initial'
,
'2016-04-01 20:25:06.804588'
),(
125
,
'util'
,
'0001_initial'
,
'2016-04-01 20:25:07.738916'
),(
126
,
'util'
,
'0002_data__default_rate_limit_config'
,
'2016-04-01 20:25:07.790010'
),(
127
,
'verified_track_content'
,
'0001_initial'
,
'2016-04-01 20:25:07.837950'
),(
128
,
'verify_student'
,
'0001_initial'
,
'2016-04-01 20:25:18.742039'
),(
129
,
'verify_student'
,
'0002_auto_20151124_1024'
,
'2016-04-01 20:25:19.744637'
),(
130
,
'verify_student'
,
'0003_auto_20151113_1443'
,
'2016-04-01 20:25:20.777804'
),(
131
,
'wiki'
,
'0001_initial'
,
'2016-04-01 20:25:46.581571'
),(
132
,
'wiki'
,
'0002_remove_article_subscription'
,
'2016-04-01 20:25:46.646359'
),(
133
,
'workflow'
,
'0001_initial'
,
'2016-04-01 20:25:46.841872'
),(
134
,
'xblock_django'
,
'0001_initial'
,
'2016-04-01 20:25:47.499764'
),(
135
,
'xblock_django'
,
'0002_auto_20160204_0809'
,
'2016-04-01 20:25:48.147525'
),(
136
,
'contentstore'
,
'0001_initial'
,
'2016-04-01 20:26:15.367178'
),(
137
,
'course_creators'
,
'0001_initial'
,
'2016-04-01 20:26:15.407639'
),(
138
,
'xblock_config'
,
'0001_initial'
,
'2016-04-01 20:26:15.703805
'
);
/*!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-0
3-07 21:35:08
-- Dump completed on 2016-0
4-01 20:26:19
common/test/db_cache/bok_choy_schema_default.sql
View file @
f84f95c7
...
...
@@ -9,6 +9,45 @@
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */
;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */
;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */
;
DROP
TABLE
IF
EXISTS
`api_admin_apiaccessrequest`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`api_admin_apiaccessrequest`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`created`
datetime
(
6
)
NOT
NULL
,
`modified`
datetime
(
6
)
NOT
NULL
,
`status`
varchar
(
255
)
NOT
NULL
,
`website`
varchar
(
200
)
NOT
NULL
,
`reason`
longtext
NOT
NULL
,
`user_id`
int
(
11
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`api_admin_apiaccessrequ_user_id_6753e50e296cabc7_fk_auth_user_id`
(
`user_id`
),
KEY
`api_admin_apiaccessrequest_9acb4454`
(
`status`
),
CONSTRAINT
`api_admin_apiaccessrequ_user_id_6753e50e296cabc7_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
`api_admin_historicalapiaccessrequest`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`api_admin_historicalapiaccessrequest`
(
`id`
int
(
11
)
NOT
NULL
,
`created`
datetime
(
6
)
NOT
NULL
,
`modified`
datetime
(
6
)
NOT
NULL
,
`status`
varchar
(
255
)
NOT
NULL
,
`website`
varchar
(
200
)
NOT
NULL
,
`reason`
longtext
NOT
NULL
,
`history_id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`history_date`
datetime
(
6
)
NOT
NULL
,
`history_type`
varchar
(
1
)
NOT
NULL
,
`history_user_id`
int
(
11
)
DEFAULT
NULL
,
`user_id`
int
(
11
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`history_id`
),
KEY
`api_admin_histo_history_user_id_73c59297a81bcd02_fk_auth_user_id`
(
`history_user_id`
),
KEY
`api_admin_historicalapiaccessrequest_b80bb774`
(
`id`
),
KEY
`api_admin_historicalapiaccessrequest_9acb4454`
(
`status`
),
CONSTRAINT
`api_admin_histo_history_user_id_73c59297a81bcd02_fk_auth_user_id`
FOREIGN
KEY
(
`history_user_id`
)
REFERENCES
`auth_user`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_aiclassifier`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
...
...
@@ -20,8 +59,8 @@ CREATE TABLE `assessment_aiclassifier` (
PRIMARY
KEY
(
`id`
),
KEY
`assessment_aiclassifier_962f069f`
(
`classifier_set_id`
),
KEY
`assessment_aiclassifier_385b00a3`
(
`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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_aiclassifierset`
;
...
...
@@ -72,9 +111,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
`
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`
),
CONSTRAINT
`asses_assessment_id_68b86880a7f62f1c_fk_assessment_assessment_id`
FOREIGN
KEY
(
`assessment_id`
)
REFERENCES
`assessment_assessment`
(
`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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_aitrainingworkflow`
;
...
...
@@ -110,8 +149,8 @@ CREATE TABLE `assessment_aitrainingworkflow_training_examples` (
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`aitrainingworkflow_id`
(
`aitrainingworkflow_id`
,
`trainingexample_id`
),
KEY
`ff4ddecc43bd06c0d85785a61e955133`
(
`trainingexample_id`
),
CONSTRAINT
`
ff4ddecc43bd06c0d85785a61e955133`
FOREIGN
KEY
(
`trainingexample_id`
)
REFERENCES
`assessment_trainingexample
`
(
`id`
),
CONSTRAINT
`
da55be90caee21d95136e40c53e5c754`
FOREIGN
KEY
(
`aitrainingworkflow_id`
)
REFERENCES
`assessment_aitrainingworkflow
`
(
`id`
)
CONSTRAINT
`
da55be90caee21d95136e40c53e5c754`
FOREIGN
KEY
(
`aitrainingworkflow_id`
)
REFERENCES
`assessment_aitrainingworkflow
`
(
`id`
),
CONSTRAINT
`
ff4ddecc43bd06c0d85785a61e955133`
FOREIGN
KEY
(
`trainingexample_id`
)
REFERENCES
`assessment_trainingexample
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_assessment`
;
...
...
@@ -154,8 +193,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
`
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_assessmentfeedback_options`
;
...
...
@@ -168,8 +207,8 @@ CREATE TABLE `assessment_assessmentfeedback_options` (
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`assessmentfeedback_id`
(
`assessmentfeedback_id`
,
`assessmentfeedbackoption_id`
),
KEY
`cc7028abc88c431df3172c9b2d6422e4`
(
`assessmentfeedbackoption_id`
),
CONSTRAINT
`c
c7028abc88c431df3172c9b2d6422e4`
FOREIGN
KEY
(
`assessmentfeedbackoption_id`
)
REFERENCES
`assessment_assessmentfeedbackoption
`
(
`id`
),
CONSTRAINT
`c
ba12ac98c4a04d67d5edaa2223f4fe5`
FOREIGN
KEY
(
`assessmentfeedback_id`
)
REFERENCES
`assessment_assessmentfeedback
`
(
`id`
)
CONSTRAINT
`c
ba12ac98c4a04d67d5edaa2223f4fe5`
FOREIGN
KEY
(
`assessmentfeedback_id`
)
REFERENCES
`assessment_assessmentfeedback
`
(
`id`
),
CONSTRAINT
`c
c7028abc88c431df3172c9b2d6422e4`
FOREIGN
KEY
(
`assessmentfeedbackoption_id`
)
REFERENCES
`assessment_assessmentfeedbackoption
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_assessmentfeedbackoption`
;
...
...
@@ -196,8 +235,8 @@ CREATE TABLE `assessment_assessmentpart` (
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
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_criterion`
;
...
...
@@ -272,9 +311,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
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`
),
CONSTRAINT
`assessm_author_id_1948f89dea6d2b5f_fk_assessment_peerworkflow_id`
FOREIGN
KEY
(
`author_id`
)
REFERENCES
`assessment_peerworkflow`
(
`id`
),
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_rubric`
;
...
...
@@ -345,8 +384,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
`
f9c080ebc7ad16394edda963ed3f280f`
FOREIGN
KEY
(
`workflow_id`
)
REFERENCES
`assessment_studenttrainingworkflow
`
(
`id`
),
CONSTRAINT
`
D74ce3e30635de397fef41ac869640c7`
FOREIGN
KEY
(
`training_example_id`
)
REFERENCES
`assessment_trainingexample
`
(
`id`
)
CONSTRAINT
`
D74ce3e30635de397fef41ac869640c7`
FOREIGN
KEY
(
`training_example_id`
)
REFERENCES
`assessment_trainingexample
`
(
`id`
),
CONSTRAINT
`
f9c080ebc7ad16394edda963ed3f280f`
FOREIGN
KEY
(
`workflow_id`
)
REFERENCES
`assessment_studenttrainingworkflow
`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`assessment_trainingexample`
;
...
...
@@ -385,7 +424,7 @@ CREATE TABLE `auth_group` (
`name`
varchar
(
80
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`name`
(
`name`
)
)
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_group_permissions`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
...
...
@@ -412,7 +451,7 @@ CREATE TABLE `auth_permission` (
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`content_type_id`
(
`content_type_id`
,
`codename`
),
CONSTRAINT
`auth__content_type_id_508cf46651277a81_fk_django_content_type_id`
FOREIGN
KEY
(
`content_type_id`
)
REFERENCES
`django_content_type`
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
755
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
806
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`auth_registration`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
...
...
@@ -506,6 +545,74 @@ CREATE TABLE `auth_userprofile` (
CONSTRAINT
`auth_userprofile_user_id_4c194f9b5650ad70_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
`badges_badgeassertion`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`badges_badgeassertion`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`data`
longtext
NOT
NULL
,
`backend`
varchar
(
50
)
NOT
NULL
,
`image_url`
varchar
(
200
)
NOT
NULL
,
`assertion_url`
varchar
(
200
)
NOT
NULL
,
`modified`
datetime
(
6
)
NOT
NULL
,
`created`
datetime
(
6
)
NOT
NULL
,
`badge_class_id`
int
(
11
)
NOT
NULL
,
`user_id`
int
(
11
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`badges_badgeassertion_e2fa5388`
(
`created`
),
KEY
`badges_badgeassertion_c389e456`
(
`badge_class_id`
),
KEY
`badges_badgeassertion_e8701ad4`
(
`user_id`
),
CONSTRAINT
`badges_b_badge_class_id_3a4a16cb833201e8_fk_badges_badgeclass_id`
FOREIGN
KEY
(
`badge_class_id`
)
REFERENCES
`badges_badgeclass`
(
`id`
),
CONSTRAINT
`badges_badgeassertion_user_id_14233cdefee1055a_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
`badges_badgeclass`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`badges_badgeclass`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`slug`
varchar
(
255
)
NOT
NULL
,
`issuing_component`
varchar
(
50
)
NOT
NULL
,
`display_name`
varchar
(
255
)
NOT
NULL
,
`course_id`
varchar
(
255
)
NOT
NULL
,
`description`
longtext
NOT
NULL
,
`criteria`
longtext
NOT
NULL
,
`mode`
varchar
(
100
)
NOT
NULL
,
`image`
varchar
(
100
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`badges_badgeclass_slug_7fe9eac3bca91f16_uniq`
(
`slug`
,
`issuing_component`
,
`course_id`
),
KEY
`badges_badgeclass_2dbcba41`
(
`slug`
),
KEY
`badges_badgeclass_a57403f2`
(
`issuing_component`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`badges_coursecompleteimageconfiguration`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`badges_coursecompleteimageconfiguration`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`mode`
varchar
(
125
)
NOT
NULL
,
`icon`
varchar
(
100
)
NOT
NULL
,
`default`
tinyint
(
1
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`mode`
(
`mode`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
4
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`badges_courseeventbadgesconfiguration`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`badges_courseeventbadgesconfiguration`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`change_date`
datetime
(
6
)
NOT
NULL
,
`enabled`
tinyint
(
1
)
NOT
NULL
,
`courses_completed`
longtext
NOT
NULL
,
`courses_enrolled`
longtext
NOT
NULL
,
`course_groups`
longtext
NOT
NULL
,
`changed_by_id`
int
(
11
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`badges_courseeven_changed_by_id_50986a94d73238b9_fk_auth_user_id`
(
`changed_by_id`
),
CONSTRAINT
`badges_courseeven_changed_by_id_50986a94d73238b9_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
`bookmarks_bookmark`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
...
...
@@ -660,33 +767,6 @@ CREATE TABLE `celery_tasksetmeta` (
KEY
`celery_tasksetmeta_662f707d`
(
`hidden`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`certificates_badgeassertion`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`certificates_badgeassertion`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`course_id`
varchar
(
255
)
NOT
NULL
,
`mode`
varchar
(
100
)
NOT
NULL
,
`data`
longtext
NOT
NULL
,
`user_id`
int
(
11
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`certificates_badgeassertion_course_id_4dc2a23e1c0cd3ff_uniq`
(
`course_id`
,
`user_id`
,
`mode`
),
KEY
`certificates_badgeassert_user_id_65bbbec450cd344_fk_auth_user_id`
(
`user_id`
),
CONSTRAINT
`certificates_badgeassert_user_id_65bbbec450cd344_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
`certificates_badgeimageconfiguration`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`certificates_badgeimageconfiguration`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`mode`
varchar
(
125
)
NOT
NULL
,
`icon`
varchar
(
100
)
NOT
NULL
,
`default`
tinyint
(
1
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`mode`
(
`mode`
)
)
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 */
;
/*!40101 SET character_set_client = utf8 */
;
...
...
@@ -974,8 +1054,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_
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`course_creators_coursecreator`
;
...
...
@@ -1004,8 +1084,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
`
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`course_groups_coursecohort`
;
...
...
@@ -1143,7 +1223,6 @@ CREATE TABLE `course_overviews_courseoverview` (
`end`
datetime
(
6
)
DEFAULT
NULL
,
`advertised_start`
longtext
,
`course_image_url`
longtext
NOT
NULL
,
`facebook_url`
longtext
,
`social_sharing_url`
longtext
,
`end_of_course_survey_url`
longtext
,
`certificates_display_behavior`
longtext
,
...
...
@@ -1168,6 +1247,7 @@ CREATE TABLE `course_overviews_courseoverview` (
`effort`
longtext
,
`short_description`
longtext
,
`org`
longtext
NOT
NULL
,
`self_paced`
tinyint
(
1
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
...
...
@@ -1229,6 +1309,20 @@ CREATE TABLE `course_structures_coursestructure` (
UNIQUE
KEY
`course_id`
(
`course_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`coursetalk_coursetalkwidgetconfiguration`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`coursetalk_coursetalkwidgetconfiguration`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`change_date`
datetime
(
6
)
NOT
NULL
,
`enabled`
tinyint
(
1
)
NOT
NULL
,
`platform_key`
varchar
(
50
)
NOT
NULL
,
`changed_by_id`
int
(
11
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`coursetalk_course_changed_by_id_18bd24020c1b37d5_fk_auth_user_id`
(
`changed_by_id`
),
CONSTRAINT
`coursetalk_course_changed_by_id_18bd24020c1b37d5_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
`courseware_offlinecomputedgrade`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
...
...
@@ -1400,6 +1494,20 @@ CREATE TABLE `credentials_credentialsapiconfig` (
CONSTRAINT
`credentials_crede_changed_by_id_273a2e6b0649c861_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
`credit_creditconfig`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`credit_creditconfig`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`change_date`
datetime
(
6
)
NOT
NULL
,
`enabled`
tinyint
(
1
)
NOT
NULL
,
`cache_ttl`
int
(
10
)
unsigned
NOT
NULL
,
`changed_by_id`
int
(
11
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`credit_creditconf_changed_by_id_6270a800475f6694_fk_auth_user_id`
(
`changed_by_id`
),
CONSTRAINT
`credit_creditconf_changed_by_id_6270a800475f6694_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
`credit_creditcourse`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
...
...
@@ -1587,8 +1695,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
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`django_comment_client_permission`
;
...
...
@@ -1609,8 +1717,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
`
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
`
)
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
`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`django_comment_client_role`
;
...
...
@@ -1647,7 +1755,7 @@ CREATE TABLE `django_content_type` (
`model`
varchar
(
100
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`django_content_type_app_label_45f3b1d93ec8c61c_uniq`
(
`app_label`
,
`model`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
51
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
68
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`django_migrations`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
...
...
@@ -1658,7 +1766,7 @@ CREATE TABLE `django_migrations` (
`name`
varchar
(
255
)
NOT
NULL
,
`applied`
datetime
(
6
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1
20
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1
39
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 */
;
...
...
@@ -1766,8 +1874,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
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`djcelery_periodictasks`
;
...
...
@@ -1848,8 +1956,8 @@ CREATE TABLE `edxval_encodedvideo` (
PRIMARY
KEY
(
`id`
),
KEY
`edxval_encodedvideo_83a0eb3f`
(
`profile_id`
),
KEY
`edxval_encodedvideo_b58b747e`
(
`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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`edxval_profile`
;
...
...
@@ -2052,6 +2160,24 @@ CREATE TABLE `lms_xblock_xblockasidesconfig` (
CONSTRAINT
`lms_xblock_xblocka_changed_by_id_eabf5ef3e34dfb8_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
`mentoring_answer`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`mentoring_answer`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`name`
varchar
(
50
)
NOT
NULL
,
`student_id`
varchar
(
32
)
NOT
NULL
,
`course_id`
varchar
(
50
)
NOT
NULL
,
`student_input`
longtext
NOT
NULL
,
`created_on`
datetime
(
6
)
NOT
NULL
,
`modified_on`
datetime
(
6
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`student_id`
(
`student_id`
,
`course_id`
,
`name`
),
KEY
`mentoring_answer_b068931c`
(
`name`
),
KEY
`mentoring_answer_30a811f6`
(
`student_id`
),
KEY
`mentoring_answer_ea134da7`
(
`course_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`microsite_configuration_historicalmicrositeorganizationmapping`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
...
...
@@ -2337,8 +2463,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
`
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
`
)
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
`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`oauth2_accesstoken`
;
...
...
@@ -2355,8 +2481,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
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`oauth2_client`
;
...
...
@@ -2390,8 +2516,84 @@ 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_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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
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
,
`token`
varchar
(
255
)
NOT
NULL
,
`expires`
datetime
(
6
)
NOT
NULL
,
`scope`
longtext
NOT
NULL
,
`application_id`
int
(
11
)
NOT
NULL
,
`user_id`
int
(
11
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`D5ac3019ee1c474fd85718b015e3d3a1`
(
`application_id`
),
KEY
`oauth2_provider_accesstoken_94a08da1`
(
`token`
),
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_accesst_user_id_5e2f004fdebea22d_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
,
`client_id`
varchar
(
100
)
NOT
NULL
,
`redirect_uris`
longtext
NOT
NULL
,
`client_type`
varchar
(
32
)
NOT
NULL
,
`authorization_grant_type`
varchar
(
32
)
NOT
NULL
,
`client_secret`
varchar
(
255
)
NOT
NULL
,
`name`
varchar
(
255
)
NOT
NULL
,
`user_id`
int
(
11
)
NOT
NULL
,
`skip_authorization`
tinyint
(
1
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`client_id`
(
`client_id`
),
KEY
`oauth2_provider_application_9d667c2b`
(
`client_secret`
),
KEY
`oauth2_provider_applica_user_id_7fa13387c260b798_fk_auth_user_id`
(
`user_id`
),
CONSTRAINT
`oauth2_provider_applica_user_id_7fa13387c260b798_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_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
,
`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
,
`user_id`
int
(
11
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`D6b2a4f1402d4f338b690c38b795830a`
(
`application_id`
),
KEY
`oauth2_provider_grant_user_id_3111344894d452da_fk_auth_user_id`
(
`user_id`
),
KEY
`oauth2_provider_grant_c1336794`
(
`code`
),
CONSTRAINT
`D6b2a4f1402d4f338b690c38b795830a`
FOREIGN
KEY
(
`application_id`
)
REFERENCES
`oauth2_provider_application`
(
`id`
),
CONSTRAINT
`oauth2_provider_grant_user_id_3111344894d452da_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
,
`token`
varchar
(
255
)
NOT
NULL
,
`access_token_id`
int
(
11
)
NOT
NULL
,
`application_id`
int
(
11
)
NOT
NULL
,
`user_id`
int
(
11
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`access_token_id`
(
`access_token_id`
),
KEY
`d3e264ceec355cabed6ff9976fc42a06`
(
`application_id`
),
KEY
`oauth2_provider_refresh_user_id_3f695b639cfbc9a3_fk_auth_user_id`
(
`user_id`
),
KEY
`oauth2_provider_refreshtoken_94a08da1`
(
`token`
),
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_refresh_user_id_3f695b639cfbc9a3_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`
;
...
...
@@ -2419,9 +2621,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_
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`
),
CONSTRAINT
`oauth2_refreshtok_client_id_2f55036ac9aa614e_fk_oauth2_client_id`
FOREIGN
KEY
(
`client_id`
)
REFERENCES
`oauth2_client`
(
`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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`oauth_provider_consumer`
;
...
...
@@ -2485,9 +2687,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_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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`organizations_organization`
;
...
...
@@ -2524,6 +2726,43 @@ CREATE TABLE `organizations_organizationcourse` (
CONSTRAINT
`a7b04b16eba98e518fbe21d390bd8e3e`
FOREIGN
KEY
(
`organization_id`
)
REFERENCES
`organizations_organization`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`problem_builder_answer`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`problem_builder_answer`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`name`
varchar
(
50
)
NOT
NULL
,
`student_id`
varchar
(
32
)
NOT
NULL
,
`course_id`
varchar
(
50
)
NOT
NULL
,
`student_input`
longtext
NOT
NULL
,
`created_on`
datetime
(
6
)
NOT
NULL
,
`modified_on`
datetime
(
6
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`problem_builder_answer_student_id_2f6847a9fb3e9385_uniq`
(
`student_id`
,
`course_id`
,
`name`
),
KEY
`problem_builder_answer_b068931c`
(
`name`
),
KEY
`problem_builder_answer_30a811f6`
(
`student_id`
),
KEY
`problem_builder_answer_ea134da7`
(
`course_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`problem_builder_share`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`problem_builder_share`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`submission_uid`
varchar
(
32
)
NOT
NULL
,
`block_id`
varchar
(
255
)
NOT
NULL
,
`notified`
tinyint
(
1
)
NOT
NULL
,
`shared_by_id`
int
(
11
)
NOT
NULL
,
`shared_with_id`
int
(
11
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`problem_builder_share_shared_by_id_4e845ea266d66e1_uniq`
(
`shared_by_id`
,
`shared_with_id`
,
`block_id`
),
KEY
`problem_builder__shared_with_id_573844d7dca07647_fk_auth_user_id`
(
`shared_with_id`
),
KEY
`problem_builder_share_7e53bca2`
(
`block_id`
),
KEY
`problem_builder_share_e559ad34`
(
`notified`
),
CONSTRAINT
`problem_builder__shared_with_id_573844d7dca07647_fk_auth_user_id`
FOREIGN
KEY
(
`shared_with_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`problem_builder_sh_shared_by_id_35201b15adc664ce_fk_auth_user_id`
FOREIGN
KEY
(
`shared_by_id`
)
REFERENCES
`auth_user`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`proctoring_proctoredexam`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
...
...
@@ -2560,8 +2799,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
`
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`proctoring_proctoredexamreviewpolicyhistory`
;
...
...
@@ -2579,8 +2818,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
`
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`proctoring_proctoredexamsoftwaresecurereview`
;
...
...
@@ -2603,9 +2842,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
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`
),
CONSTRAINT
`proctoring_proct_reviewed_by_id_4cff67b7de094f65_fk_auth_user_id`
FOREIGN
KEY
(
`reviewed_by_id`
)
REFERENCES
`auth_user`
(
`id`
),
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`proctoring_proctoredexamsoftwaresecurereviewhistory`
;
...
...
@@ -2627,9 +2866,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
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`
),
CONSTRAINT
`proctoring_proct_reviewed_by_id_139568d0bf423998_fk_auth_user_id`
FOREIGN
KEY
(
`reviewed_by_id`
)
REFERENCES
`auth_user`
(
`id`
),
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`proctoring_proctoredexamstudentallowance`
;
...
...
@@ -2646,8 +2885,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
`
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`proctoring_proctoredexamstudentallowancehistory`
;
...
...
@@ -2665,8 +2904,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
`
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`proctoring_proctoredexamstudentattempt`
;
...
...
@@ -2745,8 +2984,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
`
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`programs_programsapiconfig`
;
...
...
@@ -2767,6 +3006,7 @@ CREATE TABLE `programs_programsapiconfig` (
`enable_studio_tab`
tinyint
(
1
)
NOT
NULL
,
`enable_certification`
tinyint
(
1
)
NOT
NULL
,
`max_retries`
int
(
10
)
unsigned
NOT
NULL
,
`xseries_ad_enabled`
tinyint
(
1
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`programs_programsa_changed_by_id_b7c3b49d5c0dcd3_fk_auth_user_id`
(
`changed_by_id`
),
CONSTRAINT
`programs_programsa_changed_by_id_b7c3b49d5c0dcd3_fk_auth_user_id`
FOREIGN
KEY
(
`changed_by_id`
)
REFERENCES
`auth_user`
(
`id`
)
...
...
@@ -2845,9 +3085,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
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`
),
CONSTRAINT
`shoppingcart__order_id_5ba031c3bfaf643a_fk_shoppingcart_order_id`
FOREIGN
KEY
(
`order_id`
)
REFERENCES
`shoppingcart_order`
(
`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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`shoppingcart_courseregcodeitem`
;
...
...
@@ -2896,9 +3136,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
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`
),
CONSTRAINT
`shoppingcart__order_id_279d7e2df3fe6b6a_fk_shoppingcart_order_id`
FOREIGN
KEY
(
`order_id`
)
REFERENCES
`shoppingcart_order`
(
`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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`shoppingcart_courseregistrationcodeinvoiceitem`
;
...
...
@@ -3014,9 +3254,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
`shoppingc_invoice_id_66bdbfa6f029288b_fk_shoppingcart_invoice_id`
FOREIGN
KEY
(
`invoice_id`
)
REFERENCES
`shoppingcart_invoice`
(
`id`
)
CONSTRAINT
`shoppingcart_invoi_created_by_id_f5f3d90ce55a145_fk_auth_user_id`
FOREIGN
KEY
(
`created_by_id`
)
REFERENCES
`auth_user`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`shoppingcart_order`
;
...
...
@@ -3077,8 +3317,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_
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`shoppingcart_paidcourseregistration`
;
...
...
@@ -3125,8 +3365,34 @@ 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_reg_redeemed_by_id_455df2dd74004fff_fk_auth_user_id`
FOREIGN
KEY
(
`redeemed_by_id`
)
REFERENCES
`auth_user`
(
`id`
),
CONSTRAINT
`shoppingcart_r_order_id_752ddc3003afe96_fk_shoppingcart_order_id`
FOREIGN
KEY
(
`order_id`
)
REFERENCES
`shoppingcart_order`
(
`id`
)
CONSTRAINT
`shoppingcart_r_order_id_752ddc3003afe96_fk_shoppingcart_order_id`
FOREIGN
KEY
(
`order_id`
)
REFERENCES
`shoppingcart_order`
(
`id`
),
CONSTRAINT
`shoppingcart_reg_redeemed_by_id_455df2dd74004fff_fk_auth_user_id`
FOREIGN
KEY
(
`redeemed_by_id`
)
REFERENCES
`auth_user`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`site_configuration_siteconfiguration`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`site_configuration_siteconfiguration`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`values`
longtext
NOT
NULL
,
`site_id`
int
(
11
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`site_id`
(
`site_id`
),
CONSTRAINT
`site_configuration_si_site_id_51c4aa24ab9238cb_fk_django_site_id`
FOREIGN
KEY
(
`site_id`
)
REFERENCES
`django_site`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`site_configuration_siteconfigurationhistory`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`site_configuration_siteconfigurationhistory`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`created`
datetime
(
6
)
NOT
NULL
,
`modified`
datetime
(
6
)
NOT
NULL
,
`values`
longtext
NOT
NULL
,
`site_id`
int
(
11
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`site_configuration_si_site_id_20c9c1a5f8c3358e_fk_django_site_id`
(
`site_id`
),
CONSTRAINT
`site_configuration_si_site_id_20c9c1a5f8c3358e_fk_django_site_id`
FOREIGN
KEY
(
`site_id`
)
REFERENCES
`django_site`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`social_auth_association`
;
...
...
@@ -3531,8 +3797,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
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`student_usertestgroup`
;
...
...
@@ -3556,8 +3822,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
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`submissions_score`
;
...
...
@@ -3575,8 +3841,8 @@ CREATE TABLE `submissions_score` (
KEY
`submissions_score_fde81f11`
(
`created_at`
),
KEY
`submissions_score_02d5e83e`
(
`student_item_id`
),
KEY
`submissions_score_1dd9cfcc`
(
`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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`submissions_scoreannotation`
;
...
...
@@ -3608,8 +3874,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_
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`submissions_studentitem`
;
...
...
@@ -3665,8 +3931,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
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`survey_surveyform`
;
...
...
@@ -3720,8 +3986,20 @@ 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_courseteammembers_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`
)
CONSTRAINT
`teams_courseteam_team_id_594700d19b04f922_fk_teams_courseteam_id`
FOREIGN
KEY
(
`team_id`
)
REFERENCES
`teams_courseteam`
(
`id`
),
CONSTRAINT
`teams_courseteammembers_user_id_2d93b28be22c3c40_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
`theming_sitetheme`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`theming_sitetheme`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`theme_dir_name`
varchar
(
255
)
NOT
NULL
,
`site_id`
int
(
11
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`theming_sitetheme_site_id_4fccdacaebfeb01f_fk_django_site_id`
(
`site_id`
),
CONSTRAINT
`theming_sitetheme_site_id_4fccdacaebfeb01f_fk_django_site_id`
FOREIGN
KEY
(
`site_id`
)
REFERENCES
`django_site`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`third_party_auth_ltiproviderconfig`
;
...
...
@@ -3741,6 +4019,7 @@ CREATE TABLE `third_party_auth_ltiproviderconfig` (
`lti_consumer_secret`
varchar
(
255
)
NOT
NULL
,
`lti_max_timestamp_age`
int
(
11
)
NOT
NULL
,
`changed_by_id`
int
(
11
)
DEFAULT
NULL
,
`icon_image`
varchar
(
100
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`third_party_auth__changed_by_id_7749e09fd5f71ab0_fk_auth_user_id`
(
`changed_by_id`
),
KEY
`third_party_auth_ltiproviderconfig_fe8da584`
(
`lti_hostname`
),
...
...
@@ -3764,6 +4043,7 @@ CREATE TABLE `third_party_auth_oauth2providerconfig` (
`secret`
longtext
NOT
NULL
,
`other_settings`
longtext
NOT
NULL
,
`changed_by_id`
int
(
11
)
DEFAULT
NULL
,
`icon_image`
varchar
(
100
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`third_party_auth__changed_by_id_17044d1cd96e8d57_fk_auth_user_id`
(
`changed_by_id`
),
KEY
`third_party_auth_oauth2providerconfig_abcd61c0`
(
`backend_name`
),
...
...
@@ -3824,6 +4104,7 @@ CREATE TABLE `third_party_auth_samlproviderconfig` (
`attr_email`
varchar
(
128
)
NOT
NULL
,
`other_settings`
longtext
NOT
NULL
,
`changed_by_id`
int
(
11
)
DEFAULT
NULL
,
`icon_image`
varchar
(
100
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`third_party_auth__changed_by_id_508190ecd0b0e845_fk_auth_user_id`
(
`changed_by_id`
),
KEY
`third_party_auth_samlproviderconfig_098674f1`
(
`idp_slug`
),
...
...
@@ -3934,6 +4215,17 @@ CREATE TABLE `util_ratelimitconfiguration` (
CONSTRAINT
`util_ratelimitcon_changed_by_id_2c8891cb4854f3b5_fk_auth_user_id`
FOREIGN
KEY
(
`changed_by_id`
)
REFERENCES
`auth_user`
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`verified_track_content_verifiedtrackcohortedcourse`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`verified_track_content_verifiedtrackcohortedcourse`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`course_key`
varchar
(
255
)
NOT
NULL
,
`enabled`
tinyint
(
1
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`course_key`
(
`course_key`
)
)
ENGINE
=
InnoDB
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 */
;
/*!40101 SET character_set_client = utf8 */
;
...
...
@@ -3995,8 +4287,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
`
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`verify_student_softwaresecurephotoverification`
;
...
...
@@ -4030,9 +4322,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_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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`verify_student_verificationcheckpoint`
;
...
...
@@ -4090,8 +4382,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
`
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`wiki_article`
;
...
...
@@ -4112,9 +4404,9 @@ CREATE TABLE `wiki_article` (
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_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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`wiki_articleforobject`
;
...
...
@@ -4168,9 +4460,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_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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`wiki_attachment`
;
...
...
@@ -4208,9 +4500,9 @@ CREATE TABLE `wiki_attachmentrevision` (
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
`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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`wiki_image`
;
...
...
@@ -4253,8 +4545,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
`
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`
)
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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`wiki_revisionplugin`
;
...
...
@@ -4289,9 +4581,9 @@ CREATE TABLE `wiki_revisionpluginrevision` (
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
`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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`wiki_simpleplugin`
;
...
...
@@ -4328,9 +4620,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_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`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
DROP
TABLE
IF
EXISTS
`workflow_assessmentworkflow`
;
...
...
common/test/db_cache/bok_choy_schema_student_module_history.sql
View file @
f84f95c7
...
...
@@ -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
=
1
20
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1
39
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */
;
...
...
common/test/db_cache/lettuce.db
View file @
f84f95c7
No preview for this file type
common/test/db_cache/lettuce_student_module_history.db
View file @
f84f95c7
No preview for this file type
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