提交 98d87f38 编写于 作者: J Jeremy Kemper

Fix schema.rb some more. sponsors.sponsorable_type should be a string. References #4756.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 36baabe2
......@@ -422,6 +422,6 @@ def create_table(*args, &block)
create_table :sponsors, :force => true do |t|
t.integer :club_id
t.integer :sponsorable_id
t.integer :sponsorable_type
t.string :sponsorable_type
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册