From 4ebb5b9bc339068a5cb9736d9027bc43e9bb18b3 Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Thu, 27 Oct 2016 16:13:12 +0200 Subject: [PATCH] MT#20639 billing.contacts "status" column Change-Id: Ie294128df9a79d4a7ad14848865739415d665c2a --- lib/NGCP/Schema/Result/contacts.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/NGCP/Schema/Result/contacts.pm b/lib/NGCP/Schema/Result/contacts.pm index 9d93e6b2..757bbee2 100644 --- a/lib/NGCP/Schema/Result/contacts.pm +++ b/lib/NGCP/Schema/Result/contacts.pm @@ -97,6 +97,19 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 255 }, "gpp9", { data_type => "varchar", is_nullable => 1, size => 255 }, + "terminate_timestamp", + { + data_type => "timestamp", + datetime_undef_if_invalid => 1, + is_nullable => 1, + }, + "status", + { + data_type => "enum", + default_value => "active", + extra => { list => [ "active", "terminated"] }, + is_nullable => 0, + }, ); __PACKAGE__->set_primary_key("id");