-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from overhangio/redwood
Feat: Upgrade to redwood
- Loading branch information
Showing
12 changed files
with
72 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "17.1.0" | ||
__version__ = "18.0.0" |
23 changes: 23 additions & 0 deletions
23
tutorcairn/templates/cairn/apps/clickhouse/migrations.d/0012_modify_course_enrollments.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
RENAME TABLE _openedx_course_enrollments TO openedx_course_enrollments; | ||
RENAME TABLE _openedx_user_profiles TO openedx_user_profiles; | ||
RENAME TABLE _openedx_users TO openedx_users; | ||
|
||
DROP TABLE course_enrollments; | ||
CREATE VIEW course_enrollments AS | ||
SELECT | ||
openedx_course_enrollments.course_id AS course_id, | ||
openedx_course_enrollments.created AS enrollment_created, | ||
openedx_course_enrollments.is_active AS enrollment_is_active, | ||
openedx_course_enrollments.mode AS enrollment_mode, | ||
openedx_course_enrollments.user_id AS user_id, | ||
openedx_users.username AS username, | ||
openedx_users.email AS user_email, | ||
openedx_user_profiles.year_of_birth AS user_year_of_birth, | ||
openedx_user_profiles.gender AS user_gender, | ||
openedx_user_profiles.level_of_education AS user_level_of_education, | ||
openedx_user_profiles.city AS user_city, | ||
openedx_user_profiles.state AS user_state, | ||
openedx_user_profiles.country AS user_country | ||
FROM openedx_course_enrollments | ||
INNER JOIN openedx_user_profiles ON openedx_course_enrollments.user_id = openedx_user_profiles.user_id | ||
INNER JOIN openedx_users ON openedx_course_enrollments.user_id = openedx_users.id; |
15 changes: 15 additions & 0 deletions
15
...airn/templates/cairn/apps/clickhouse/migrations.d/0013_modify_course_block_completion.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
RENAME TABLE _openedx_block_completion TO openedx_block_completion; | ||
|
||
DROP TABLE course_block_completion; | ||
|
||
CREATE VIEW course_block_completion AS | ||
SELECT | ||
openedx_block_completion.course_key AS course_id, | ||
openedx_block_completion.block_key AS block_key, | ||
openedx_block_completion.user_id AS user_id, | ||
openedx_block_completion.completion AS completion, | ||
course_blocks.position as position, | ||
course_blocks.display_name as display_name, | ||
course_blocks.full_name as full_name | ||
FROM openedx_block_completion | ||
INNER JOIN course_blocks ON openedx_block_completion.block_key = course_blocks.block_key; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters