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 64-69 __PACKAGE__->add_columns( Link Here
64
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
73
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
65
  "field_id",
74
  "field_id",
66
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
75
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
76
  "record_table",
77
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
67
  "record_id",
78
  "record_id",
68
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 11 },
79
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 11 },
69
  "value",
80
  "value",
Lines 105-108 __PACKAGE__->belongs_to( Link Here
105
116
106
117
107
# 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
108
1;
119
1;
109
- 

Return to bug 35451