Bug 16276 - Update schema
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 13 Sep 2016 17:36:14 +0000 (17:36 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 13 Sep 2016 17:36:14 +0000 (17:36 +0000)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Schema/Result/Borrower.pm
Koha/Schema/Result/Deletedborrower.pm

index ecf39e9..8512753 100644 (file)
@@ -421,6 +421,12 @@ __PACKAGE__->table("borrowers");
   default_value: current_timestamp
   is_nullable: 0
 
+=head2 lastseen
+
+  data_type: 'datetime'
+  datetime_undef_if_invalid: 1
+  is_nullable: 1
+
 =cut
 
 __PACKAGE__->add_columns(
@@ -604,6 +610,12 @@ __PACKAGE__->add_columns(
     default_value => \"current_timestamp",
     is_nullable => 0,
   },
+  "lastseen",
+  {
+    data_type => "datetime",
+    datetime_undef_if_invalid => 1,
+    is_nullable => 1,
+  },
 );
 
 =head1 PRIMARY KEY
@@ -1232,8 +1244,8 @@ Composing rels: L</aqorder_users> -> ordernumber
 __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
 
 
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-07-08 13:37:33
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GiEcKBFRhzHwXPekj6fSPg
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-09-13 17:32:29
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:23Yg0CXG1z8f5Bx92JCVoQ
 
 __PACKAGE__->belongs_to(
     "guarantor",
index 4223d5b..937a4a4 100644 (file)
@@ -418,6 +418,12 @@ __PACKAGE__->table("deletedborrowers");
   default_value: current_timestamp
   is_nullable: 0
 
+=head2 lastseen
+
+  data_type: 'datetime'
+  datetime_undef_if_invalid: 1
+  is_nullable: 1
+
 =cut
 
 __PACKAGE__->add_columns(
@@ -589,11 +595,17 @@ __PACKAGE__->add_columns(
     default_value => \"current_timestamp",
     is_nullable => 0,
   },
+  "lastseen",
+  {
+    data_type => "datetime",
+    datetime_undef_if_invalid => 1,
+    is_nullable => 1,
+  },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-07-08 13:37:33
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Cunir7NU2+WyAmwi3U7mvA
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-09-13 17:32:29
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pcdyzQacTbFDJ9R1k0E8mA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration