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:
parent
5014b33028
commit
d72ecd92a2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue