Skip to content

Commit

Permalink
docs: Add a note about the second DB that needs to be migrated.
Browse files Browse the repository at this point in the history
CSMH lives in a second database named `student_moudule_history` and so
you need to run migrations on that to create the csmh_extended table.
  • Loading branch information
feanil committed Jun 6, 2024
1 parent 7f7cade commit 680c9c6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,13 @@ Language Packages:
Build Steps
-----------

Create a MySQL database and a MySQL user with write permissions, and configure
Django to use them. Then, run migrations::
Create two MySQL databases and a MySQL user with write permissions to both, and configure
Django to use them by updating the ``DATABASES`` setting.

Then, run migrations::

./manage.py lms migrate
./manage.py lms migrate --database=student_module_history
./manage.py cms migrate

Build static assets (for more details, see `building static
Expand Down

0 comments on commit 680c9c6

Please sign in to comment.