<div dir="ltr"><div>"<span class="gmail_default" style="font-size:small">Aux" is not a special prefix in DBICL -- did some of your table names change?</span></div><div><span class="gmail_default" style="font-size:small"></span></div><div class="gmail_default" style="font-size:small">You can override how some of the names work with a configuration file -- see all the options documented in DBIx::Class::Schema::Loader;:Base. I suspect you can do what you need with some entries in 'moniker_map'. Perhaps you had a configuration file before but it was removed after the last regeneration was done?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 8, 2020 at 5:23 AM Александр Поволоцкий <<a href="mailto:tarkhil@over.ru">tarkhil@over.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello<br>
<br>
I'm developing a project of about 36000 lines of perl code for now, and <br>
some time ago I've found that dbicdump begins to process monikers' names <br>
differently.<br>
<br>
Sample diff of one of generated modules<br>
<br>
Type: belongs_to<br>
<br>
-Related object: L<Billing::Schema::Result::ClientState><br>
+Related object: L<Billing::Schema::Result::AuxClientState><br>
<br>
=cut<br>
<br>
__PACKAGE__->belongs_to(<br>
"state",<br>
- "Billing::Schema::Result::ClientState",<br>
+ "Billing::Schema::Result::AuxClientState",<br>
{ id => "state" },<br>
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO <br>
ACTION" },<br>
);<br>
<br>
To avoid checking all my code for changed names, I have only two <br>
options: manually merge changes into modules or restore original naming <br>
for dbicdump.<br>
<br>
However, I could not find the right combination of keys, tried v5, v6, <br>
v7, v8 naming, tried to set namespaces to 0 and 1, but nothing produces <br>
the desired result.<br>
<br>
Maybe someone knows the magic?<br>
<br>
---<br>
<br>
Alex<br>
<br>
<br>
-- <br>
Это сообщение проверено на вирусы антивирусом Avast.<br>
<a href="https://www.avast.com/antivirus" rel="noreferrer" target="_blank">https://www.avast.com/antivirus</a><br>
<br>
<br>
_______________________________________________<br>
List: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class</a><br>
IRC: <a href="http://irc.perl.org#dbix-class" rel="noreferrer" target="_blank">irc.perl.org#dbix-class</a><br>
SVN: <a href="http://dev.catalyst.perl.org/repos/bast/DBIx-Class/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/repos/bast/DBIx-Class/</a><br>
Searchable Archive: <a href="http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk" rel="noreferrer" target="_blank">http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk</a></blockquote></div>