From e769581e450160e010bd6dbf81cc62942da78345 Mon Sep 17 00:00:00 2001 From: Gerhard Jungwirth Date: Tue, 20 Jun 2017 16:52:21 +0200 Subject: [PATCH] TT#17258 add active flag to reminders Change-Id: I9497ad6c8b42dbedb12c972448c4ad52f49e494b --- lib/NGCP/Schema/Result/voip_reminder.pm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/NGCP/Schema/Result/voip_reminder.pm b/lib/NGCP/Schema/Result/voip_reminder.pm index d7157b37..3d078b33 100644 --- a/lib/NGCP/Schema/Result/voip_reminder.pm +++ b/lib/NGCP/Schema/Result/voip_reminder.pm @@ -32,6 +32,12 @@ __PACKAGE__->add_columns( extra => { list => ["never", "weekdays", "always"] }, is_nullable => 0, }, + "active", + { + data_type => "tinyint", + default_value => 1, + is_nullable => 0, + }, ); __PACKAGE__->set_primary_key("id"); @@ -102,6 +108,12 @@ NGCP::Schema::Result::voip_reminder extra: {list => ["never","weekdays","always"]} is_nullable: 0 +=head2 active + + data_type: 'tinyint' + default_value: 1 + is_nullable: 0 + =head1 PRIMARY KEY =over 4