1 package DBIx::Class::Schema::Journal::DB::ChangeSet;
3 use base 'DBIx::Class::Core';
5 __PACKAGE__->load_components(qw/InflateColumn::DateTime/);
6 __PACKAGE__->table('changeset');
8 __PACKAGE__->add_columns(
10 data_type => 'integer',
11 is_auto_increment => 1,
16 data_type => 'integer',
21 data_type => 'timestamp',
25 data_type => 'varchar',
32 my $self = shift->next::method(@_);
33 # I think we should not do the following and
34 # instead use DBIx::Class::TimeStamp. If I
35 # can think of a good way (passing a version on
36 # import?) to do it and retain backcompat I will.
39 $self->set_date(gmtime);
43 __PACKAGE__->set_primary_key('ID');