Bug 8798: (follow-up) update the DBIC schema class files
[koha.git] / Koha / Schema / Result / Aqbasketgroup.pm
index d591ac3..6b3348e 100644 (file)
@@ -1,17 +1,21 @@
+use utf8;
 package Koha::Schema::Result::Aqbasketgroup;
 
 # Created by DBIx::Class::Schema::Loader
 # DO NOT MODIFY THE FIRST PART OF THIS FILE
 
+=head1 NAME
+
+Koha::Schema::Result::Aqbasketgroup
+
+=cut
+
 use strict;
 use warnings;
 
 use base 'DBIx::Class::Core';
 
-
-=head1 NAME
-
-Koha::Schema::Result::Aqbasketgroup
+=head1 TABLE: C<aqbasketgroups>
 
 =cut
 
@@ -85,6 +89,17 @@ __PACKAGE__->add_columns(
   "billingplace",
   { data_type => "varchar", is_nullable => 1, size => 10 },
 );
+
+=head1 PRIMARY KEY
+
+=over 4
+
+=item * L</id>
+
+=back
+
+=cut
+
 __PACKAGE__->set_primary_key("id");
 
 =head1 RELATIONS
@@ -116,12 +131,12 @@ __PACKAGE__->belongs_to(
   "booksellerid",
   "Koha::Schema::Result::Aqbookseller",
   { id => "booksellerid" },
-  { on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07000 @ 2013-06-18 13:13:57
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fm4sF0IGJYdSejZIB4uoBQ
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tT40YZgK7gOfNG3DVFTHiA
 
 
 # You can replace this text with custom content, and it will be preserved on regeneration