Lines 38-43
__PACKAGE__->table("course_reserves");
Link Here
|
38 |
=head2 ci_id |
38 |
=head2 ci_id |
39 |
|
39 |
|
40 |
data_type: 'integer' |
40 |
data_type: 'integer' |
|
|
41 |
is_foreign_key: 1 |
41 |
is_nullable: 0 |
42 |
is_nullable: 0 |
42 |
|
43 |
|
43 |
=head2 staff_note |
44 |
=head2 staff_note |
Lines 65-71
__PACKAGE__->add_columns(
Link Here
|
65 |
"course_id", |
66 |
"course_id", |
66 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
67 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
67 |
"ci_id", |
68 |
"ci_id", |
68 |
{ data_type => "integer", is_nullable => 0 }, |
69 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
69 |
"staff_note", |
70 |
"staff_note", |
70 |
{ data_type => "mediumtext", is_nullable => 1 }, |
71 |
{ data_type => "mediumtext", is_nullable => 1 }, |
71 |
"public_note", |
72 |
"public_note", |
Lines 109-114
__PACKAGE__->add_unique_constraint("pseudo_key", ["course_id", "ci_id"]);
Link Here
|
109 |
|
110 |
|
110 |
=head1 RELATIONS |
111 |
=head1 RELATIONS |
111 |
|
112 |
|
|
|
113 |
=head2 ci |
114 |
|
115 |
Type: belongs_to |
116 |
|
117 |
Related object: L<Koha::Schema::Result::CourseItem> |
118 |
|
119 |
=cut |
120 |
|
121 |
__PACKAGE__->belongs_to( |
122 |
"ci", |
123 |
"Koha::Schema::Result::CourseItem", |
124 |
{ ci_id => "ci_id" }, |
125 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
126 |
); |
127 |
|
112 |
=head2 course |
128 |
=head2 course |
113 |
|
129 |
|
114 |
Type: belongs_to |
130 |
Type: belongs_to |
Lines 125-132
__PACKAGE__->belongs_to(
Link Here
|
125 |
); |
141 |
); |
126 |
|
142 |
|
127 |
|
143 |
|
128 |
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 |
144 |
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-09-02 09:46:54 |
129 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SSTJhsNOuUlxr/CsDs08pQ |
145 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4RbSgGvSM5wH1jpE+deLlA |
130 |
|
146 |
|
131 |
|
147 |
|
132 |
# You can replace this text with custom content, and it will be preserved on regeneration |
148 |
# You can replace this text with custom content, and it will be preserved on regeneration |
133 |
- |
|
|