From 3338a1dde8fd12332dd9e584b922c48321cb9b8d Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 14 Jun 2016 16:44:41 +0000 Subject: [PATCH] Bug 14570 - Update Schema --- Koha/Schema/Result/Borrower.pm | 40 ++---------------------------- Koha/Schema/Result/BorrowerModification.pm | 40 ++---------------------------- Koha/Schema/Result/Deletedborrower.pm | 40 ++---------------------------- 3 files changed, 6 insertions(+), 114 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index f1573c5..e57dfad 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -254,37 +254,11 @@ __PACKAGE__->table("borrowers"); is_nullable: 1 size: 255 -=head2 contactname - - data_type: 'mediumtext' - is_nullable: 1 - -=head2 contactfirstname - - data_type: 'text' - is_nullable: 1 - -=head2 contacttitle - - data_type: 'text' - is_nullable: 1 - -=head2 guarantorid - - data_type: 'integer' - is_nullable: 1 - =head2 borrowernotes data_type: 'mediumtext' is_nullable: 1 -=head2 relationship - - data_type: 'varchar' - is_nullable: 1 - size: 100 - =head2 sex data_type: 'varchar' @@ -522,18 +496,8 @@ __PACKAGE__->add_columns( { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "debarredcomment", { data_type => "varchar", is_nullable => 1, size => 255 }, - "contactname", - { data_type => "mediumtext", is_nullable => 1 }, - "contactfirstname", - { data_type => "text", is_nullable => 1 }, - "contacttitle", - { data_type => "text", is_nullable => 1 }, - "guarantorid", - { data_type => "integer", is_nullable => 1 }, "borrowernotes", { data_type => "mediumtext", is_nullable => 1 }, - "relationship", - { data_type => "varchar", is_nullable => 1, size => 100 }, "sex", { data_type => "varchar", is_nullable => 1, size => 1 }, "password", @@ -1234,8 +1198,8 @@ Composing rels: L -> ordernumber __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-05-03 13:19:34 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1u8SP/oLjNEtEIOYd14t9w +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-06-14 16:43:03 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jrQDFEPJ21Zd7340ZiDC2A __PACKAGE__->belongs_to( "guarantor", diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index 0e55830..07c4672 100644 --- a/Koha/Schema/Result/BorrowerModification.pm +++ b/Koha/Schema/Result/BorrowerModification.pm @@ -264,37 +264,11 @@ __PACKAGE__->table("borrower_modifications"); is_nullable: 1 size: 255 -=head2 contactname - - data_type: 'mediumtext' - is_nullable: 1 - -=head2 contactfirstname - - data_type: 'text' - is_nullable: 1 - -=head2 contacttitle - - data_type: 'text' - is_nullable: 1 - -=head2 guarantorid - - data_type: 'integer' - is_nullable: 1 - =head2 borrowernotes data_type: 'mediumtext' is_nullable: 1 -=head2 relationship - - data_type: 'varchar' - is_nullable: 1 - size: 100 - =head2 sex data_type: 'varchar' @@ -516,18 +490,8 @@ __PACKAGE__->add_columns( { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "debarredcomment", { data_type => "varchar", is_nullable => 1, size => 255 }, - "contactname", - { data_type => "mediumtext", is_nullable => 1 }, - "contactfirstname", - { data_type => "text", is_nullable => 1 }, - "contacttitle", - { data_type => "text", is_nullable => 1 }, - "guarantorid", - { data_type => "integer", is_nullable => 1 }, "borrowernotes", { data_type => "mediumtext", is_nullable => 1 }, - "relationship", - { data_type => "varchar", is_nullable => 1, size => 100 }, "sex", { data_type => "varchar", is_nullable => 1, size => 1 }, "password", @@ -583,8 +547,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-10-06 10:38:42 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vZ9XjkjQv0q6l2kW3KMsLg +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-06-14 16:43:03 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:s2v50tW1m7nPryRUvN7VdA # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 0207fba..a930fae 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -252,37 +252,11 @@ __PACKAGE__->table("deletedborrowers"); is_nullable: 1 size: 255 -=head2 contactname - - data_type: 'mediumtext' - is_nullable: 1 - -=head2 contactfirstname - - data_type: 'text' - is_nullable: 1 - -=head2 contacttitle - - data_type: 'text' - is_nullable: 1 - -=head2 guarantorid - - data_type: 'integer' - is_nullable: 1 - =head2 borrowernotes data_type: 'mediumtext' is_nullable: 1 -=head2 relationship - - data_type: 'varchar' - is_nullable: 1 - size: 100 - =head2 sex data_type: 'varchar' @@ -507,18 +481,8 @@ __PACKAGE__->add_columns( { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "debarredcomment", { data_type => "varchar", is_nullable => 1, size => 255 }, - "contactname", - { data_type => "mediumtext", is_nullable => 1 }, - "contactfirstname", - { data_type => "text", is_nullable => 1 }, - "contacttitle", - { data_type => "text", is_nullable => 1 }, - "guarantorid", - { data_type => "integer", is_nullable => 1 }, "borrowernotes", { data_type => "mediumtext", is_nullable => 1 }, - "relationship", - { data_type => "varchar", is_nullable => 1, size => 100 }, "sex", { data_type => "varchar", is_nullable => 1, size => 1 }, "password", @@ -564,8 +528,8 @@ __PACKAGE__->add_columns( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-04 19:32:39 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UqTaMlpDnOWlhfQyF5EjHA +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-06-14 16:43:03 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:V7lDeMUNndEURAZh8DCoVA # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.1.4