Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
coisnepe authored Oct 12, 2018
1 parent 0019d4a commit 6a37928
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 6a37928

Please sign in to comment.