diff --git a/lib/NGCP/Schema/Result/contract_balances.pm b/lib/NGCP/Schema/Result/contract_balances.pm index 7a326184..9cbab43d 100644 --- a/lib/NGCP/Schema/Result/contract_balances.pm +++ b/lib/NGCP/Schema/Result/contract_balances.pm @@ -54,6 +54,18 @@ __PACKAGE__->add_columns( is_foreign_key => 1, is_nullable => 1, }, + "underrun_profiles", + { + data_type => "datetime", + datetime_undef_if_invalid => 1, + is_nullable => 1, + }, + "underrun_lock", + { + data_type => "datetime", + datetime_undef_if_invalid => 1, + is_nullable => 1, + }, ); __PACKAGE__->set_primary_key("id"); @@ -169,6 +181,18 @@ NGCP::Schema::Result::contract_balances is_foreign_key: 1 is_nullable: 1 +=head2 underrun_profiles + + data_type: 'datetime' + datetime_undef_if_invalid: 1 + is_nullable: 0 + +=head2 underrun_lock + + data_type: 'datetime' + datetime_undef_if_invalid: 1 + is_nullable: 0 + =head1 PRIMARY KEY =over 4 diff --git a/lib/NGCP/Schema/Result/profile_packages.pm b/lib/NGCP/Schema/Result/profile_packages.pm index 07dded47..1737a171 100644 --- a/lib/NGCP/Schema/Result/profile_packages.pm +++ b/lib/NGCP/Schema/Result/profile_packages.pm @@ -31,7 +31,7 @@ __PACKAGE__->add_columns( { data_type => "enum", default_value => "month", - extra => { list => ["day", "week", "month"] }, + extra => { list => ["hour", "day", "week", "month"] }, is_nullable => 0, }, "balance_interval_value", @@ -67,7 +67,7 @@ __PACKAGE__->add_columns( { data_type => "enum", #default_value => "day", - extra => { list => ["day", "week", "month"] }, + extra => { list => ["hour", "day", "week", "month"] }, is_nullable => 1, }, "timely_duration_value",