Commit e850e594 authored by Mayra Cabrera's avatar Mayra Cabrera

Adds missing column on DB example

Step 2 of "Changing column types" was missing the column on the
example, as cleanup_concurrent_column_type_change uses two arguments:
table and column
parent 4259844c
...@@ -213,7 +213,7 @@ class ChangeUsersUsernameStringToTextCleanup < ActiveRecord::Migration[4.2] ...@@ -213,7 +213,7 @@ class ChangeUsersUsernameStringToTextCleanup < ActiveRecord::Migration[4.2]
disable_ddl_transaction! disable_ddl_transaction!
def up def up
cleanup_concurrent_column_type_change :users cleanup_concurrent_column_type_change :users, :username
end end
def down def down
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment