package DB::Delicious::Tag;
use base qw/DBIx::Class/;
use strict;
use warnings;

__PACKAGE__->load_components(qw/PK::Auto Core/);
__PACKAGE__->table('tag');
__PACKAGE__->add_columns(qw/id tag/);
__PACKAGE__->set_primary_key('id');

__PACKAGE__->has_many(bookmark => 'DB::Delicious::TagBookmark', 'bookmark_id');

1;
