diff options
author | Alberto Almagro <alberto.almagro@rakuten.com> | 2017-11-18 12:22:28 +0100 |
---|---|---|
committer | Alberto Almagro <alberto.almagro@rakuten.com> | 2017-12-11 10:46:25 +0100 |
commit | 95b6a198ef4a94dc060faa70284ffdfae51006f6 (patch) | |
tree | 9f0230f8bae3216699fd524f21a68c1c7e79ecb6 | |
parent | 7ac7f4a18895da2aba093f603c968a630c5fe4ba (diff) | |
download | rails-95b6a198ef4a94dc060faa70284ffdfae51006f6.tar.gz rails-95b6a198ef4a94dc060faa70284ffdfae51006f6.tar.bz2 rails-95b6a198ef4a94dc060faa70284ffdfae51006f6.zip |
Remove default ENGINE documentation for MySQL and MariaDB
Removes default ENGINE documentation hint for MySQL and MariaDB as we
aren't taking measures to set the default ENGINE anymore.
-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 |