Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

mention that innoDB is the default

  • Loading branch information...
commit 63b615cbc600925cf7c176dee128814b766a5b98 1 parent 99acfb5
@fcheung fcheung authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/doc/guides/migrations/writing_a_migration.txt
View
2  railties/doc/guides/migrations/writing_a_migration.txt
@@ -40,7 +40,7 @@ create_table :products, :options => "ENGINE=InnoDB" do |t|
t.string :name, :null => false
end
---------------------
-Will append `ENGINE=InnoDB` to the sql used to create the table.
+Will append `ENGINE=InnoDB` to the sql used to create the table (This is Rails' default when using MySQL).
The types Active Record supports are `:primary_key`, `:string`, `:text`, `:integer`, `:float`, `:decimal`, `:datetime`, `:timestamp`, `:time`, `:date`, `:binary`, `:boolean`.
Please sign in to comment.
Something went wrong with that request. Please try again.