NAME

DBIx::Class::UUIDColumns - Implicit uuid columns

SYNOPSIS

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

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

Chia-liang Kao <clkao@clkao.org>

LICENSE

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