Test for already fixed RT#59219
[dbsrgits/DBIx-Class-Historic.git] / t / lib / DBICTest / Schema / CustomSql.pm
CommitLineData
b8b55c8e 1package # hide from PAUSE
2 DBICTest::Schema::CustomSql;
3
4use base qw/DBICTest::Schema::Artist/;
5
6__PACKAGE__->table('dummy');
7
8__PACKAGE__->result_source_instance->name(\<<SQL);
9 ( SELECT a.*, cd.cdid AS cdid, cd.title AS title, cd.year AS year
10 FROM artist a
11 JOIN cd ON cd.artist = a.artistid
12 WHERE cd.year = ?)
13SQL
14
39be4120 15sub sqlt_deploy_hook { $_[1]->schema->drop_table($_[1]) }
16
b8b55c8e 171;