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

(-)a/Koha/Schema/Result/Currency.pm (-5 / +12 lines)
Lines 46-52 __PACKAGE__->table("currency"); Link Here
46
46
47
  data_type: 'timestamp'
47
  data_type: 'timestamp'
48
  datetime_undef_if_invalid: 1
48
  datetime_undef_if_invalid: 1
49
  default_value: current_timestamp
49
  default_value: 'current_timestamp()'
50
  is_nullable: 0
50
  is_nullable: 0
51
51
52
=head2 rate
52
=head2 rate
Lines 72-77 __PACKAGE__->table("currency"); Link Here
72
  default_value: 0
72
  default_value: 0
73
  is_nullable: 1
73
  is_nullable: 1
74
74
75
=head2 p_cs_precedes
76
77
  data_type: 'tinyint'
78
  default_value: 1
79
  is_nullable: 1
80
75
=cut
81
=cut
76
82
77
__PACKAGE__->add_columns(
83
__PACKAGE__->add_columns(
Lines 85-91 __PACKAGE__->add_columns( Link Here
85
  {
91
  {
86
    data_type => "timestamp",
92
    data_type => "timestamp",
87
    datetime_undef_if_invalid => 1,
93
    datetime_undef_if_invalid => 1,
88
    default_value => \"current_timestamp",
94
    default_value => "current_timestamp()",
89
    is_nullable => 0,
95
    is_nullable => 0,
90
  },
96
  },
91
  "rate",
97
  "rate",
Lines 96-101 __PACKAGE__->add_columns( Link Here
96
  { data_type => "tinyint", default_value => 0, is_nullable => 1 },
102
  { data_type => "tinyint", default_value => 0, is_nullable => 1 },
97
  "p_sep_by_space",
103
  "p_sep_by_space",
98
  { data_type => "tinyint", default_value => 0, is_nullable => 1 },
104
  { data_type => "tinyint", default_value => 0, is_nullable => 1 },
105
  "p_cs_precedes",
106
  { data_type => "tinyint", default_value => 1, is_nullable => 1 },
99
);
107
);
100
108
101
=head1 PRIMARY KEY
109
=head1 PRIMARY KEY
Lines 158-165 __PACKAGE__->has_many( Link Here
158
);
166
);
159
167
160
168
161
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-01 14:23:58
169
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-12-18 10:44:42
162
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PnJEcCgrM1Edf99phWFdyQ
170
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2eo7pibKTiDmG1Hb9EvBwA
163
171
164
172
165
sub koha_object_class {
173
sub koha_object_class {
166
- 

Return to bug 20352