Skip to content

Commit

Permalink
Moved skip databases section [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Nov 9, 2024
1 parent 3e7129e commit 7cba344
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -781,14 +781,6 @@ StrongMigrations.disable_check(:add_index)

Check the [source code](https://github.com/ankane/strong_migrations/blob/master/lib/strong_migrations/error_messages.rb) for the list of keys.

## Down Migrations / Rollbacks

By default, checks are disabled when migrating down. Enable them with:

```ruby
StrongMigrations.check_down = true
```

## Skip Databases

Skip checks and other functionality for specific databases with: [unreleased]
Expand All @@ -799,6 +791,14 @@ StrongMigrations.skip_databases += [:catalog]

Note: This does not affect `alphabetize_schema`.

## Down Migrations / Rollbacks

By default, checks are disabled when migrating down. Enable them with:

```ruby
StrongMigrations.check_down = true
```

## Custom Messages

To customize specific messages, create an initializer with:
Expand Down

0 comments on commit 7cba344

Please sign in to comment.