Added |t| to create_table block
This commit is contained in:
parent
5014b33028
commit
d72ecd92a2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user