NAME

DBIx::Class::UUIDColumns - Implicit uuid columns

SYNOPSIS

pacakge Artist;
__PACKAGE__->load_components(qw/UUIDColumns::PP Core DB/);
__PACKAGE__->uuid_columns( 'artist_id' );x

DESCRIPTION

This DBIx::Class component resembles the behaviour of Class::DBI::UUID, to make some columns implicitly created as uuid.

Note that the component needs to be loaded before Core.

METHODS

uuid_columns

AUTHORS

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>

LICENSE

You may distribute this code under the same terms as Perl itself.