#382 Plugin to name foreign keys.

4.0.3
closed-wont-fix
nobody
5
2014-03-01
2014-02-10
peter
No

Would it be possible to add option to name foreign keys through plugin?
Perhaps in similar way dumpFilename() is done.

It might be related to item in todo.txt
- Define foreign keys name - http://forum.zdrojak.root.cz/index.php?topic=185.msg1255#msg1255 , although I wasn't able to recover content of the url.

Thanks!

Discussion

  • Jakub Vrána
    Jakub Vrána
    2014-03-01

    • status: open --> closed-wont-fix
     
  • Jakub Vrána
    Jakub Vrána
    2014-03-01

    The biggest problem with editing the foreign key name is that MySQL doesn't allow keeping the same name in one ALTER TABLE and executing two ALTER TABLEs is slow.