| DBIx::Class::UUIDColumns::PP |
pacakge Artist; __PACKAGE__->load_components(qw/UUIDColumns::PP Core DB/); __PACKAGE__->uuid_columns( 'artist_id' );x
This the DBIx::Class manpage component resembles the behaviour of the Class::DBI::UUID manpage, to make some columns implicitly created as uuid.
Note that the component needs to be loaded before Core.
DBIx::Class::UUIDColumns by Chia-liang Kao <clkao@clkao.org> PP extension, and 3 lines changed to use Data::Uniqid by Simon Elliott <cpan@browsing.co.uk>
You may distribute this code under the same terms as Perl itself.
| DBIx::Class::UUIDColumns::PP |