From: Dagfinn Ilmari Mannsåker Date: Mon, 10 Apr 2017 14:18:32 +0000 (+0100) Subject: Add trailing commas in rel_name_map hashref example X-Git-Tag: 0.07047~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7fc23d1b16039f618136dde6e725b558a4853ab0;hp=f1045262a773a66c28bf49d691dd29e4249b93eb;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Add trailing commas in rel_name_map hashref example --- diff --git a/lib/DBIx/Class/Schema/Loader/Base.pm b/lib/DBIx/Class/Schema/Loader/Base.pm index a2f89d8..f7785ee 100644 --- a/lib/DBIx/Class/Schema/Loader/Base.pm +++ b/lib/DBIx/Class/Schema/Loader/Base.pm @@ -742,9 +742,9 @@ If it is a coderef, it will be passed a hashref of this form: remote_moniker => moniker of the DBIC class we are related to, remote_columns => columns in the other table in the relationship, # for type => "many_to_many" only: - link_class => name of the DBIC class for the link table - link_moniker => moniker of the DBIC class for the link table - link_rel_name => name of the relationship to the link table + link_class => name of the DBIC class for the link table, + link_moniker => moniker of the DBIC class for the link table, + link_rel_name => name of the relationship to the link table, } In addition it is passed a coderef that can be called with a hashref map.