Introducing DBIx::Class::Schema::SanityChecker
[dbsrgits/DBIx-Class.git] / examples / Schema / MyApp / Schema.pm
1 package MyApp::Schema;
2
3 use warnings;
4 use strict;
5
6 use base qw/DBIx::Class::Schema/;
7 __PACKAGE__->load_namespaces;
8
9 # no point taxing 5.8, but otherwise leave the default: a user may
10 # be interested in exploring and seeing what broke
11 __PACKAGE__->schema_sanity_checker('')
12   if DBIx::Class::_ENV_::OLD_MRO;
13
14 1;