mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Capitalize Rake
Should _probably_ be done across the board with all of our documentation, but going to leave that for another time :) [ci skip]
This commit is contained in:
parent
43a42542e6
commit
df94b863c2
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ indicates whether boolean values are stored in sqlite3 databases as 1 and 0 or
|
|||
set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
|
||||
boolean values and must have old data converted to 1 and 0 (its native boolean
|
||||
serialization) before setting this flag to true. Conversion can be accomplished
|
||||
by setting up a rake task which runs
|
||||
by setting up a Rake task which runs
|
||||
|
||||
```ruby
|
||||
ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
|
||||
|
|
Loading…
Reference in a new issue