package Slim::Schema::Comment;

# $Id: Comment.pm 7620 2006-05-23 22:27:26Z dsully $

use strict;
use base 'Slim::Schema::DBI';

{
	my $class = __PACKAGE__;

	$class->table('comments');

	$class->add_columns(qw(id track value));

	$class->set_primary_key('id');

	$class->belongs_to(track => 'Slim::Schema::Track');

	if ($] > 5.007) {
		$class->utf8_columns(qw/value/);
	}
}

1;

__END__


# Local Variables:
# tab-width:4
# indent-tabs-mode:t
# End:
