use utf8; package Model::DB::Result::OtherThing; use base 'DBIx::Class::Core'; use strict; use warnings; __PACKAGE__->table("otherthings"); # etc. etc. some fields are defined here __PACKAGE__->add_columns( "id", { data_type => "integer", is_auto_increment => 1, is_nullable => 0, }, "othername", { data_type => "text", is_nullable => 1 },