mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Merge pull request #64 from rinaldifonseca/master
Added |t| to create_table block
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user