1 package DBIx::Class::Schema::Journal::DB::ChangeSet;
3 use base 'DBIx::Class';
5 __PACKAGE__->load_components(qw/InflateColumn::DateTime Core/);
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 $self->set_date(gmtime);
37 __PACKAGE__->set_primary_key('ID');