> For the complete documentation index, see [llms.txt](https://lern.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lern.sunbird.org/use/developer-guide/user-and-org-service/data-models/cassandra/data-dictionary/cassandra-migration-version.md).

# Cassandra Migration Version

### sunbird.cassandra\_migration\_version (**PRIMARY KEY: version)**

Table used to capture cassandra CQL script version status during LERN release deployment

<table><thead><tr><th width="180.33333333333331">Column Name</th><th width="122">Data Type</th><th>Description</th><th>Sample Data</th></tr></thead><tbody><tr><td>version</td><td>text</td><td>Current CQL script  version deployed</td><td>1.113</td></tr><tr><td>checksum</td><td>int</td><td></td><td>-1988945306</td></tr><tr><td>description</td><td>text</td><td>Not Used</td><td>cassandra</td></tr><tr><td>execution_time</td><td>int</td><td>Time taken in milliseconds to execute the cql script</td><td>2323</td></tr><tr><td>installed_by</td><td>text</td><td>Not Used</td><td></td></tr><tr><td>installed_on</td><td>timestamp</td><td>Timestamp on which the cql script was executed</td><td>2020-12-18 11:04:46.095000+0000</td></tr><tr><td>installed_rank</td><td>int</td><td>The order in which this migration was applied amongst all others. (For out of order detection)</td><td>226</td></tr><tr><td>script</td><td>text</td><td>CQL script name</td><td>V1.113_cassandra.cql</td></tr><tr><td>success</td><td>boolean</td><td>Indicator to mention whether CQL script was run successfully or not</td><td>True</td></tr><tr><td>type</td><td>text</td><td>The type of migration (CQL, JAVA_DRIVER, ...)</td><td>CQL</td></tr><tr><td>version_rank</td><td>int</td><td>The position of this version amongst all others. (For easy order by sorting)</td><td>112</td></tr></tbody></table>

### sunbird.cassandra\_migration\_version\_counts (PRIMARY KEY: name)

Table used to store information about the last run CQL migration script data

<table><thead><tr><th width="167.33333333333331">Column Name</th><th width="120">Data Type</th><th>Description</th><th>Sample Data</th></tr></thead><tbody><tr><td>name</td><td>text</td><td>Field Name</td><td>installed_rank</td></tr><tr><td>count</td><td>counter</td><td>Field Value</td><td>257</td></tr></tbody></table>


---

# 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, and the optional `goal` query parameter:

```
GET https://lern.sunbird.org/use/developer-guide/user-and-org-service/data-models/cassandra/data-dictionary/cassandra-migration-version.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
