From 12fc61c6c4702b322ca23831ca3b5501699630d2 Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Mon, 26 Jun 2023 12:11:27 +0200 Subject: [PATCH] MT#57580 add expose_to_customer for NCOS * ncos_levels and ncos_sets have new field expose_to_customer boolean, default 0 Change-Id: I557c67c0d4ae55496317d9d1fe62a1a6614faf5a --- lib/NGCP/Schema/Result/ncos_levels.pm | 2 ++ lib/NGCP/Schema/Result/ncos_sets.pm | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/NGCP/Schema/Result/ncos_levels.pm b/lib/NGCP/Schema/Result/ncos_levels.pm index dc7a00c3..d023262f 100644 --- a/lib/NGCP/Schema/Result/ncos_levels.pm +++ b/lib/NGCP/Schema/Result/ncos_levels.pm @@ -49,6 +49,8 @@ __PACKAGE__->add_columns( is_foreign_key => 1, is_nullable => 1, }, + "expose_to_customer", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, ); __PACKAGE__->set_primary_key("id"); diff --git a/lib/NGCP/Schema/Result/ncos_sets.pm b/lib/NGCP/Schema/Result/ncos_sets.pm index f860f381..250420f3 100644 --- a/lib/NGCP/Schema/Result/ncos_sets.pm +++ b/lib/NGCP/Schema/Result/ncos_sets.pm @@ -31,6 +31,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 0, size => 255 }, "description", { data_type => "varchar", is_nullable => 1, size => 255 }, + "expose_to_customer", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, ); __PACKAGE__->set_primary_key("id");