diff options
author | Frederick Cheung <frederick.cheung@gmail.com> | 2008-09-12 12:41:57 +0100 |
---|---|---|
committer | Frederick Cheung <frederick.cheung@gmail.com> | 2008-09-12 12:41:57 +0100 |
commit | 63b615cbc600925cf7c176dee128814b766a5b98 (patch) | |
tree | a69092a29c9f8496d8130cf95e8ff3ba146e64e6 /railties/doc | |
parent | 99acfb5b02f7984ff50e100d95ada31303033f74 (diff) | |
download | rails-63b615cbc600925cf7c176dee128814b766a5b98.tar.gz rails-63b615cbc600925cf7c176dee128814b766a5b98.tar.bz2 rails-63b615cbc600925cf7c176dee128814b766a5b98.zip |
mention that innoDB is 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..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`. |