From 63b615cbc600925cf7c176dee128814b766a5b98 Mon Sep 17 00:00:00 2001 From: Frederick Cheung Date: Fri, 12 Sep 2008 12:41:57 +0100 Subject: mention that innoDB is the default --- railties/doc/guides/migrations/writing_a_migration.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/doc') diff --git a/railties/doc/guides/migrations/writing_a_migration.txt b/railties/doc/guides/migrations/writing_a_migration.txt index 09b0c53df8..c4b386ef79 100644 --- a/railties/doc/guides/migrations/writing_a_migration.txt +++ b/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`. -- cgit v1.2.3