package DBICTest::Schema::_hardcode;
use base qw/ DBIx::Class::Schema::Loader /;
__PACKAGE__->naming('current');
+ __PACKAGE__->use_namespaces(0);
__PACKAGE__->connection($make_dbictest_db::dsn);
__PACKAGE__;
},
use base qw/ DBIx::Class::Schema::Loader /;
__PACKAGE__->loader_options();
__PACKAGE__->naming('current');
+ __PACKAGE__->use_namespaces(0);
__PACKAGE__->connect($make_dbictest_db::dsn);
},
'make_schema_at' => sub {
use DBIx::Class::Schema::Loader qw/ make_schema_at /;
make_schema_at(
'DBICTest::Schema::_make_schema_at',
- { really_erase_my_files => 1, naming => 'current' },
+ {
+ really_erase_my_files => 1,
+ naming => 'current',
+ use_namespaces => 0
+ },
[ $make_dbictest_db::dsn ],
);
DBICTest::Schema::_make_schema_at->clone;
package DBICTest::Schema::_embedded_options;
use base qw/ DBIx::Class::Schema::Loader /;
__PACKAGE__->naming('current');
+ __PACKAGE__->use_namespaces(0);
__PACKAGE__->connect(
$make_dbictest_db::dsn,
{ loader_options => { really_erase_my_files => 1 } }
package DBICTest::Schema::_embedded_options_in_attrs;
use base qw/ DBIx::Class::Schema::Loader /;
__PACKAGE__->naming('current');
+ __PACKAGE__->use_namespaces(0);
__PACKAGE__->connect(
$make_dbictest_db::dsn,
undef,
$make_dbictest_db::dsn,
{ loader_options => {
really_erase_my_files => 1,
- naming => 'current'
+ naming => 'current',
+ use_namespaces => 0,
} },
],
);
use base qw/ DBIx::Class::Schema::Loader /;
__PACKAGE__->loader_options(
really_erase_my_files => 1,
- naming => 'current'
+ naming => 'current',
+ use_namespaces => 0,
);
__PACKAGE__->connect(
$make_dbictest_db::dsn,
use DBIx::Class::Schema::Loader;
DBIx::Class::Schema::Loader::make_schema_at(
'DBICTest::Schema::_make_schema_at_explicit',
- { really_erase_my_files => 1, naming => 'current' },
+ {
+ really_erase_my_files => 1,
+ naming => 'current',
+ use_namespaces => 0,
+ },
[ $make_dbictest_db::dsn ],
);
DBICTest::Schema::_make_schema_at_explicit->clone;
use DBIx::Class::Schema::Loader;
DBIx::Class::Schema::Loader::make_schema_at(
'DBICTest::Schema::_no_skip_load_external',
- { really_erase_my_files => 1, naming => 'current' },
+ {
+ really_erase_my_files => 1,
+ naming => 'current',
+ use_namespaces => 0,
+ },
[ $make_dbictest_db::dsn ],
);
DBICTest::Schema::_no_skip_load_external->clone;
use DBIx::Class::Schema::Loader;
DBIx::Class::Schema::Loader::make_schema_at(
'DBICTest::Schema::_skip_load_external',
- { really_erase_my_files => 1, naming => 'current', skip_load_external => 1 },
+ {
+ really_erase_my_files => 1,
+ naming => 'current',
+ use_namespaces => 0,
+ skip_load_external => 1,
+ },
[ $make_dbictest_db::dsn ],
);
DBICTest::Schema::_skip_load_external->clone;
package DBICTest::Schema::_use_moose;
use base qw/ DBIx::Class::Schema::Loader /;
__PACKAGE__->naming('current');
+ __PACKAGE__->use_namespaces(0);
__PACKAGE__->connect(
$make_dbictest_db::dsn,
{ loader_options => { use_moose => 1 } }