From 194e972f7c7a9746c6edf6f0c99a4d55d8c35574 Mon Sep 17 00:00:00 2001 From: Frederick Cheung Date: Fri, 12 Sep 2008 12:39:15 +0100 Subject: mention that InnoDB is actually the default --- railties/doc/guides/migrations/writing_a_migration.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/doc/guides') diff --git a/railties/doc/guides/migrations/writing_a_migration.txt b/railties/doc/guides/migrations/writing_a_migration.txt index 09b0c53df8..9260b67e10 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 actually the 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