# Cassandra

Cassandra Migration in [sunbird-utils](https://github.com/sunbird-lern/sunbird-utils) needs to be run before LMS service setup to create necessary tables required in **sunbird** keyspace and **sunbird\_courses** keyspace.&#x20;

{% embed url="<https://lern.sunbird.org/learn/data-dictionary/user-org-service/page-management>" %}
LMS Data dictionary for sunbird keyspace
{% endembed %}

{% embed url="<https://lern.sunbird.org/learn/data-dictionary/course-batch-service>" %}
LMS Data dictionary for sunbird\_courses keyspace
{% endembed %}

## **ER Diagram for sunbird\_courses keyspace**

![Sunbird Courses](/files/4Z8LLCyRyfscmzXOGsyC)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lern.sunbird.org/use/developer-guide/lms-service/data-models/cassandra.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
