1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Added |t| to create_table block

This commit is contained in:
Rinaldi Fonseca 2011-09-04 00:34:56 -03:00
parent 5014b33028
commit d72ecd92a2

View file

@ -315,7 +315,7 @@ end
<ruby>
class MyMigration < ActiveRecord::Migration
def change
create_table(:horses) do
create_table(:horses) do |t|
t.column :content, :text
t.column :remind_at, :datetime
end