Skip to content

Commit ac1e615

Browse files
authored
Fix typos (#56)
1 parent fdb099a commit ac1e615

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
ActiveRecord migrations for Postgres made safe.
44

5-
![safe-pg-migoosration](./logo.png)
5+
![safe-pg-migrations](./logo.png)
66

77
## Requirements
88

@@ -93,7 +93,7 @@ When **Safe PG Migrations** is used, migrations are not wrapped in a transaction
9393
- In order to be able to retry statements that have failed because of a lock timeout, we have to be outside a transaction.
9494
- In order to add an index concurrently, we have to be outside a transaction.
9595

96-
Note that if a migration fails, it won't be rollbacked. This can result in migrations being partially applied. In that case, they need to be manually reverted.
96+
Note that if a migration fails, it won't be rolled back. This can result in migrations being partially applied. In that case, they need to be manually reverted.
9797

9898
</details>
9999

@@ -110,7 +110,7 @@ PG will still needs to update every row of the table, and will most likely state
110110

111111
<blockquote>
112112

113-
**Note: Pre-postgre 11**
113+
**Note: Pre-postgres 11**
114114
Adding a column with a default value and a not-null constraint is [dangerous](https://wework.github.io/data/2015/11/05/add-columns-with-default-values-to-large-tables-in-rails-postgres/).
115115

116116
**Safe PG Migrations** makes it safe by:
@@ -122,7 +122,7 @@ Adding a column with a default value and a not-null constraint is [dangerous](ht
122122

123123
Note: the addition of the not null constraint may timeout. In that case, you may want to add the not-null constraint as initially not valid and validate it in a separate statement. See [Adding a not-null constraint on Postgres with minimal locking](https://medium.com/doctolib-engineering/adding-a-not-null-constraint-on-pg-faster-with-minimal-locking-38b2c00c4d1c).
124124

125-
</blockquote>
125+
</blockquote>
126126

127127
</details>
128128

@@ -152,7 +152,7 @@ Adding the constraint itself is rather fast, the major part of the time is spent
152152

153153
<details><summary>Retry after lock timeout</summary>
154154

155-
When a statement fails with a lock timeout, **Safe PG Migrations** retries it (5 times max) [list of retryable statments](https://github.com/doctolib/safe-pg-migrations/blob/66933256252b6bbf12e404b829a361dbba30e684/lib/safe-pg-migrations/plugins/statement_retrier.rb#L5)
155+
When a statement fails with a lock timeout, **Safe PG Migrations** retries it (5 times max) [list of retriable statements](https://github.com/doctolib/safe-pg-migrations/blob/66933256252b6bbf12e404b829a361dbba30e684/lib/safe-pg-migrations/plugins/statement_retrier.rb#L5)
156156
</details>
157157

158158
<details><summary>Blocking activity logging</summary>
@@ -221,7 +221,7 @@ SafePgMigrations.config.retry_delay = 1.minute # Delay between retries for retry
221221
SafePgMigrations.config.max_tries = 5 # Number of retries before abortion of the migration
222222
```
223223

224-
## Runnings tests
224+
## Running tests
225225

226226
```bash
227227
bundle

0 commit comments

Comments
 (0)