DBIx::Class: migrate to use_namespaces

This gives us a place to put helper functions that act on entire
tables, not just individual records.

This should be a backwards compatible change, except in places we're
manually using result class names.
This commit is contained in:
Graham Christensen
2021-08-26 12:03:00 -04:00
parent da55838703
commit 397d13a300
38 changed files with 292 additions and 289 deletions

View File

@ -5,6 +5,7 @@ die "$0: dbi connection string required \n" if scalar @ARGV != 1;
make_schema_at("Hydra::Schema", {
naming => { ALL => "v5" },
relationships => 1,
use_namespaces => 1,
moniker_map => {
"aggregateconstituents" => "AggregateConstituents",
"buildinputs" => "BuildInputs",