aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-10-27 21:07:03 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-10-27 21:07:03 -0200
commit6fb056e3b63adee0ef9f5ae00ba50736abf455e1 (patch)
tree93ea5d4613d4aa07bc7f31b89bd7dc78ba6a5a3b /guides/source
parent745d8a8e80d03e3e30d0d96336b0a052c1dd0219 (diff)
parent26638f0ac939edb00d12b55442bbdb138d5d9449 (diff)
downloadrails-6fb056e3b63adee0ef9f5ae00ba50736abf455e1.tar.gz
rails-6fb056e3b63adee0ef9f5ae00ba50736abf455e1.tar.bz2
rails-6fb056e3b63adee0ef9f5ae00ba50736abf455e1.zip
Merge pull request #12578 from jeradphelps/configurable_schema_migrations_table_name
Configurable name for schema_migrations table Conflicts: activerecord/CHANGELOG.md
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/configuring.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index b14f8b6e7f..8ac34c9716 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -261,6 +261,8 @@ config.middleware.delete "Rack::MethodOverride"
* `config.active_record.table_name_suffix` lets you set a global string to be appended to table names. If you set this to `_northwest`, then the Customer class will look for `customers_northwest` as its table. The default is an empty string.
+* `config.active_record.schema_migrations_table_name` lets you set a string to be used as the name of the schema migrations table.
+
* `config.active_record.pluralize_table_names` specifies whether Rails will look for singular or plural table names in the database. If set to true (the default), then the Customer class will use the `customers` table. If set to false, then the Customer class will use the `customer` table.
* `config.active_record.default_timezone` determines whether to use `Time.local` (if set to `:local`) or `Time.utc` (if set to `:utc`) when pulling dates and times from the database. The default is `:utc` for Rails, although Active Record defaults to `:local` when used outside of Rails.