Bug 17672: DBIC Schema changes
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 18 Feb 2018 19:44:51 +0000 (16:44 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 18 Feb 2018 19:48:44 +0000 (16:48 -0300)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Schema/Result/Deleteditem.pm
Koha/Schema/Result/Item.pm

index a2cc3db..2eff4e9 100644 (file)
@@ -111,6 +111,12 @@ __PACKAGE__->table("deleteditems");
   default_value: 0
   is_nullable: 0
 
+=head2 damaged_on
+
+  data_type: 'datetime'
+  datetime_undef_if_invalid: 1
+  is_nullable: 1
+
 =head2 itemlost
 
   data_type: 'tinyint'
@@ -309,6 +315,12 @@ __PACKAGE__->add_columns(
   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
   "damaged",
   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
+  "damaged_on",
+  {
+    data_type => "datetime",
+    datetime_undef_if_invalid => 1,
+    is_nullable => 1,
+  },
   "itemlost",
   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
   "itemlost_on",
@@ -395,8 +407,8 @@ __PACKAGE__->add_columns(
 __PACKAGE__->set_primary_key("itemnumber");
 
 
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RaHchgIC64wq0q4MXqEITA
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-18 16:41:11
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xb11fPjp5PyXU7yfFWHycw
 
 
 # You can replace this text with custom content, and it will be preserved on regeneration
index 4161770..cee2552 100644 (file)
@@ -114,6 +114,12 @@ __PACKAGE__->table("items");
   default_value: 0
   is_nullable: 0
 
+=head2 damaged_on
+
+  data_type: 'datetime'
+  datetime_undef_if_invalid: 1
+  is_nullable: 1
+
 =head2 itemlost
 
   data_type: 'tinyint'
@@ -323,6 +329,12 @@ __PACKAGE__->add_columns(
   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
   "damaged",
   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
+  "damaged_on",
+  {
+    data_type => "datetime",
+    datetime_undef_if_invalid => 1,
+    is_nullable => 1,
+  },
   "itemlost",
   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
   "itemlost_on",
@@ -675,8 +687,8 @@ __PACKAGE__->might_have(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:50sZaqt8I9HG2reLqzSSVQ
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-18 16:41:12
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CrNXvpDUvvcuPZK2Gfzs/Q
 
 __PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );