> For the complete documentation index, see [llms.txt](https://sprnva.gitbook.io/sprnva-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sprnva.gitbook.io/sprnva-docs/migration/instances.md).

# INSTANCES

Instances is the mode that we set and then use to identify a migration file.

* **NEW** - This will create a new table in the database
* **RENAMETABLE** - Will rename a table in the database
* **DROP** - This will drop a table in the database
* **CHANGE** - This is like altering the table columns

### INSTANCE USAGE

Let's take a look how to use this instances.

* The **up** is always used in migrating the migration files.
* The **down** is used in the rollback of the migration or like a reverse of the **up**
