Generating the statistics table is very expensive, takes much space, and
we can get that data already from kamailio RPCs or from Redis. Remove it
to avoid the redundant data and the wasted load.
Change-Id: I6b013d627c1e6b26eacc5250ec5dfbb78a811dab
The prevalent convention in the project is to use «-» instead of «_» to
split words in options. Switch the options to that, and keep backwards
compatibility option alias that emits a deprecation warning while people
transition to the new names. The alias will be removed on the next LTS.
Change-Id: I591f0b16ea9df706d717a877f9e6fc9a5ca1d20e
- Add "billing_acl_roles" DBIx declaration, "admins" belongs to it.
- Add "billing_acl_role_mappings" DBIx declaration to organise the
roles hierarchy - "role_foo" has access to "role_baz" etc.
Change-Id: I9f3cc8dc1fd66b12469fb0f43ddd82dee4855490
* billing.domain_reseller is no longer in use by ngcp-schema as
the table is now deprecated
* add billing.domains.reseller_id field
* add billing.domains "belongs_to" relation to billing.resellers
* add billing.resellers "has_many" relation to billing.domains
Change-Id: Ia485ddac66a5063605f506dd888be550f7327bea
* add new columns and a primary key to sems_registrations
* voip_peer_hosts add might_have relation to kamailio.lcr_gw
* update kamailio.subscriber table fields
* change provisioning_voip_subscriber -> kamailio_subscriber relation
from has_many to has_one
Change-Id: I96e4aa7d68c09146d373e7300a762fd1c7b3f7da
fee matching works in 2 attempts:
1. try to find a fee matching <user@domain>
2. if none found, try to find a fee matching <user>
the billing_profile record will get a new field
"ignore_domain". if set to "1", step#1 above
should be skipped.
see 1af70b001db36cfbd9791ab90b7030cfa35a110e
Change-Id: Ia188a79e775d851e2309116232973d61acff6a20
* The 'is_system' column will be used for users
that will have permission to see, create,
edit, delete lawful intercept admins
Change-Id: Ic7fd79717426013ffc9643764ea44f4de7adc7f9
* Store 'email' for administrators to use
for password reset
* Additional 'ca_reset_passsword' column
to indicate wether an admin can request
password reset
Change-Id: Ifddbe500dfbf4cf034c23717cd377840da78ff63