diff options
author | Frederick Cheung <frederick.cheung@gmail.com> | 2008-09-12 12:39:15 +0100 |
---|---|---|
committer | Frederick Cheung <frederick.cheung@gmail.com> | 2008-09-12 12:40:25 +0100 |
commit | 194e972f7c7a9746c6edf6f0c99a4d55d8c35574 (patch) | |
tree | 533f6b02410ede40847de92ed639a944b191c0d4 /railties/doc | |
parent | 6160828b041c93a0adde196df0aed42fd070f9b7 (diff) | |
download | rails-194e972f7c7a9746c6edf6f0c99a4d55d8c35574.tar.gz rails-194e972f7c7a9746c6edf6f0c99a4d55d8c35574.tar.bz2 rails-194e972f7c7a9746c6edf6f0c99a4d55d8c35574.zip |
mention that InnoDB is actually the default
Diffstat (limited to 'railties/doc')
-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`. |