Swap local_relname and remote_relname around in RelBuilder
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Fri, 20 Dec 2013 21:47:47 +0000 (21:47 +0000)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Fri, 20 Dec 2013 22:12:10 +0000 (22:12 +0000)
commitd75f8e7993a24250d69ed775830b1e366aa8d458
tree449832aad1d963b46edaf2c33cfd68dd72bb43e8
parenta00a81fd4ce4a6aa9ebafd1c4683b681b6fdd095
Swap local_relname and remote_relname around in RelBuilder

All the other remote/local names refer to things _on_ the respective
tables, except these, which referred to the name of the rel _to_ the
named table. Fixing this longstanding inconsistency makes the code
easier to understand (IMHO, at least).
lib/DBIx/Class/Schema/Loader/RelBuilder.pm
lib/DBIx/Class/Schema/Loader/RelBuilder/Compat/v0_040.pm
lib/DBIx/Class/Schema/Loader/RelBuilder/Compat/v0_05.pm