diff options
author | Matthew Draper <matthew@trebex.net> | 2017-12-20 10:47:36 +1030 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-20 10:47:36 +1030 |
commit | 08b9d8b3e05ef07a8f16245446cb62ca4f265dbb (patch) | |
tree | 7c574be59de9ccea054eafce5e05ddf7b57473e9 /guides/source | |
parent | c6cd9a59f200863ccfe8ad1d9c5a8876c39b9c5c (diff) | |
parent | 95b6a198ef4a94dc060faa70284ffdfae51006f6 (diff) | |
download | rails-08b9d8b3e05ef07a8f16245446cb62ca4f265dbb.tar.gz rails-08b9d8b3e05ef07a8f16245446cb62ca4f265dbb.tar.bz2 rails-08b9d8b3e05ef07a8f16245446cb62ca4f265dbb.zip |
Merge pull request #31177 from albertoalmagro/remove-default-mysql-engine-from-ar-5-2
Remove default ENGINE=InnoDB for Mysql2 adapter
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_record_migrations.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/guides/source/active_record_migrations.md b/guides/source/active_record_migrations.md index f8f36bf600..ab3af438f5 100644 --- a/guides/source/active_record_migrations.md +++ b/guides/source/active_record_migrations.md @@ -353,8 +353,7 @@ create_table :products, options: "ENGINE=BLACKHOLE" do |t| end ``` -will append `ENGINE=BLACKHOLE` to the SQL statement used to create the table -(when using MySQL or MariaDB, the default is `ENGINE=InnoDB`). +will append `ENGINE=BLACKHOLE` to the SQL statement used to create the table. Also you can pass the `:comment` option with any description for the table that will be stored in database itself and can be viewed with database administration |