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

(-)a/Koha/Schema/Result/Serial.pm (-28 / +33 lines)
Lines 1-21 Link Here
1
use utf8;
2
package Koha::Schema::Result::Serial;
1
package Koha::Schema::Result::Serial;
3
2
4
# Created by DBIx::Class::Schema::Loader
3
# Created by DBIx::Class::Schema::Loader
5
# DO NOT MODIFY THE FIRST PART OF THIS FILE
4
# DO NOT MODIFY THE FIRST PART OF THIS FILE
6
5
7
=head1 NAME
8
9
Koha::Schema::Result::Serial
10
11
=cut
12
13
use strict;
6
use strict;
14
use warnings;
7
use warnings;
15
8
16
use base 'DBIx::Class::Core';
9
use base 'DBIx::Class::Core';
17
10
18
=head1 TABLE: C<serial>
11
12
=head1 NAME
13
14
Koha::Schema::Result::Serial
19
15
20
=cut
16
=cut
21
17
Lines 50-55 __PACKAGE__->table("serial"); Link Here
50
  is_nullable: 0
46
  is_nullable: 0
51
  size: 100
47
  size: 100
52
48
49
=head2 serialseq_x
50
51
  data_type: 'varchar'
52
  is_nullable: 1
53
  size: 100
54
55
=head2 serialseq_y
56
57
  data_type: 'varchar'
58
  is_nullable: 1
59
  size: 100
60
61
=head2 serialseq_z
62
63
  data_type: 'varchar'
64
  is_nullable: 1
65
  size: 100
66
53
=head2 status
67
=head2 status
54
68
55
  data_type: 'tinyint'
69
  data_type: 'tinyint'
Lines 59-65 __PACKAGE__->table("serial"); Link Here
59
=head2 planneddate
73
=head2 planneddate
60
74
61
  data_type: 'date'
75
  data_type: 'date'
62
  datetime_undef_if_invalid: 1
63
  is_nullable: 1
76
  is_nullable: 1
64
77
65
=head2 notes
78
=head2 notes
Lines 70-82 __PACKAGE__->table("serial"); Link Here
70
=head2 publisheddate
83
=head2 publisheddate
71
84
72
  data_type: 'date'
85
  data_type: 'date'
73
  datetime_undef_if_invalid: 1
74
  is_nullable: 1
86
  is_nullable: 1
75
87
76
=head2 claimdate
88
=head2 claimdate
77
89
78
  data_type: 'date'
90
  data_type: 'date'
79
  datetime_undef_if_invalid: 1
80
  is_nullable: 1
91
  is_nullable: 1
81
92
82
=head2 routingnotes
93
=head2 routingnotes
Lines 95-124 __PACKAGE__->add_columns( Link Here
95
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 },
106
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 },
96
  "serialseq",
107
  "serialseq",
97
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 },
108
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 },
109
  "serialseq_x",
110
  { data_type => "varchar", is_nullable => 1, size => 100 },
111
  "serialseq_y",
112
  { data_type => "varchar", is_nullable => 1, size => 100 },
113
  "serialseq_z",
114
  { data_type => "varchar", is_nullable => 1, size => 100 },
98
  "status",
115
  "status",
99
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
116
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
100
  "planneddate",
117
  "planneddate",
101
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
118
  { data_type => "date", is_nullable => 1 },
102
  "notes",
119
  "notes",
103
  { data_type => "text", is_nullable => 1 },
120
  { data_type => "text", is_nullable => 1 },
104
  "publisheddate",
121
  "publisheddate",
105
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
122
  { data_type => "date", is_nullable => 1 },
106
  "claimdate",
123
  "claimdate",
107
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
124
  { data_type => "date", is_nullable => 1 },
108
  "routingnotes",
125
  "routingnotes",
109
  { data_type => "text", is_nullable => 1 },
126
  { data_type => "text", is_nullable => 1 },
110
);
127
);
111
112
=head1 PRIMARY KEY
113
114
=over 4
115
116
=item * L</serialid>
117
118
=back
119
120
=cut
121
122
__PACKAGE__->set_primary_key("serialid");
128
__PACKAGE__->set_primary_key("serialid");
123
129
124
=head1 RELATIONS
130
=head1 RELATIONS
Lines 139-146 __PACKAGE__->has_many( Link Here
139
);
145
);
140
146
141
147
142
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
148
# Created by DBIx::Class::Schema::Loader v0.07000 @ 2014-06-05 12:17:52
143
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xloe1BJrVD7sU07AnA4P2g
149
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BJQdPIAHUMaZ1PH4M2FEFw
144
150
145
151
146
# You can replace this text with custom content, and it will be preserved on regeneration
152
# You can replace this text with custom content, and it will be preserved on regeneration
147
- 

Return to bug 12375