Bug 25776: DBIC schema changes
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
a51e442557
commit
0e55d445e5
1 changed files with 16 additions and 2 deletions
|
@ -84,6 +84,13 @@ __PACKAGE__->table("letter");
|
|||
is_nullable: 0
|
||||
size: 25
|
||||
|
||||
=head2 updated_on
|
||||
|
||||
data_type: 'timestamp'
|
||||
datetime_undef_if_invalid: 1
|
||||
default_value: current_timestamp
|
||||
is_nullable: 0
|
||||
|
||||
=cut
|
||||
|
||||
__PACKAGE__->add_columns(
|
||||
|
@ -116,6 +123,13 @@ __PACKAGE__->add_columns(
|
|||
is_nullable => 0,
|
||||
size => 25,
|
||||
},
|
||||
"updated_on",
|
||||
{
|
||||
data_type => "timestamp",
|
||||
datetime_undef_if_invalid => 1,
|
||||
default_value => \"current_timestamp",
|
||||
is_nullable => 0,
|
||||
},
|
||||
);
|
||||
|
||||
=head1 PRIMARY KEY
|
||||
|
@ -156,8 +170,8 @@ __PACKAGE__->belongs_to(
|
|||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fOuu1Fj8Uo3114QKS2qLkQ
|
||||
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-09-30 15:33:05
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gjuJZIDufXefljX+aP2TPg
|
||||
|
||||
sub koha_object_class {
|
||||
'Koha::Notice::Template';
|
||||
|
|
Loading…
Reference in a new issue