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

(-)a/Koha/Schema/Result/BiblioFramework.pm (-3 / +10 lines)
Lines 41-46 the unique code assigned to the framework Link Here
41
41
42
the description/name given to the framework
42
the description/name given to the framework
43
43
44
=head2 is_default
45
46
  data_type: 'tinyint'
47
  default_value: 0
48
  is_nullable: 0
49
44
=cut
50
=cut
45
51
46
__PACKAGE__->add_columns(
52
__PACKAGE__->add_columns(
Lines 48-53 __PACKAGE__->add_columns( Link Here
48
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 },
54
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 },
49
  "frameworktext",
55
  "frameworktext",
50
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
56
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
57
  "is_default",
58
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
51
);
59
);
52
60
53
=head1 PRIMARY KEY
61
=head1 PRIMARY KEY
Lines 63-70 __PACKAGE__->add_columns( Link Here
63
__PACKAGE__->set_primary_key("frameworkcode");
71
__PACKAGE__->set_primary_key("frameworkcode");
64
72
65
73
66
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
74
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2022-08-08 15:48:35
67
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YdCNaeY5v1WcfcDuA6xE0w
75
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iVK/KxHpbOMw091sCbsCmA
68
76
69
# FIXME This should not be needed, we need to add the FK at DB level
77
# FIXME This should not be needed, we need to add the FK at DB level
70
# It cannot be done now because the default framework (frameworkcode=='')
78
# It cannot be done now because the default framework (frameworkcode=='')
71
- 

Return to bug 23111