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

@@ -9,11 +9,11 @@ use warnings;
use base 'DBIx::Class::Schema';
__PACKAGE__->load_classes;
__PACKAGE__->load_namespaces;
# Created by DBIx::Class::Schema::Loader v0.07014 @ 2011-12-05 14:08:56
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BpPjKT5Pb1RYMHo+oKdZ+w
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SW2xMZ1YBA/LJSnP+ClOfA
# You can replace this text with custom content, and it will be preserved on regeneration