Bug 12365: Notes for rules
[koha.git] / Koha / Schema / Result / Issuingrule.pm
index 62f35f2..2a10924 100644 (file)
@@ -70,6 +70,12 @@ __PACKAGE__->table("issuingrules");
   data_type: 'integer'
   is_nullable: 1
 
+=head2 suspension_chargeperiod
+
+  data_type: 'integer'
+  default_value: 1
+  is_nullable: 1
+
 =head2 firstremind
 
   data_type: 'integer'
@@ -158,6 +164,12 @@ __PACKAGE__->table("issuingrules");
   data_type: 'integer'
   is_nullable: 1
 
+=head2 no_auto_renewal_after_hard_limit
+
+  data_type: 'date'
+  datetime_undef_if_invalid: 1
+  is_nullable: 1
+
 =head2 reservesallowed
 
   data_type: 'smallint'
@@ -170,6 +182,11 @@ __PACKAGE__->table("issuingrules");
   default_value: 1
   is_nullable: 0
 
+=head2 holds_per_day
+
+  data_type: 'smallint'
+  is_nullable: 1
+
 =head2 branchcode
 
   data_type: 'varchar'
@@ -209,6 +226,12 @@ __PACKAGE__->table("issuingrules");
   extra: {list => ["no","yes","bib_only","item_only"]}
   is_nullable: 0
 
+=head2 note
+
+  data_type: 'varchar'
+  is_nullable: 1
+  size: 100
+
 =cut
 
 __PACKAGE__->add_columns(
@@ -228,6 +251,8 @@ __PACKAGE__->add_columns(
   { data_type => "integer", is_nullable => 1 },
   "maxsuspensiondays",
   { data_type => "integer", is_nullable => 1 },
+  "suspension_chargeperiod",
+  { data_type => "integer", default_value => 1, is_nullable => 1 },
   "firstremind",
   { data_type => "integer", is_nullable => 1 },
   "chargeperiod",
@@ -265,10 +290,14 @@ __PACKAGE__->add_columns(
   { data_type => "tinyint", default_value => 0, is_nullable => 1 },
   "no_auto_renewal_after",
   { data_type => "integer", is_nullable => 1 },
+  "no_auto_renewal_after_hard_limit",
+  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
   "reservesallowed",
   { data_type => "smallint", default_value => 0, is_nullable => 0 },
   "holds_per_record",
   { data_type => "smallint", default_value => 1, is_nullable => 0 },
+  "holds_per_day",
+  { data_type => "smallint", is_nullable => 1 },
   "branchcode",
   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
   "overduefinescap",
@@ -286,6 +315,8 @@ __PACKAGE__->add_columns(
     extra => { list => ["no", "yes", "bib_only", "item_only"] },
     is_nullable => 0,
   },
+  "note",
+  { data_type => "varchar", is_nullable => 1, size => 100 },
 );
 
 =head1 PRIMARY KEY
@@ -305,8 +336,8 @@ __PACKAGE__->add_columns(
 __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
 
 
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-11-02 10:33:37
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:t9AhZLbm4SE7mx25LAyhGA
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-24 13:17:50
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hVIiAIZ5ui3ZhLhuVxCzZg
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration