From aa4466aa1321240dec3ac3a7e29e0b6a7267f727 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 11 Dec 2013 16:55:31 +0000 Subject: [PATCH] Bug 11384: (follow-up) update DBIC schema classes This patch updates the DBIC schema class for CollectionTracking to reflect the new name of its primary key column. To test: The CollectionTracking class is not currently used, but if you *really* want to test this, take a look at the following branch: http://git.librarypolice.com/?p=koha-galen.git;a=shortlog;h=refs/heads/pg Then, set up a PostgreSQL database, update koha-conf.xml to point to it, then run pg/deploy and verify that the collections_tracking table is created in the Pg database. Signed-off-by: Galen Charlton Signed-off-by: Chris Cormack Signed-off-by: Jonathan Druart --- Koha/Schema/Result/CollectionTracking.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Koha/Schema/Result/CollectionTracking.pm b/Koha/Schema/Result/CollectionTracking.pm index 907ff68..424fa0f 100644 --- a/Koha/Schema/Result/CollectionTracking.pm +++ b/Koha/Schema/Result/CollectionTracking.pm @@ -23,7 +23,7 @@ __PACKAGE__->table("collections_tracking"); =head1 ACCESSORS -=head2 ctid +=head2 collections_tracking_id data_type: 'integer' is_auto_increment: 1 @@ -48,7 +48,7 @@ items.itemnumber =cut __PACKAGE__->add_columns( - "ctid", + "collections_tracking_id", { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, "colid", { data_type => "integer", default_value => 0, is_nullable => 0 }, @@ -60,17 +60,17 @@ __PACKAGE__->add_columns( =over 4 -=item * L +=item * L =back =cut -__PACKAGE__->set_primary_key("ctid"); +__PACKAGE__->set_primary_key("collections_tracking_id"); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:izGaZGUJvwrRTQOCotopUg +# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-12-11 16:55:09 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CAKCBAZ44Q6yAS2IKOMNlA # You can replace this text with custom content, and it will be preserved on regeneration -- 1.7.10.4