diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2016-01-12 01:51:54 +0000 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2016-02-01 15:41:37 +0000 |
commit | a374af8b5788506acc28b755c0cde62ee89fa9d3 (patch) | |
tree | f84e37ad0045f8674e9b50eb1a56b0ae5eb0ece2 /activerecord/lib | |
parent | 8b2c618cefef1ccd83d270cbacdd19abf4be9b2f (diff) | |
download | rails-a374af8b5788506acc28b755c0cde62ee89fa9d3.tar.gz rails-a374af8b5788506acc28b755c0cde62ee89fa9d3.tar.bz2 rails-a374af8b5788506acc28b755c0cde62ee89fa9d3.zip |
Shorten ActiveRecord::InternalMetadata.table_name to ar_internal_metadata
to support Oracle database which only supports 30 byte identifier length
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/model_schema.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/model_schema.rb b/activerecord/lib/active_record/model_schema.rb index 722d7b5fce..ee52c3ae02 100644 --- a/activerecord/lib/active_record/model_schema.rb +++ b/activerecord/lib/active_record/model_schema.rb @@ -44,9 +44,9 @@ module ActiveRecord ## # :singleton-method: - # Accessor for the name of the internal metadata table. By default, the value is "active_record_internal_metadatas" + # Accessor for the name of the internal metadata table. By default, the value is "ar_internal_metadata" class_attribute :internal_metadata_table_name, instance_accessor: false - self.internal_metadata_table_name = "active_record_internal_metadatas" + self.internal_metadata_table_name = "ar_internal_metadata" ## # :singleton-method: |