mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #64 from rinaldifonseca/master
Added |t| to create_table block
This commit is contained in:
commit
479c853b3f
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ end
|
||||||
<ruby>
|
<ruby>
|
||||||
class MyMigration < ActiveRecord::Migration
|
class MyMigration < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
create_table(:horses) do
|
create_table(:horses) do |t|
|
||||||
t.column :content, :text
|
t.column :content, :text
|
||||||
t.column :remind_at, :datetime
|
t.column :remind_at, :datetime
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue