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

(-)a/Koha/Schema/Result/AdditionalFieldValue.pm (-2 / +12 lines)
Lines 39-44 primary key identifier Link Here
39
39
40
foreign key references additional_fields(id)
40
foreign key references additional_fields(id)
41
41
42
=head2 record_table
43
44
  data_type: 'varchar'
45
  default_value: (empty string)
46
  is_nullable: 0
47
  size: 255
48
49
tablename of the related record
50
42
=head2 record_id
51
=head2 record_id
43
52
44
  data_type: 'varchar'
53
  data_type: 'varchar'
Lines 63-68 __PACKAGE__->add_columns( Link Here
63
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
72
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
64
  "field_id",
73
  "field_id",
65
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
74
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
75
  "record_table",
76
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
66
  "record_id",
77
  "record_id",
67
  { data_type => "varchar", is_nullable => 0, size => 11 },
78
  { data_type => "varchar", is_nullable => 0, size => 11 },
68
  "value",
79
  "value",
Lines 104-107 __PACKAGE__->belongs_to( Link Here
104
115
105
116
106
# You can replace this text with custom code or comments, and it will be preserved on regeneration
117
# You can replace this text with custom code or comments, and it will be preserved on regeneration
107
1;
118
1;
108
- 

Return to bug 35451