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

(-)a/Koha/Schema/Result/Biblio.pm (-1 / +1 lines)
Lines 331-337 __PACKAGE__->many_to_many("sets", "oai_sets_biblios", "set"); Link Here
331
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
331
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
332
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0//8OGf7OteNnwT03g4QsA
332
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0//8OGf7OteNnwT03g4QsA
333
333
334
__PACKAGE__->belongs_to(
334
__PACKAGE__->has_one(
335
    "biblioitem",
335
    "biblioitem",
336
    "Koha::Schema::Result::Biblioitem",
336
    "Koha::Schema::Result::Biblioitem",
337
    { "foreign.biblionumber" => "self.biblionumber" }
337
    { "foreign.biblionumber" => "self.biblionumber" }
(-)a/Koha/Schema/Result/Closure.pm (-79 lines)
Lines 1-79 Link Here
1
package Koha::Schema::Result::Closure;
2
3
# Created by DBIx::Class::Schema::Loader
4
# DO NOT MODIFY THE FIRST PART OF THIS FILE
5
6
use strict;
7
use warnings;
8
9
use base 'DBIx::Class::Core';
10
11
12
=head1 NAME
13
14
Koha::Schema::Result::Closure
15
16
=cut
17
18
__PACKAGE__->table("closure");
19
20
=head1 ACCESSORS
21
22
=head2 closureid
23
24
  data_type: 'integer'
25
  is_auto_increment: 1
26
  is_nullable: 0
27
28
=head2 description
29
30
  data_type: 'text'
31
  is_nullable: 1
32
33
=head2 branchcode
34
35
  data_type: 'varchar'
36
  is_nullable: 0
37
  size: 10
38
39
=head2 title
40
41
  data_type: 'varchar'
42
  is_nullable: 1
43
  size: 255
44
45
=head2 event_start
46
47
  data_type: 'datetime'
48
  is_nullable: 1
49
50
=head2 event_end
51
52
  data_type: 'datetime'
53
  is_nullable: 1
54
55
=cut
56
57
__PACKAGE__->add_columns(
58
  "closureid",
59
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
60
  "description",
61
  { data_type => "text", is_nullable => 1 },
62
  "branchcode",
63
  { data_type => "varchar", is_nullable => 0, size => 10 },
64
  "title",
65
  { data_type => "varchar", is_nullable => 1, size => 255 },
66
  "event_start",
67
  { data_type => "datetime", is_nullable => 1 },
68
  "event_end",
69
  { data_type => "datetime", is_nullable => 1 },
70
);
71
__PACKAGE__->set_primary_key("closureid");
72
73
74
# Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
75
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yA2qWZ8+Om9n0UAev2wl1Q
76
77
78
# You can replace this text with custom content, and it will be preserved on regeneration
79
1;
(-)a/Koha/Schema/Result/ClosureRrule.pm (-69 lines)
Lines 1-69 Link Here
1
package Koha::Schema::Result::ClosureRrule;
2
3
# Created by DBIx::Class::Schema::Loader
4
# DO NOT MODIFY THE FIRST PART OF THIS FILE
5
6
use strict;
7
use warnings;
8
9
use base 'DBIx::Class::Core';
10
11
12
=head1 NAME
13
14
Koha::Schema::Result::ClosureRrule
15
16
=cut
17
18
__PACKAGE__->table("closure_rrule");
19
20
=head1 ACCESSORS
21
22
=head2 closureid
23
24
  data_type: 'integer'
25
  is_nullable: 1
26
27
=head2 recurrence_start
28
29
  data_type: 'datetime'
30
  is_nullable: 1
31
32
=head2 recurrence_end
33
34
  data_type: 'datetime'
35
  is_nullable: 1
36
37
=head2 frequency
38
39
  data_type: 'varchar'
40
  is_nullable: 1
41
  size: 10
42
43
=head2 days_interval
44
45
  data_type: 'integer'
46
  is_nullable: 1
47
48
=cut
49
50
__PACKAGE__->add_columns(
51
  "closureid",
52
  { data_type => "integer", is_nullable => 1 },
53
  "recurrence_start",
54
  { data_type => "datetime", is_nullable => 1 },
55
  "recurrence_end",
56
  { data_type => "datetime", is_nullable => 1 },
57
  "frequency",
58
  { data_type => "varchar", is_nullable => 1, size => 10 },
59
  "days_interval",
60
  { data_type => "integer", is_nullable => 1 },
61
);
62
63
64
# Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
65
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:g4CMCw0JgKii7mgfHkqThQ
66
67
68
# You can replace this text with custom content, and it will be preserved on regeneration
69
1;
(-)a/t/lib/TestBuilder.pm (-2 / +1 lines)
Lines 189-195 sub _getForeignKeys { Link Here
189
            };
189
            };
190
190
191
            my @keys = ();
191
            my @keys = ();
192
            while( my ($col_fk_name, $col_name) = each($rel_info->{cond}) ) {
192
            while( my ($col_fk_name, $col_name) = each(%{$rel_info->{cond}}) ) {
193
                $col_name    =~ s|self.(\w+)|$1|;
193
                $col_name    =~ s|self.(\w+)|$1|;
194
                $col_fk_name =~ s|foreign.(\w+)|$1|;
194
                $col_fk_name =~ s|foreign.(\w+)|$1|;
195
                push @keys, {
195
                push @keys, {
196
- 

Return to bug 12603