added cascade_copy relationship attribute
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Tag.pm
CommitLineData
11b78bd6 1package DBICTest::Schema::Tag;
a02675cd 2
3use base qw/DBIx::Class::Core/;
4
333cce60 5__PACKAGE__->load_components('PK::Auto');
6
11b78bd6 7DBICTest::Schema::Tag->table('tags');
0009fa49 8DBICTest::Schema::Tag->add_columns(
9 'tagid' => {
333cce60 10 data_type => 'integer',
0009fa49 11 is_auto_increment => 1,
12 },
13 'cd' => {
14 data_type => 'integer',
15 },
16 'tag' => {
17 data_type => 'varchar'
18 },
19);
11b78bd6 20DBICTest::Schema::Tag->set_primary_key('tagid');
a02675cd 21
221;