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

(-)a/Koha/Schema/Result/BiblioFramework.pm (-3 / +12 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
50
indicates whether this framework is the default to be used when importing records or editing records with no framework mapped
51
44
=cut
52
=cut
45
53
46
__PACKAGE__->add_columns(
54
__PACKAGE__->add_columns(
Lines 48-53 __PACKAGE__->add_columns( Link Here
48
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 },
56
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 },
49
  "frameworktext",
57
  "frameworktext",
50
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
58
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
59
  "is_default",
60
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
51
);
61
);
52
62
53
=head1 PRIMARY KEY
63
=head1 PRIMARY KEY
Lines 63-70 __PACKAGE__->add_columns( Link Here
63
__PACKAGE__->set_primary_key("frameworkcode");
73
__PACKAGE__->set_primary_key("frameworkcode");
64
74
65
75
66
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
76
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-10-24 00:54:48
67
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YdCNaeY5v1WcfcDuA6xE0w
77
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4r+n565/qdQr/ZE/CpfmIg
68
78
69
# FIXME This should not be needed, we need to add the FK at DB level
79
# 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=='')
80
# It cannot be done now because the default framework (frameworkcode=='')
71
- 

Return to bug 23111