From 7a4befa209047787e2955622cd31b680f6b9969a Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Fri, 30 Aug 2013 16:40:21 +0200 Subject: [PATCH] Align to new product class enum. --- lib/NGCP/Schema/Result/products.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/NGCP/Schema/Result/products.pm b/lib/NGCP/Schema/Result/products.pm index 3b8ecab5..991abe9b 100644 --- a/lib/NGCP/Schema/Result/products.pm +++ b/lib/NGCP/Schema/Result/products.pm @@ -41,9 +41,8 @@ __PACKAGE__->add_columns( "sippeering", "pstnpeering", "reseller", - "voip", - "hardware", - "auxiliary", + "sipaccount", + "pbxaccount", ], }, is_nullable => 0, @@ -152,7 +151,7 @@ NGCP::Schema::Result::products =head2 class data_type: 'enum' - extra: {list => ["sippeering","pstnpeering","reseller","voip","hardware","auxiliary"]} + extra: {list => ["sippeering","pstnpeering","reseller","sipaccount","pbxaccount"]} is_nullable: 0 =head2 handle