README.md in strong_migrations-1.2.0 vs README.md in strong_migrations-1.3.0
- old
+ new
@@ -133,11 +133,11 @@
add_column :users, :some_column, :text, default: "default_value"
end
end
```
-In Postgres 11+, MySQL 8.0.12+, and MariaDB 10.3.2+, this no longer requires a table rewrite and is safe.
+In Postgres 11+, MySQL 8.0.12+, and MariaDB 10.3.2+, this no longer requires a table rewrite and is safe (except for volatile functions like `gen_random_uuid()`).
#### Good
Instead, add the column without a default value, then change the default.
@@ -679,10 +679,10 @@
```ruby
StrongMigrations.disable_check(:add_index)
```
-Check the [source code](https://github.com/ankane/strong_migrations/blob/master/lib/strong_migrations.rb) for the list of keys.
+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: