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

(-)a/Koha/Schema/Result/RecordSource.pm (-3 / +24 lines)
Lines 46-51 User defined name for the record source Link Here
46
46
47
If records from this source can be edited
47
If records from this source can be edited
48
48
49
=head2 is_system
50
51
  data_type: 'tinyint'
52
  default_value: 0
53
  is_nullable: 0
54
49
=cut
55
=cut
50
56
51
__PACKAGE__->add_columns(
57
__PACKAGE__->add_columns(
Lines 55-60 __PACKAGE__->add_columns( Link Here
55
  { data_type => "text", is_nullable => 0 },
61
  { data_type => "text", is_nullable => 0 },
56
  "can_be_edited",
62
  "can_be_edited",
57
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
63
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
64
  "is_system",
65
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
58
);
66
);
59
67
60
=head1 PRIMARY KEY
68
=head1 PRIMARY KEY
Lines 69-74 __PACKAGE__->add_columns( Link Here
69
77
70
__PACKAGE__->set_primary_key("record_source_id");
78
__PACKAGE__->set_primary_key("record_source_id");
71
79
80
=head1 UNIQUE CONSTRAINTS
81
82
=head2 C<name>
83
84
=over 4
85
86
=item * L</name>
87
88
=back
89
90
=cut
91
92
__PACKAGE__->add_unique_constraint("name", ["name"]);
93
72
=head1 RELATIONS
94
=head1 RELATIONS
73
95
74
=head2 biblio_metadatas
96
=head2 biblio_metadatas
Lines 102-109 __PACKAGE__->has_many( Link Here
102
);
124
);
103
125
104
126
105
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-01-24 18:05:50
127
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-12-16 09:34:56
106
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WX72aRYhWBK9bQWr9AJk2A
128
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1jhb17Jilqs2wUjUWbhjyA
107
129
108
__PACKAGE__->add_columns(
130
__PACKAGE__->add_columns(
109
    '+can_be_edited' => { is_boolean => 1 },
131
    '+can_be_edited' => { is_boolean => 1 },
110
- 

Return to bug 35380