begin work on column aliasing feature
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / BadNames1.pm
1 package # hide from PAUSE
2     DBICTest::Schema::BadNames1;
3
4 use base qw/DBICTest::BaseResult/;
5
6 __PACKAGE__->table('bad_names_1');
7
8 __PACKAGE__->add_columns(
9   id => {
10     data_type => 'integer',
11     is_auto_increment => 1,
12   },
13   'good_name' => {
14     data_type => 'int',
15     is_nullable => 1,
16     sql_alias => 'stupid_name',
17   },
18 );
19 __PACKAGE__->set_primary_key('id');
20 1;