Skip to content

Commit

Permalink
Merge pull request #1 from coisnepe/patch-2
Browse files Browse the repository at this point in the history
Update README
  • Loading branch information
matthieuprat authored Oct 12, 2018
2 parents 0019d4a + 6a37928 commit 5d6a28b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ActiveRecord migrations for Postgres made safe.
Just drop this line in your Gemfile:

```rb
gem safe-pg-migrations
gem 'safe-pg-migrations'
```

## Example
Expand All @@ -28,7 +28,7 @@ class AddAdminToUsers < ActiveRecord::Migration[5.2]
end
```

If the users table is large, running this migration on a live Postgres database will likely cause downtime. **Safe PG Migrations** hooks into Active Record so that the following gets executed instead:
If the `users` table is large, running this migration on a live Postgres database will likely cause downtime. **Safe PG Migrations** hooks into Active Record so that the following gets executed instead:

```rb
class AddAdminToUsers < ActiveRecord::Migration[5.2]
Expand Down

0 comments on commit 5d6a28b

Please sign in to comment.