From: Yuval Kogman Date: Wed, 30 Jul 2008 03:54:19 +0000 (+0000) Subject: roll back accidental case change X-Git-Tag: v0.900201~84 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0192d26722d2278e75989638f4044ea08601a815;p=dbsrgits%2FDBIx-Class-Journal.git roll back accidental case change --- diff --git a/lib/DBIx/Class/Schema/Journal/DB/ChangeLog.pm b/lib/DBIx/Class/Schema/Journal/DB/ChangeLog.pm index d3ed0ef..a18ef09 100644 --- a/lib/DBIx/Class/Schema/Journal/DB/ChangeLog.pm +++ b/lib/DBIx/Class/Schema/Journal/DB/ChangeLog.pm @@ -7,7 +7,7 @@ __PACKAGE__->load_components(qw/Ordered Core/); __PACKAGE__->table('change_log'); __PACKAGE__->add_columns( - id => { + ID => { data_type => 'integer', is_auto_increment => 1, is_primary_key => 1, @@ -25,7 +25,7 @@ __PACKAGE__->add_columns( ); -__PACKAGE__->set_primary_key('id'); +__PACKAGE__->set_primary_key('ID'); __PACKAGE__->add_unique_constraint('setorder', [ qw/changeset_id order_in/ ]); __PACKAGE__->belongs_to('changeset', 'DBIx::Class::Schema::Journal::DB::ChangeSet', 'changeset_id'); diff --git a/lib/DBIx/Class/Schema/Journal/DB/ChangeSet.pm b/lib/DBIx/Class/Schema/Journal/DB/ChangeSet.pm index 5b2ac7d..28903c2 100644 --- a/lib/DBIx/Class/Schema/Journal/DB/ChangeSet.pm +++ b/lib/DBIx/Class/Schema/Journal/DB/ChangeSet.pm @@ -6,7 +6,7 @@ __PACKAGE__->load_components(qw/InflateColumn::DateTime Core/); __PACKAGE__->table('changeset'); __PACKAGE__->add_columns( - id => { + ID => { data_type => 'integer', is_auto_increment => 1, is_primary_key => 1, @@ -34,6 +34,6 @@ sub new { return $self; } -__PACKAGE__->set_primary_key('id'); +__PACKAGE__->set_primary_key('ID'); 1;