diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/doc/guides/migrations/writing_a_migration.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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`. |