diff options
author | Yves Senn <yves.senn@gmail.com> | 2012-12-28 01:27:26 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-02-20 17:50:10 +0100 |
commit | cca43528d40589556401408eb3c315cde199347c (patch) | |
tree | cd2794639db357bbb140e2263eb233f88cb4ff47 /actionmailer | |
parent | 7bae72c69f2352fd7e02f2d08adf873e4354aea0 (diff) | |
download | rails-cca43528d40589556401408eb3c315cde199347c.tar.gz rails-cca43528d40589556401408eb3c315cde199347c.tar.bz2 rails-cca43528d40589556401408eb3c315cde199347c.zip |
reserve index name chars for internal rails operations
Some adapter (SQLite3) need to perform renaming operations to support
the rails DDL. These rename prefixes operate with prefixes. When an
index name already uses up the full space provieded by
`index_name_length` these internal operations will fail. This patch
introduces `allowed_index_name_length` which respects the amount of
characters used for internal operations. It will always be <=
`index_name_length` and every adapter can define how many characters
need to be reserved.
Diffstat (limited to 'actionmailer')
0 files changed, 0 insertions, 0 deletions