From b2c387dce04ef4896217fa2f77d1bc8de54fdcd0 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Mon, 1 Oct 2018 15:06:27 +0000 Subject: [PATCH] Bug 17047: [DO NOT PUSH] provides schema files Signed-off-by: Michal Denar Signed-off-by: Michal Denar --- Koha/Schema/Result/SavedSql.pm | 11 +++++++-- Koha/Schema/Result/Subscription.pm | 46 ++++++++++++++++---------------------- 2 files changed, 28 insertions(+), 29 deletions(-) diff --git a/Koha/Schema/Result/SavedSql.pm b/Koha/Schema/Result/SavedSql.pm index 622f588..1dbf4d1 100644 --- a/Koha/Schema/Result/SavedSql.pm +++ b/Koha/Schema/Result/SavedSql.pm @@ -105,6 +105,11 @@ __PACKAGE__->table("saved_sql"); is_nullable: 1 size: 80 +=head2 mana_id + + data_type: 'integer' + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -148,6 +153,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 80 }, "report_subgroup", { data_type => "varchar", is_nullable => 1, size => 80 }, + "mana_id", + { data_type => "integer", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -163,8 +170,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("id"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7UCqSsNMGdq+S7MwZulmwA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-10-01 14:59:54 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LCYejYFk1kh9cXpH5+4GtA # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Subscription.pm b/Koha/Schema/Result/Subscription.pm index c493b73..04b3a5f 100644 --- a/Koha/Schema/Result/Subscription.pm +++ b/Koha/Schema/Result/Subscription.pm @@ -113,15 +113,15 @@ __PACKAGE__->table("subscription"); data_type: 'integer' is_nullable: 1 -=head2 innerloop1 +=head2 lastvalue2 data_type: 'integer' - default_value: 0 is_nullable: 1 -=head2 lastvalue2 +=head2 innerloop1 data_type: 'integer' + default_value: 0 is_nullable: 1 =head2 innerloop2 @@ -130,15 +130,15 @@ __PACKAGE__->table("subscription"); default_value: 0 is_nullable: 1 -=head2 lastvalue3 +=head2 innerloop3 data_type: 'integer' + default_value: 0 is_nullable: 1 -=head2 innerloop3 +=head2 lastvalue3 data_type: 'integer' - default_value: 0 is_nullable: 1 =head2 firstacquidate @@ -271,6 +271,11 @@ __PACKAGE__->table("subscription"); is_nullable: 1 size: 10 +=head2 mana_id + + data_type: 'integer' + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -304,16 +309,16 @@ __PACKAGE__->add_columns( { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 }, "lastvalue1", { data_type => "integer", is_nullable => 1 }, - "innerloop1", - { data_type => "integer", default_value => 0, is_nullable => 1 }, "lastvalue2", { data_type => "integer", is_nullable => 1 }, + "innerloop1", + { data_type => "integer", default_value => 0, is_nullable => 1 }, "innerloop2", { data_type => "integer", default_value => 0, is_nullable => 1 }, - "lastvalue3", - { data_type => "integer", is_nullable => 1 }, "innerloop3", { data_type => "integer", default_value => 0, is_nullable => 1 }, + "lastvalue3", + { data_type => "integer", is_nullable => 1 }, "firstacquidate", { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "manualhistory", @@ -358,6 +363,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 10 }, "previousitemtype", { data_type => "varchar", is_nullable => 1, size => 10 }, + "mana_id", + { data_type => "integer", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -429,24 +436,9 @@ __PACKAGE__->belongs_to( }, ); -=head2 subscriptionroutinglists - -Type: has_many - -Related object: L - -=cut - -__PACKAGE__->has_many( - "subscriptionroutinglists", - "Koha::Schema::Result::Subscriptionroutinglist", - { "foreign.subscriptionid" => "self.subscriptionid" }, - { cascade_copy => 0, cascade_delete => 0 }, -); - -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZRLfM/4h8VMLTgW7LkUYYA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-10-01 14:59:54 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cNB9GuXcgxz0IpepF12FIg # You can replace this text with custom content, and it will be preserved on regeneration -- 2.7.4