Add strict/warnings test, adjust all offenders (wow, that was a lot)
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / CustomSql.pm
CommitLineData
8273e845 1package # hide from PAUSE
b8b55c8e 2 DBICTest::Schema::CustomSql;
3
4a233f30 4use warnings;
5use strict;
6
b8b55c8e 7use base qw/DBICTest::Schema::Artist/;
8
9__PACKAGE__->table('dummy');
10
11__PACKAGE__->result_source_instance->name(\<<SQL);
8273e845 12 ( SELECT a.*, cd.cdid AS cdid, cd.title AS title, cd.year AS year
b8b55c8e 13 FROM artist a
14 JOIN cd ON cd.artist = a.artistid
15 WHERE cd.year = ?)
16SQL
17
39be4120 18sub sqlt_deploy_hook { $_[1]->schema->drop_table($_[1]) }
19
b8b55c8e 201;