# $Id: /mirror/trunk/DBIx-Class-Validation/t/lib/DBIC/Test/Schema/Test.pm 3313 2007-05-13T00:54:41.574770Z claco $ package DBIC::Test::Schema::Test; use strict; use warnings; BEGIN { use base qw/DBIx::Class::Core/; }; __PACKAGE__->load_components(qw/Validation InflateColumn::DateTime PK::Auto Core/); __PACKAGE__->table('test'); __PACKAGE__->add_columns( 'id' => { data_type => 'int', is_nullable => 0, is_auto_increment => 1, }, 'name' => { data_type => 'varchar', size => 100, is_nullable => 1, }, 'email' => { data_type => 'varchar', size => 100, is_nullable => 1, }, 'createts' => { data_type => 'timestamp', size => 14, is_nullable => 1, }, ); __PACKAGE__->set_primary_key('id'); 1;