projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Classdata test from abraxxa
[dbsrgits/DBIx-Class.git]
/
t
/
lib
/
DBICTest
/
Schema
/
Artist.pm
diff --git
a/t/lib/DBICTest/Schema/Artist.pm
b/t/lib/DBICTest/Schema/Artist.pm
index
dd0cfda
..
baf730a
100644
(file)
--- a/
t/lib/DBICTest/Schema/Artist.pm
+++ b/
t/lib/DBICTest/Schema/Artist.pm
@@
-6,4
+6,9
@@
DBICTest::Schema::Artist->table('artist');
DBICTest::Schema::Artist->add_columns(qw/artistid name/);
DBICTest::Schema::Artist->set_primary_key('artistid');
+__PACKAGE__->mk_classdata('field_name_for', {
+ artistid => 'primary key',
+ name => 'artist name',
+});
+
1;