package Lifestream::Schema::Result::Feed; use base qw/DBIx::Class/; __PACKAGE__->load_components(qw/Core/); __PACKAGE__->table('feed'); __PACKAGE__->add_columns( feedid => { data_type => "integer", is_nullable => 0, is_auto_increment => 1 }, name => { data_type => "text", is_nullable => 0, }, profile_url => { data_type => "varchar", is_nullable => 0, }, feed_url => { data_type => "varchar", is_nullable => 0, }, favico_url => { data_type => "varchar", is_nullable => 1, } ); __PACKAGE__->set_primary_key('feedid'); __PACKAGE__->has_many( entries => 'Lifestream::Schema::Result::Entry', 'feedid' ); 1;