# Rezoom.SQL.Migrations

[Home](/rezoom-sql/master.md) > [API](/rezoom-sql/api.md) > Rezoom.SQL.Migrations

[← Rezoom.SQL.Plans](/rezoom-sql/api/rezoomsqlplans.md)

## Rezoom.SQL.Migrations

This namespace contains the migration configuration and some types representing migrations within your data model.

### The `MigrationConfig` type

This is a record type with the following properties:

#### AllowRetroactiveMigrations : bool

If true, permit running migrations that have not been run on the database, but are older than other migrations that *have* been run. Typically this would only make sense in development, after merging migrations written by another developer.

See also the section on [migration trees](/rezoom-sql/configuration/migrationtrees.md).

#### LogMigrationRan : Migration -> unit

This is a function which will be called after a migration has been run. Often it is nice to print the migration name to the console or perhaps to a text file.

### MigrationConfig defaults

The static member `MigrationConfig.Default` is suitable for most typical usages. It is defined as:

```fsharp
{   AllowRetroactiveMigrations = false
    LogMigrationRan = fun _ -> ()
}
```

***

[← Rezoom.SQL.Plans](/rezoom-sql/api/rezoomsqlplans.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://humbobst.gitbook.io/rezoom-sql/api/rezoomsqlmigrations.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.
