TT#65505 kamailio.location expires change to bigint

* type now is bigint
    * auto inflation into epoch int

Change-Id: I3b6f5f84760af9e1a9f0f89077a151b506fb3acd
(cherry picked from commit 967421e5d5)
changes/91/33391/1
Kirill Solomko 6 years ago
parent 7284d78e52
commit 8c29e7e3c9

@ -32,10 +32,9 @@ __PACKAGE__->add_columns(
{ data_type => "varchar", is_nullable => 1, size => 512 }, { data_type => "varchar", is_nullable => 1, size => 512 },
"expires", "expires",
{ {
data_type => "datetime", data_type => "bigint",
datetime_undef_if_invalid => 1,
default_value => "2030-05-28 21:32:15",
is_nullable => 0, is_nullable => 0,
inflate_datetime => 'epoch',
}, },
"q", "q",
{ {
@ -171,10 +170,9 @@ This module is a schema class for the NGCP database table "kamailio.location".
=head2 expires =head2 expires
data_type: 'datetime' data_type: 'bigint'
datetime_undef_if_invalid: 1
default_value: '2030-05-28 21:32:15'
is_nullable: 0 is_nullable: 0
inflate_datetime => 'epoch'
=head2 q =head2 q

Loading…
Cancel
Save