diff options
| author | Xavier Morel <xmo@odoo.com> | 2015-08-31 09:47:06 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2015-08-31 09:47:06 +0200 |
| commit | 9aa82af4bedab2e5889ea0d7a4f4f3fb0dadd0d9 (patch) | |
| tree | e24d010157840ea2a5937677b68c8fd876e45333 /addons/base_import_module/models/ir_module.py | |
| parent | 291cb7e3dd505ebee972933fbcdcb9b78da9a0da (diff) | |
[FIX] remove explicit naming of m2m indexes
Postgres has a limit of 63 characters on identifiers, because of the way
m2m index names are built the limit could relatively easily breached
leading to a truncation of the index name, and in some cases collisions
between the name of the two index.
<name> in CREATE INDEX is optional since Postgres 9.0, use this feature
instead of generating index names, should avoid any possible collision
on m2m index names.
closes #7620
fixes #2780 (master)
Diffstat (limited to 'addons/base_import_module/models/ir_module.py')
0 files changed, 0 insertions, 0 deletions
