1 package # hide from PAUSE
2 DBICTest::Schema::ComputedColumn;
4 # for sybase and mssql computed column tests
9 use base qw/DBICTest::BaseResult/;
11 __PACKAGE__->table('computed_column_test');
13 __PACKAGE__->add_columns(
15 data_type => 'integer',
16 is_auto_increment => 1,
18 'a_computed_column' => {
21 default_value => \'getdate()',
24 data_type => 'timestamp',
28 data_type => 'varchar',
30 default_value => 'foo',
35 __PACKAGE__->set_primary_key('id');