提交 ec98a720 编写于 作者: J Jeremy Kemper

Remove mysql option from a test that applies to all databases. References #11154.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8897 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 331d9c04
......@@ -11,22 +11,21 @@ def setup
def create_test_tables
conn = ActiveRecord::Base.connection
options = { :force => true, :options => "Engine=MyISAM" }
[:circles, :squares, :triangles, :non_poly_ones, :non_poly_twos].each do |t|
conn.create_table(t, options) { }
conn.create_table(t, :force => true) { }
end
conn.create_table :shape_expressions, options do |t|
conn.create_table :shape_expressions, :force => true do |t|
t.string :paint_type
t.integer :paint_id
t.string :shape_type
t.integer :shape_id
end
conn.create_table :paint_colors, options do |t|
conn.create_table :paint_colors, :force => true do |t|
t.integer :non_poly_one_id
end
conn.create_table :paint_textures, options do |t|
conn.create_table :paint_textures, :force => true do |t|
t.integer :non_poly_two_id
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册