Merge pull request #19454 from yui-knk/fix/guide_migrations
[ci skip] Change `the null` to `a not null constraint`
This commit is contained in:
commit
055ef4b623
@ -425,7 +425,7 @@ change_column :products, :part_number, :text
|
||||
This changes the column `part_number` on products table to be a `:text` field.
|
||||
|
||||
Besides `change_column`, the `change_column_null` and `change_column_default`
|
||||
methods are used specifically to change the null and default values of a
|
||||
methods are used specifically to change a not null constraint and default values of a
|
||||
column.
|
||||
|
||||
```ruby
|
||||
|
Loading…
Reference in New Issue
Block a user