1 package # hide from PAUSE
2 DBICTest::Schema::ComputedColumn;
4 # for sybase and mssql computed column tests
6 use base qw/DBICTest::BaseResult/;
8 __PACKAGE__->table('computed_column_test');
10 __PACKAGE__->add_columns(
12 data_type => 'integer',
13 is_auto_increment => 1,
15 'a_computed_column' => {
18 default_value => \'getdate()',
21 data_type => 'timestamp',
25 data_type => 'varchar',
27 default_value => 'foo',
32 __PACKAGE__->set_primary_key('id');