roll back accidental case change
Yuval Kogman [Wed, 30 Jul 2008 03:54:19 +0000 (03:54 +0000)]
lib/DBIx/Class/Schema/Journal/DB/ChangeLog.pm
lib/DBIx/Class/Schema/Journal/DB/ChangeSet.pm

index d3ed0ef..a18ef09 100644 (file)
@@ -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');
 
index 5b2ac7d..28903c2 100644 (file)
@@ -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;