# Version upgrade

Between each minor version upgrade, e.g. 2.3.0 to 2.4.0, use below command to upgrade the database schema:

```bash
singularity admin init
```

For major version upgrade, e.g. 2.4.0 to 3.0.0, please refer to migration guide for each major version release.

If you are moving existing schedules from legacy market deals to PDP or DDO, see [Migrating from legacy deals](/singularity/installation/migrating-from-legacy-deals.md).


---

# Agent Instructions: 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://data-programs.gitbook.io/singularity/installation/upgrade.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.
