View | Details | Raw Unified | Return to bug 11897
Collapse All | Expand All

(-)a/Koha/Schema/Result/Branch.pm (-2 / +2 lines)
Lines 624-631 __PACKAGE__->has_many( Link Here
624
);
624
);
625
625
626
626
627
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
627
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-04-17 16:37:51
628
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QOMUFz2EjvAVWCkIpNmvtg
628
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0hfhEZW9VseBN7k05ByvpQ
629
629
630
630
631
# You can replace this text with custom code or comments, and it will be preserved on regeneration
631
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Item.pm (-3 / +2 lines)
Lines 702-709 __PACKAGE__->might_have( Link Here
702
);
702
);
703
703
704
704
705
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-12-12 17:02:24
705
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-04-17 16:37:51
706
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oo/Eubwpc1tcaGAO9Oja1A
706
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aOcn/Am4XilK4NblfY5zXQ
707
707
708
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
708
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
709
709
Lines 728-732 sub effective_itemtype { Link Here
728
    }
728
    }
729
}
729
}
730
730
731
# You can replace this text with custom code or comments, and it will be preserved on regeneration
732
1;
731
1;
(-)a/Koha/Schema/Result/Stockrotationrota.pm (-2 / +16 lines)
Lines 79-84 __PACKAGE__->add_columns( Link Here
79
79
80
__PACKAGE__->set_primary_key("rota_id");
80
__PACKAGE__->set_primary_key("rota_id");
81
81
82
=head1 UNIQUE CONSTRAINTS
83
84
=head2 C<stockrotationrotas_title>
85
86
=over 4
87
88
=item * L</title>
89
90
=back
91
92
=cut
93
94
__PACKAGE__->add_unique_constraint("stockrotationrotas_title", ["title"]);
95
82
=head1 RELATIONS
96
=head1 RELATIONS
83
97
84
=head2 stockrotationstages
98
=head2 stockrotationstages
Lines 97-104 __PACKAGE__->has_many( Link Here
97
);
111
);
98
112
99
113
100
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-10-17 16:18:21
114
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-04-17 16:37:51
101
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gglRP/Dh1RIu9eH834lStA
115
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KOv8PNKzQd3gLTskL1GiHw
102
116
103
117
104
# You can replace this text with custom code or comments, and it will be preserved on regeneration
118
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/installer/data/mysql/atomicupdate/stockrot_tables.sql (-2 / +3 lines)
Lines 6-12 CREATE TABLE IF NOT EXISTS stockrotationrotas ( Link Here
6
    description text NOT NULL default '',   -- Description for this rota
6
    description text NOT NULL default '',   -- Description for this rota
7
    cyclical tinyint(1) NOT NULL default 0, -- Should items on this rota keep cycling?
7
    cyclical tinyint(1) NOT NULL default 0, -- Should items on this rota keep cycling?
8
    active tinyint(1) NOT NULL default 0,   -- Is this rota currently active?
8
    active tinyint(1) NOT NULL default 0,   -- Is this rota currently active?
9
    PRIMARY KEY (`rota_id`)
9
    PRIMARY KEY (`rota_id`),
10
    CONSTRAINT `stockrotationrotas_title`
11
      UNIQUE (`title`)
10
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
12
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
11
13
12
-- Stock Rotation Stages
14
-- Stock Rotation Stages
13
- 

Return to bug 11897