{ "columns" : { "acl_role_mappings/accessor_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "accessor_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "acl_role_mappings", "key_col" : "acl_role_mappings/accessor_id" }, "acl_role_mappings/has_access_to_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "has_access_to_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "acl_role_mappings", "key_col" : "acl_role_mappings/has_access_to_id" }, "acl_roles/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "acl_roles", "key_col" : "acl_roles/id" }, "acl_roles/is_acl" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "is_acl", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "acl_roles", "key_col" : "acl_roles/is_acl" }, "acl_roles/role" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "role", "COLUMN_TYPE" : "varchar(64)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "acl_roles", "key_col" : "acl_roles/role" }, "admin_password_journal/admin_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "admin_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "admin_password_journal", "key_col" : "admin_password_journal/admin_id" }, "admin_password_journal/created_at" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "current_timestamp()", "COLUMN_NAME" : "created_at", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "admin_password_journal", "key_col" : "admin_password_journal/created_at" }, "admin_password_journal/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "admin_password_journal", "key_col" : "admin_password_journal/id" }, "admin_password_journal/value" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "value", "COLUMN_TYPE" : "char(54)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "admin_password_journal", "key_col" : "admin_password_journal/value" }, "admins/auth_mode" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'local'", "COLUMN_NAME" : "auth_mode", "COLUMN_TYPE" : "enum('local','ldap')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 23, "TABLE_NAME" : "admins", "key_col" : "admins/auth_mode" }, "admins/ban_increment_stage" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "ban_increment_stage", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 22, "TABLE_NAME" : "admins", "key_col" : "admins/ban_increment_stage" }, "admins/billing_data" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "1", "COLUMN_NAME" : "billing_data", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 13, "TABLE_NAME" : "admins", "key_col" : "admins/billing_data" }, "admins/call_data" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "call_data", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 12, "TABLE_NAME" : "admins", "key_col" : "admins/call_data" }, "admins/can_reset_password" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "1", "COLUMN_NAME" : "can_reset_password", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 18, "TABLE_NAME" : "admins", "key_col" : "admins/can_reset_password" }, "admins/email" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "email", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 17, "TABLE_NAME" : "admins", "key_col" : "admins/email" }, "admins/enable_2fa" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "enable_2fa", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 24, "TABLE_NAME" : "admins", "key_col" : "admins/enable_2fa" }, "admins/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "admins", "key_col" : "admins/id" }, "admins/is_active" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "1", "COLUMN_NAME" : "is_active", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "admins", "key_col" : "admins/is_active" }, "admins/is_ccare" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "is_ccare", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "admins", "key_col" : "admins/is_ccare" }, "admins/is_master" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "is_master", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "admins", "key_col" : "admins/is_master" }, "admins/is_superuser" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "is_superuser", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "admins", "key_col" : "admins/is_superuser" }, "admins/is_system" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "is_system", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 19, "TABLE_NAME" : "admins", "key_col" : "admins/is_system" }, "admins/last_banned_at" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "'0000-00-00 00:00:00'", "COLUMN_NAME" : "last_banned_at", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 27, "TABLE_NAME" : "admins", "key_col" : "admins/last_banned_at" }, "admins/last_banned_ip" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "last_banned_ip", "COLUMN_TYPE" : "varchar(45)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 28, "TABLE_NAME" : "admins", "key_col" : "admins/last_banned_ip" }, "admins/lawful_intercept" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "lawful_intercept", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 14, "TABLE_NAME" : "admins", "key_col" : "admins/lawful_intercept" }, "admins/login" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "login", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "admins", "key_col" : "admins/login" }, "admins/md5pass" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "md5pass", "COLUMN_TYPE" : "char(32)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "admins", "key_col" : "admins/md5pass" }, "admins/otp_secret" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "otp_secret", "COLUMN_TYPE" : "char(32)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 26, "TABLE_NAME" : "admins", "key_col" : "admins/otp_secret" }, "admins/read_only" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "read_only", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "admins", "key_col" : "admins/read_only" }, "admins/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "admins", "key_col" : "admins/reseller_id" }, "admins/role_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "role_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 20, "TABLE_NAME" : "admins", "key_col" : "admins/role_id" }, "admins/saltedpass" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "saltedpass", "COLUMN_TYPE" : "char(54)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "admins", "key_col" : "admins/saltedpass" }, "admins/saltedpass_modify_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "current_timestamp()", "COLUMN_NAME" : "saltedpass_modify_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 21, "TABLE_NAME" : "admins", "key_col" : "admins/saltedpass_modify_timestamp" }, "admins/show_otp_registration_info" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "show_otp_registration_info", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 25, "TABLE_NAME" : "admins", "key_col" : "admins/show_otp_registration_info" }, "admins/show_passwords" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "1", "COLUMN_NAME" : "show_passwords", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "admins", "key_col" : "admins/show_passwords" }, "admins/ssl_client_certificate" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "ssl_client_certificate", "COLUMN_TYPE" : "text", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 16, "TABLE_NAME" : "admins", "key_col" : "admins/ssl_client_certificate" }, "admins/ssl_client_m_serial" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "ssl_client_m_serial", "COLUMN_TYPE" : "bigint(20) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 15, "TABLE_NAME" : "admins", "key_col" : "admins/ssl_client_m_serial" }, "billing_fees/aoc_pulse_amount_per_message" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "aoc_pulse_amount_per_message", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 23, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/aoc_pulse_amount_per_message" }, "billing_fees/billing_profile_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "billing_profile_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/billing_profile_id" }, "billing_fees/billing_zone_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "billing_zone_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/billing_zone_id" }, "billing_fees/destination" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "destination", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/destination" }, "billing_fees/direction" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'out'", "COLUMN_NAME" : "direction", "COLUMN_TYPE" : "enum('in','out')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/direction" }, "billing_fees/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/id" }, "billing_fees/match_mode" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'regex_longest_pattern'", "COLUMN_NAME" : "match_mode", "COLUMN_TYPE" : "enum('regex_longest_pattern','regex_longest_match','prefix','exact_destination')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 17, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/match_mode" }, "billing_fees/offpeak_extra_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_extra_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 20, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/offpeak_extra_rate" }, "billing_fees/offpeak_extra_second" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "offpeak_extra_second", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 21, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/offpeak_extra_second" }, "billing_fees/offpeak_follow_interval" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_follow_interval", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 15, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/offpeak_follow_interval" }, "billing_fees/offpeak_follow_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_follow_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 14, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/offpeak_follow_rate" }, "billing_fees/offpeak_init_interval" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_init_interval", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 13, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/offpeak_init_interval" }, "billing_fees/offpeak_init_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_init_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 12, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/offpeak_init_rate" }, "billing_fees/offpeak_use_free_time" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_use_free_time", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 22, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/offpeak_use_free_time" }, "billing_fees/onpeak_extra_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_extra_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 18, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/onpeak_extra_rate" }, "billing_fees/onpeak_extra_second" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "onpeak_extra_second", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 19, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/onpeak_extra_second" }, "billing_fees/onpeak_follow_interval" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_follow_interval", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/onpeak_follow_interval" }, "billing_fees/onpeak_follow_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_follow_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/onpeak_follow_rate" }, "billing_fees/onpeak_init_interval" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_init_interval", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/onpeak_init_interval" }, "billing_fees/onpeak_init_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_init_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/onpeak_init_rate" }, "billing_fees/onpeak_use_free_time" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_use_free_time", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 16, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/onpeak_use_free_time" }, "billing_fees/source" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'.'", "COLUMN_NAME" : "source", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/source" }, "billing_fees/type" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'call'", "COLUMN_NAME" : "type", "COLUMN_TYPE" : "enum('call','sms')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/type" }, "billing_fees_history/aoc_pulse_amount_per_message" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "aoc_pulse_amount_per_message", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 24, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/aoc_pulse_amount_per_message" }, "billing_fees_history/bf_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "bf_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bf_id" }, "billing_fees_history/billing_profile_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "billing_profile_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/billing_profile_id" }, "billing_fees_history/billing_zones_history_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "billing_zones_history_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/billing_zones_history_id" }, "billing_fees_history/destination" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "destination", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/destination" }, "billing_fees_history/direction" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'out'", "COLUMN_NAME" : "direction", "COLUMN_TYPE" : "enum('in','out')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/direction" }, "billing_fees_history/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/id" }, "billing_fees_history/match_mode" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'regex_longest_pattern'", "COLUMN_NAME" : "match_mode", "COLUMN_TYPE" : "enum('regex_longest_pattern','regex_longest_match','prefix','exact_destination')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 18, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/match_mode" }, "billing_fees_history/offpeak_extra_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_extra_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 21, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/offpeak_extra_rate" }, "billing_fees_history/offpeak_extra_second" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "offpeak_extra_second", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 22, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/offpeak_extra_second" }, "billing_fees_history/offpeak_follow_interval" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_follow_interval", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 16, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/offpeak_follow_interval" }, "billing_fees_history/offpeak_follow_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_follow_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 15, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/offpeak_follow_rate" }, "billing_fees_history/offpeak_init_interval" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_init_interval", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 14, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/offpeak_init_interval" }, "billing_fees_history/offpeak_init_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_init_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 13, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/offpeak_init_rate" }, "billing_fees_history/offpeak_use_free_time" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_use_free_time", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 23, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/offpeak_use_free_time" }, "billing_fees_history/onpeak_extra_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_extra_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 19, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/onpeak_extra_rate" }, "billing_fees_history/onpeak_extra_second" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "onpeak_extra_second", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 20, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/onpeak_extra_second" }, "billing_fees_history/onpeak_follow_interval" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_follow_interval", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 12, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/onpeak_follow_interval" }, "billing_fees_history/onpeak_follow_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_follow_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/onpeak_follow_rate" }, "billing_fees_history/onpeak_init_interval" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_init_interval", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/onpeak_init_interval" }, "billing_fees_history/onpeak_init_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_init_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/onpeak_init_rate" }, "billing_fees_history/onpeak_use_free_time" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_use_free_time", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 17, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/onpeak_use_free_time" }, "billing_fees_history/source" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'.'", "COLUMN_NAME" : "source", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/source" }, "billing_fees_history/type" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'call'", "COLUMN_NAME" : "type", "COLUMN_TYPE" : "enum('call','sms')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/type" }, "billing_fees_raw/aoc_pulse_amount_per_message" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "aoc_pulse_amount_per_message", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 23, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/aoc_pulse_amount_per_message" }, "billing_fees_raw/billing_profile_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "billing_profile_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/billing_profile_id" }, "billing_fees_raw/billing_zone_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "billing_zone_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/billing_zone_id" }, "billing_fees_raw/destination" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "destination", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/destination" }, "billing_fees_raw/direction" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'out'", "COLUMN_NAME" : "direction", "COLUMN_TYPE" : "enum('in','out')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/direction" }, "billing_fees_raw/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/id" }, "billing_fees_raw/match_mode" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'regex_longest_pattern'", "COLUMN_NAME" : "match_mode", "COLUMN_TYPE" : "enum('regex_longest_pattern','regex_longest_match','prefix','exact_destination')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 17, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/match_mode" }, "billing_fees_raw/offpeak_extra_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_extra_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 20, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/offpeak_extra_rate" }, "billing_fees_raw/offpeak_extra_second" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "offpeak_extra_second", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 21, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/offpeak_extra_second" }, "billing_fees_raw/offpeak_follow_interval" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_follow_interval", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 15, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/offpeak_follow_interval" }, "billing_fees_raw/offpeak_follow_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_follow_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 14, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/offpeak_follow_rate" }, "billing_fees_raw/offpeak_init_interval" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_init_interval", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 13, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/offpeak_init_interval" }, "billing_fees_raw/offpeak_init_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_init_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 12, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/offpeak_init_rate" }, "billing_fees_raw/offpeak_use_free_time" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "offpeak_use_free_time", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 22, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/offpeak_use_free_time" }, "billing_fees_raw/onpeak_extra_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_extra_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 18, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/onpeak_extra_rate" }, "billing_fees_raw/onpeak_extra_second" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "onpeak_extra_second", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 19, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/onpeak_extra_second" }, "billing_fees_raw/onpeak_follow_interval" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_follow_interval", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/onpeak_follow_interval" }, "billing_fees_raw/onpeak_follow_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_follow_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/onpeak_follow_rate" }, "billing_fees_raw/onpeak_init_interval" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_init_interval", "COLUMN_TYPE" : "int(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/onpeak_init_interval" }, "billing_fees_raw/onpeak_init_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_init_rate", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/onpeak_init_rate" }, "billing_fees_raw/onpeak_use_free_time" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "onpeak_use_free_time", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 16, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/onpeak_use_free_time" }, "billing_fees_raw/source" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'.'", "COLUMN_NAME" : "source", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/source" }, "billing_fees_raw/type" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'call'", "COLUMN_NAME" : "type", "COLUMN_TYPE" : "enum('call','sms')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/type" }, "billing_mappings/billing_profile_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "billing_profile_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "billing_mappings", "key_col" : "billing_mappings/billing_profile_id" }, "billing_mappings/contract_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "contract_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "billing_mappings", "key_col" : "billing_mappings/contract_id" }, "billing_mappings/end_date" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "end_date", "COLUMN_TYPE" : "datetime", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "billing_mappings", "key_col" : "billing_mappings/end_date" }, "billing_mappings/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "billing_mappings", "key_col" : "billing_mappings/id" }, "billing_mappings/network_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "network_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "billing_mappings", "key_col" : "billing_mappings/network_id" }, "billing_mappings/product_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "product_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "billing_mappings", "key_col" : "billing_mappings/product_id" }, "billing_mappings/start_date" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "start_date", "COLUMN_TYPE" : "datetime", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "billing_mappings", "key_col" : "billing_mappings/start_date" }, "billing_network_blocks/_ipv4_net_from" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "_ipv4_net_from", "COLUMN_TYPE" : "varbinary(4)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "billing_network_blocks", "key_col" : "billing_network_blocks/_ipv4_net_from" }, "billing_network_blocks/_ipv4_net_to" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "_ipv4_net_to", "COLUMN_TYPE" : "varbinary(4)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "billing_network_blocks", "key_col" : "billing_network_blocks/_ipv4_net_to" }, "billing_network_blocks/_ipv6_net_from" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "_ipv6_net_from", "COLUMN_TYPE" : "varbinary(16)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "billing_network_blocks", "key_col" : "billing_network_blocks/_ipv6_net_from" }, "billing_network_blocks/_ipv6_net_to" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "_ipv6_net_to", "COLUMN_TYPE" : "varbinary(16)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "billing_network_blocks", "key_col" : "billing_network_blocks/_ipv6_net_to" }, "billing_network_blocks/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "billing_network_blocks", "key_col" : "billing_network_blocks/id" }, "billing_network_blocks/ip" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "ip", "COLUMN_TYPE" : "varchar(39)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "billing_network_blocks", "key_col" : "billing_network_blocks/ip" }, "billing_network_blocks/mask" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "mask", "COLUMN_TYPE" : "tinyint(1) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "billing_network_blocks", "key_col" : "billing_network_blocks/mask" }, "billing_network_blocks/network_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "network_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "billing_network_blocks", "key_col" : "billing_network_blocks/network_id" }, "billing_networks/description" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "description", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "billing_networks", "key_col" : "billing_networks/description" }, "billing_networks/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "billing_networks", "key_col" : "billing_networks/id" }, "billing_networks/name" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "name", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "billing_networks", "key_col" : "billing_networks/name" }, "billing_networks/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "billing_networks", "key_col" : "billing_networks/reseller_id" }, "billing_networks/status" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'active'", "COLUMN_NAME" : "status", "COLUMN_TYPE" : "enum('active','terminated')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "billing_networks", "key_col" : "billing_networks/status" }, "billing_peaktime_special/billing_profile_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "billing_profile_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "billing_peaktime_special", "key_col" : "billing_peaktime_special/billing_profile_id" }, "billing_peaktime_special/end" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "end", "COLUMN_TYPE" : "datetime", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "billing_peaktime_special", "key_col" : "billing_peaktime_special/end" }, "billing_peaktime_special/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "billing_peaktime_special", "key_col" : "billing_peaktime_special/id" }, "billing_peaktime_special/start" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "start", "COLUMN_TYPE" : "datetime", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "billing_peaktime_special", "key_col" : "billing_peaktime_special/start" }, "billing_peaktime_weekdays/billing_profile_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "billing_profile_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "billing_peaktime_weekdays", "key_col" : "billing_peaktime_weekdays/billing_profile_id" }, "billing_peaktime_weekdays/end" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "end", "COLUMN_TYPE" : "time", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "billing_peaktime_weekdays", "key_col" : "billing_peaktime_weekdays/end" }, "billing_peaktime_weekdays/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "billing_peaktime_weekdays", "key_col" : "billing_peaktime_weekdays/id" }, "billing_peaktime_weekdays/start" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "start", "COLUMN_TYPE" : "time", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "billing_peaktime_weekdays", "key_col" : "billing_peaktime_weekdays/start" }, "billing_peaktime_weekdays/weekday" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "weekday", "COLUMN_TYPE" : "tinyint(3) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "billing_peaktime_weekdays", "key_col" : "billing_peaktime_weekdays/weekday" }, "billing_profiles/advice_of_charge" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "advice_of_charge", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 23, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/advice_of_charge" }, "billing_profiles/create_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "'0000-00-00 00:00:00'", "COLUMN_NAME" : "create_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 21, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/create_timestamp" }, "billing_profiles/currency" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "currency", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 18, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/currency" }, "billing_profiles/fraud_daily_limit" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "fraud_daily_limit", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 14, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/fraud_daily_limit" }, "billing_profiles/fraud_daily_lock" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "fraud_daily_lock", "COLUMN_TYPE" : "tinyint(3) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 15, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/fraud_daily_lock" }, "billing_profiles/fraud_daily_notify" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "fraud_daily_notify", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 16, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/fraud_daily_notify" }, "billing_profiles/fraud_interval_limit" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "fraud_interval_limit", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/fraud_interval_limit" }, "billing_profiles/fraud_interval_lock" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "fraud_interval_lock", "COLUMN_TYPE" : "tinyint(3) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 12, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/fraud_interval_lock" }, "billing_profiles/fraud_interval_notify" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "fraud_interval_notify", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 13, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/fraud_interval_notify" }, "billing_profiles/fraud_use_reseller_rates" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "fraud_use_reseller_rates", "COLUMN_TYPE" : "tinyint(3) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 17, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/fraud_use_reseller_rates" }, "billing_profiles/handle" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "handle", "COLUMN_TYPE" : "varchar(63)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/handle" }, "billing_profiles/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/id" }, "billing_profiles/ignore_domain" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "ignore_domain", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 25, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/ignore_domain" }, "billing_profiles/interval_charge" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "interval_charge", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/interval_charge" }, "billing_profiles/interval_count" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "1", "COLUMN_NAME" : "interval_count", "COLUMN_TYPE" : "tinyint(3) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/interval_count" }, "billing_profiles/interval_free_cash" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "interval_free_cash", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/interval_free_cash" }, "billing_profiles/interval_free_time" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "interval_free_time", "COLUMN_TYPE" : "int(5)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/interval_free_time" }, "billing_profiles/interval_unit" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'month'", "COLUMN_NAME" : "interval_unit", "COLUMN_TYPE" : "enum('week','month')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/interval_unit" }, "billing_profiles/modify_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "current_timestamp()", "COLUMN_NAME" : "modify_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "on update current_timestamp()", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 20, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/modify_timestamp" }, "billing_profiles/name" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "name", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/name" }, "billing_profiles/prepaid" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "prepaid", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/prepaid" }, "billing_profiles/prepaid_library" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'libswrate'", "COLUMN_NAME" : "prepaid_library", "COLUMN_TYPE" : "enum('libswrate','libinewrate')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 24, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/prepaid_library" }, "billing_profiles/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/reseller_id" }, "billing_profiles/status" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'active'", "COLUMN_NAME" : "status", "COLUMN_TYPE" : "enum('active','terminated')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 19, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/status" }, "billing_profiles/terminate_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "'0000-00-00 00:00:00'", "COLUMN_NAME" : "terminate_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 22, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/terminate_timestamp" }, "billing_zones/billing_profile_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "billing_profile_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "billing_zones", "key_col" : "billing_zones/billing_profile_id" }, "billing_zones/detail" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "detail", "COLUMN_TYPE" : "varchar(127)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "billing_zones", "key_col" : "billing_zones/detail" }, "billing_zones/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "billing_zones", "key_col" : "billing_zones/id" }, "billing_zones/zone" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "zone", "COLUMN_TYPE" : "varchar(127)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "billing_zones", "key_col" : "billing_zones/zone" }, "billing_zones_history/billing_profile_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "billing_profile_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "billing_zones_history", "key_col" : "billing_zones_history/billing_profile_id" }, "billing_zones_history/bz_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "bz_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "billing_zones_history", "key_col" : "billing_zones_history/bz_id" }, "billing_zones_history/detail" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "detail", "COLUMN_TYPE" : "varchar(127)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "billing_zones_history", "key_col" : "billing_zones_history/detail" }, "billing_zones_history/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "billing_zones_history", "key_col" : "billing_zones_history/id" }, "billing_zones_history/zone" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "zone", "COLUMN_TYPE" : "varchar(127)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "billing_zones_history", "key_col" : "billing_zones_history/zone" }, "call_list_suppressions/direction" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'outgoing'", "COLUMN_NAME" : "direction", "COLUMN_TYPE" : "enum('outgoing','incoming')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "call_list_suppressions", "key_col" : "call_list_suppressions/direction" }, "call_list_suppressions/domain" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "''", "COLUMN_NAME" : "domain", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "call_list_suppressions", "key_col" : "call_list_suppressions/domain" }, "call_list_suppressions/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "call_list_suppressions", "key_col" : "call_list_suppressions/id" }, "call_list_suppressions/label" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'obfuscated'", "COLUMN_NAME" : "label", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "call_list_suppressions", "key_col" : "call_list_suppressions/label" }, "call_list_suppressions/mode" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'disabled'", "COLUMN_NAME" : "mode", "COLUMN_TYPE" : "enum('disabled','filter','obfuscate')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "call_list_suppressions", "key_col" : "call_list_suppressions/mode" }, "call_list_suppressions/pattern" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'.'", "COLUMN_NAME" : "pattern", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "call_list_suppressions", "key_col" : "call_list_suppressions/pattern" }, "contacts/bankname" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "bankname", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 22, "TABLE_NAME" : "contacts", "key_col" : "contacts/bankname" }, "contacts/bic" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "bic", "COLUMN_TYPE" : "varchar(11)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 20, "TABLE_NAME" : "contacts", "key_col" : "contacts/bic" }, "contacts/city" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "city", "COLUMN_TYPE" : "varchar(127)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "contacts", "key_col" : "contacts/city" }, "contacts/company" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "company", "COLUMN_TYPE" : "varchar(127)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "contacts", "key_col" : "contacts/company" }, "contacts/comregnum" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "comregnum", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "contacts", "key_col" : "contacts/comregnum" }, "contacts/country" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "country", "COLUMN_TYPE" : "char(2)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "contacts", "key_col" : "contacts/country" }, "contacts/create_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "'0000-00-00 00:00:00'", "COLUMN_NAME" : "create_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 17, "TABLE_NAME" : "contacts", "key_col" : "contacts/create_timestamp" }, "contacts/email" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "email", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 14, "TABLE_NAME" : "contacts", "key_col" : "contacts/email" }, "contacts/faxnumber" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "faxnumber", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 18, "TABLE_NAME" : "contacts", "key_col" : "contacts/faxnumber" }, "contacts/firstname" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "firstname", "COLUMN_TYPE" : "varchar(127)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "contacts", "key_col" : "contacts/firstname" }, "contacts/gender" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "gender", "COLUMN_TYPE" : "enum('male','female')", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "contacts", "key_col" : "contacts/gender" }, "contacts/gpp0" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "gpp0", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 23, "TABLE_NAME" : "contacts", "key_col" : "contacts/gpp0" }, "contacts/gpp1" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "gpp1", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 24, "TABLE_NAME" : "contacts", "key_col" : "contacts/gpp1" }, "contacts/gpp2" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "gpp2", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 25, "TABLE_NAME" : "contacts", "key_col" : "contacts/gpp2" }, "contacts/gpp3" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "gpp3", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 26, "TABLE_NAME" : "contacts", "key_col" : "contacts/gpp3" }, "contacts/gpp4" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "gpp4", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 27, "TABLE_NAME" : "contacts", "key_col" : "contacts/gpp4" }, "contacts/gpp5" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "gpp5", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 28, "TABLE_NAME" : "contacts", "key_col" : "contacts/gpp5" }, "contacts/gpp6" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "gpp6", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 29, "TABLE_NAME" : "contacts", "key_col" : "contacts/gpp6" }, "contacts/gpp7" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "gpp7", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 30, "TABLE_NAME" : "contacts", "key_col" : "contacts/gpp7" }, "contacts/gpp8" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "gpp8", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 31, "TABLE_NAME" : "contacts", "key_col" : "contacts/gpp8" }, "contacts/gpp9" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "gpp9", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 32, "TABLE_NAME" : "contacts", "key_col" : "contacts/gpp9" }, "contacts/iban" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "iban", "COLUMN_TYPE" : "varchar(34)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 19, "TABLE_NAME" : "contacts", "key_col" : "contacts/iban" }, "contacts/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "contacts", "key_col" : "contacts/id" }, "contacts/lastname" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "lastname", "COLUMN_TYPE" : "varchar(127)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "contacts", "key_col" : "contacts/lastname" }, "contacts/mobilenumber" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "mobilenumber", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 13, "TABLE_NAME" : "contacts", "key_col" : "contacts/mobilenumber" }, "contacts/modify_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "current_timestamp()", "COLUMN_NAME" : "modify_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "on update current_timestamp()", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 16, "TABLE_NAME" : "contacts", "key_col" : "contacts/modify_timestamp" }, "contacts/newsletter" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "newsletter", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 15, "TABLE_NAME" : "contacts", "key_col" : "contacts/newsletter" }, "contacts/phonenumber" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "phonenumber", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 12, "TABLE_NAME" : "contacts", "key_col" : "contacts/phonenumber" }, "contacts/postcode" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "postcode", "COLUMN_TYPE" : "varchar(16)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "contacts", "key_col" : "contacts/postcode" }, "contacts/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "contacts", "key_col" : "contacts/reseller_id" }, "contacts/status" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'active'", "COLUMN_NAME" : "status", "COLUMN_TYPE" : "enum('active','terminated')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 33, "TABLE_NAME" : "contacts", "key_col" : "contacts/status" }, "contacts/street" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "street", "COLUMN_TYPE" : "varchar(127)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "contacts", "key_col" : "contacts/street" }, "contacts/terminate_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "terminate_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 34, "TABLE_NAME" : "contacts", "key_col" : "contacts/terminate_timestamp" }, "contacts/timezone" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "timezone", "COLUMN_TYPE" : "varchar(80)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 35, "TABLE_NAME" : "contacts", "key_col" : "contacts/timezone" }, "contacts/vatnum" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "vatnum", "COLUMN_TYPE" : "varchar(127)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 21, "TABLE_NAME" : "contacts", "key_col" : "contacts/vatnum" }, "contract_balances/cash_balance" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "cash_balance", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/cash_balance" }, "contract_balances/cash_balance_interval" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "cash_balance_interval", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/cash_balance_interval" }, "contract_balances/contract_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "contract_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/contract_id" }, "contract_balances/end" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "end", "COLUMN_TYPE" : "datetime", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/end" }, "contract_balances/free_time_balance" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "free_time_balance", "COLUMN_TYPE" : "int(11)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/free_time_balance" }, "contract_balances/free_time_balance_interval" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "free_time_balance_interval", "COLUMN_TYPE" : "int(11)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/free_time_balance_interval" }, "contract_balances/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/id" }, "contract_balances/initial_cash_balance" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "initial_cash_balance", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 14, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/initial_cash_balance" }, "contract_balances/initial_free_time_balance" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "initial_free_time_balance", "COLUMN_TYPE" : "int(11)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 15, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/initial_free_time_balance" }, "contract_balances/invoice_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "invoice_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/invoice_id" }, "contract_balances/start" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "start", "COLUMN_TYPE" : "datetime", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/start" }, "contract_balances/timely_topup_count" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "timely_topup_count", "COLUMN_TYPE" : "int(3) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/timely_topup_count" }, "contract_balances/topup_count" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "topup_count", "COLUMN_TYPE" : "int(3) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/topup_count" }, "contract_balances/underrun_lock" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "underrun_lock", "COLUMN_TYPE" : "datetime", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 13, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/underrun_lock" }, "contract_balances/underrun_profiles" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "underrun_profiles", "COLUMN_TYPE" : "datetime", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 12, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/underrun_profiles" }, "contract_credits/amount" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "amount", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "contract_credits", "key_col" : "contract_credits/amount" }, "contract_credits/balance_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "balance_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "contract_credits", "key_col" : "contract_credits/balance_id" }, "contract_credits/create_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "'0000-00-00 00:00:00'", "COLUMN_NAME" : "create_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "contract_credits", "key_col" : "contract_credits/create_timestamp" }, "contract_credits/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "contract_credits", "key_col" : "contract_credits/id" }, "contract_credits/modify_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "current_timestamp()", "COLUMN_NAME" : "modify_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "on update current_timestamp()", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "contract_credits", "key_col" : "contract_credits/modify_timestamp" }, "contract_credits/reason" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reason", "COLUMN_TYPE" : "text", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "contract_credits", "key_col" : "contract_credits/reason" }, "contract_credits/state" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'init'", "COLUMN_NAME" : "state", "COLUMN_TYPE" : "enum('init','transact','charged','failed','success')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "contract_credits", "key_col" : "contract_credits/state" }, "contract_fraud_preferences/contract_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "contract_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "contract_fraud_preferences", "key_col" : "contract_fraud_preferences/contract_id" }, "contract_fraud_preferences/fraud_daily_limit" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "fraud_daily_limit", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "contract_fraud_preferences", "key_col" : "contract_fraud_preferences/fraud_daily_limit" }, "contract_fraud_preferences/fraud_daily_lock" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "fraud_daily_lock", "COLUMN_TYPE" : "tinyint(3) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "contract_fraud_preferences", "key_col" : "contract_fraud_preferences/fraud_daily_lock" }, "contract_fraud_preferences/fraud_daily_notify" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "fraud_daily_notify", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "contract_fraud_preferences", "key_col" : "contract_fraud_preferences/fraud_daily_notify" }, "contract_fraud_preferences/fraud_interval_limit" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "fraud_interval_limit", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "contract_fraud_preferences", "key_col" : "contract_fraud_preferences/fraud_interval_limit" }, "contract_fraud_preferences/fraud_interval_lock" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "fraud_interval_lock", "COLUMN_TYPE" : "tinyint(3) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "contract_fraud_preferences", "key_col" : "contract_fraud_preferences/fraud_interval_lock" }, "contract_fraud_preferences/fraud_interval_notify" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "fraud_interval_notify", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "contract_fraud_preferences", "key_col" : "contract_fraud_preferences/fraud_interval_notify" }, "contract_fraud_preferences/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "contract_fraud_preferences", "key_col" : "contract_fraud_preferences/id" }, "contract_phonebook/contract_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "contract_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "contract_phonebook", "key_col" : "contract_phonebook/contract_id" }, "contract_phonebook/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "contract_phonebook", "key_col" : "contract_phonebook/id" }, "contract_phonebook/name" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "name", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "contract_phonebook", "key_col" : "contract_phonebook/name" }, "contract_phonebook/number" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "number", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "contract_phonebook", "key_col" : "contract_phonebook/number" }, "contract_registers/actor" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "actor", "COLUMN_TYPE" : "varchar(15)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "contract_registers", "key_col" : "contract_registers/actor" }, "contract_registers/contract_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "contract_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "contract_registers", "key_col" : "contract_registers/contract_id" }, "contract_registers/data" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "data", "COLUMN_TYPE" : "text", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "contract_registers", "key_col" : "contract_registers/data" }, "contract_registers/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "contract_registers", "key_col" : "contract_registers/id" }, "contract_registers/type" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "type", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "contract_registers", "key_col" : "contract_registers/type" }, "contracts/activate_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "activate_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "contracts", "key_col" : "contracts/activate_timestamp" }, "contracts/add_vat" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "add_vat", "COLUMN_TYPE" : "tinyint(1) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 19, "TABLE_NAME" : "contracts", "key_col" : "contracts/add_vat" }, "contracts/contact_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "contact_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "contracts", "key_col" : "contracts/contact_id" }, "contracts/create_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "'0000-00-00 00:00:00'", "COLUMN_NAME" : "create_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "contracts", "key_col" : "contracts/create_timestamp" }, "contracts/customer_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "customer_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "contracts", "key_col" : "contracts/customer_id" }, "contracts/external_id" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "external_id", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "contracts", "key_col" : "contracts/external_id" }, "contracts/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "contracts", "key_col" : "contracts/id" }, "contracts/invoice_email_template_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "invoice_email_template_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 16, "TABLE_NAME" : "contracts", "key_col" : "contracts/invoice_email_template_id" }, "contracts/invoice_template_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "invoice_template_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 17, "TABLE_NAME" : "contracts", "key_col" : "contracts/invoice_template_id" }, "contracts/max_subscribers" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "max_subscribers", "COLUMN_TYPE" : "int(6) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 12, "TABLE_NAME" : "contracts", "key_col" : "contracts/max_subscribers" }, "contracts/modify_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "current_timestamp()", "COLUMN_NAME" : "modify_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "on update current_timestamp()", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "contracts", "key_col" : "contracts/modify_timestamp" }, "contracts/order_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "order_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "contracts", "key_col" : "contracts/order_id" }, "contracts/passreset_email_template_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "passreset_email_template_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 15, "TABLE_NAME" : "contracts", "key_col" : "contracts/passreset_email_template_id" }, "contracts/product_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "product_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 20, "TABLE_NAME" : "contracts", "key_col" : "contracts/product_id" }, "contracts/profile_package_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "profile_package_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "contracts", "key_col" : "contracts/profile_package_id" }, "contracts/send_invoice" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "1", "COLUMN_NAME" : "send_invoice", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 13, "TABLE_NAME" : "contracts", "key_col" : "contracts/send_invoice" }, "contracts/status" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'active'", "COLUMN_NAME" : "status", "COLUMN_TYPE" : "enum('pending','active','locked','terminated')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "contracts", "key_col" : "contracts/status" }, "contracts/subscriber_email_template_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "subscriber_email_template_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 14, "TABLE_NAME" : "contracts", "key_col" : "contracts/subscriber_email_template_id" }, "contracts/terminate_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "terminate_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "contracts", "key_col" : "contracts/terminate_timestamp" }, "contracts/vat_rate" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0.000000", "COLUMN_NAME" : "vat_rate", "COLUMN_TYPE" : "decimal(14,6)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 18, "TABLE_NAME" : "contracts", "key_col" : "contracts/vat_rate" }, "contracts_billing_profile_network/base" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "base", "COLUMN_TYPE" : "tinyint(3)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/base" }, "contracts_billing_profile_network/billing_network_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "billing_network_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/billing_network_id" }, "contracts_billing_profile_network/billing_profile_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "billing_profile_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/billing_profile_id" }, "contracts_billing_profile_network/contract_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "contract_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/contract_id" }, "contracts_billing_profile_network/end_date" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "end_date", "COLUMN_TYPE" : "datetime", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/end_date" }, "contracts_billing_profile_network/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/id" }, "contracts_billing_profile_network/start_date" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "start_date", "COLUMN_TYPE" : "datetime", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/start_date" }, "contracts_billing_profile_network_schedule/effective_start_time" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "effective_start_time", "COLUMN_TYPE" : "decimal(13,3)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "contracts_billing_profile_network_schedule", "key_col" : "contracts_billing_profile_network_schedule/effective_start_time" }, "contracts_billing_profile_network_schedule/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "contracts_billing_profile_network_schedule", "key_col" : "contracts_billing_profile_network_schedule/id" }, "contracts_billing_profile_network_schedule/profile_network_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "profile_network_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "contracts_billing_profile_network_schedule", "key_col" : "contracts_billing_profile_network_schedule/profile_network_id" }, "credit_payments/credit_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "credit_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "credit_payments", "key_col" : "credit_payments/credit_id" }, "credit_payments/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "credit_payments", "key_col" : "credit_payments/id" }, "credit_payments/payment_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "payment_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "credit_payments", "key_col" : "credit_payments/payment_id" }, "customer_registers/actor" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "actor", "COLUMN_TYPE" : "varchar(15)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "customer_registers", "key_col" : "customer_registers/actor" }, "customer_registers/customer_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "customer_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "customer_registers", "key_col" : "customer_registers/customer_id" }, "customer_registers/data" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "data", "COLUMN_TYPE" : "text", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "customer_registers", "key_col" : "customer_registers/data" }, "customer_registers/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "customer_registers", "key_col" : "customer_registers/id" }, "customer_registers/type" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "type", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "customer_registers", "key_col" : "customer_registers/type" }, "customers/business" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "business", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "customers", "key_col" : "customers/business" }, "customers/comm_contact_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "comm_contact_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "customers", "key_col" : "customers/comm_contact_id" }, "customers/contact_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "contact_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "customers", "key_col" : "customers/contact_id" }, "customers/create_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "'0000-00-00 00:00:00'", "COLUMN_NAME" : "create_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "customers", "key_col" : "customers/create_timestamp" }, "customers/external_id" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "external_id", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "customers", "key_col" : "customers/external_id" }, "customers/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "customers", "key_col" : "customers/id" }, "customers/modify_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "current_timestamp()", "COLUMN_NAME" : "modify_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "on update current_timestamp()", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "customers", "key_col" : "customers/modify_timestamp" }, "customers/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "customers", "key_col" : "customers/reseller_id" }, "customers/shoppass" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "shoppass", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "customers", "key_col" : "customers/shoppass" }, "customers/shopuser" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "shopuser", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "customers", "key_col" : "customers/shopuser" }, "customers/tech_contact_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "tech_contact_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "customers", "key_col" : "customers/tech_contact_id" }, "domain_resellers/domain_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "domain_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "domain_resellers", "key_col" : "domain_resellers/domain_id" }, "domain_resellers/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "domain_resellers", "key_col" : "domain_resellers/id" }, "domain_resellers/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "domain_resellers", "key_col" : "domain_resellers/reseller_id" }, "domains/domain" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "domain", "COLUMN_TYPE" : "varchar(127)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "domains", "key_col" : "domains/domain" }, "domains/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "domains", "key_col" : "domains/id" }, "domains/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "domains", "key_col" : "domains/reseller_id" }, "email_templates/attachment_name" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "''", "COLUMN_NAME" : "attachment_name", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "email_templates", "key_col" : "email_templates/attachment_name" }, "email_templates/body" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "body", "COLUMN_TYPE" : "mediumtext", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "email_templates", "key_col" : "email_templates/body" }, "email_templates/from_email" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "from_email", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "email_templates", "key_col" : "email_templates/from_email" }, "email_templates/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "email_templates", "key_col" : "email_templates/id" }, "email_templates/name" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "name", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "email_templates", "key_col" : "email_templates/name" }, "email_templates/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "email_templates", "key_col" : "email_templates/reseller_id" }, "email_templates/subject" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "subject", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "email_templates", "key_col" : "email_templates/subject" }, "invoice_templates/call_direction" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'out'", "COLUMN_NAME" : "call_direction", "COLUMN_TYPE" : "enum('in','out','in_out')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "invoice_templates", "key_col" : "invoice_templates/call_direction" }, "invoice_templates/category" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'customer'", "COLUMN_NAME" : "category", "COLUMN_TYPE" : "enum('customer','peer','reseller','did')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "invoice_templates", "key_col" : "invoice_templates/category" }, "invoice_templates/data" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "data", "COLUMN_TYPE" : "mediumblob", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "invoice_templates", "key_col" : "invoice_templates/data" }, "invoice_templates/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "invoice_templates", "key_col" : "invoice_templates/id" }, "invoice_templates/name" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "''", "COLUMN_NAME" : "name", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "invoice_templates", "key_col" : "invoice_templates/name" }, "invoice_templates/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "invoice_templates", "key_col" : "invoice_templates/reseller_id" }, "invoice_templates/type" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'svg'", "COLUMN_NAME" : "type", "COLUMN_TYPE" : "enum('svg','html')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "invoice_templates", "key_col" : "invoice_templates/type" }, "invoices/amount_net" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "amount_net", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "invoices", "key_col" : "invoices/amount_net" }, "invoices/amount_total" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "amount_total", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "invoices", "key_col" : "invoices/amount_total" }, "invoices/amount_vat" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "amount_vat", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "invoices", "key_col" : "invoices/amount_vat" }, "invoices/contract_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "contract_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "invoices", "key_col" : "invoices/contract_id" }, "invoices/data" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "data", "COLUMN_TYPE" : "longblob", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "invoices", "key_col" : "invoices/data" }, "invoices/generator" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "generator", "COLUMN_TYPE" : "enum('auto','web')", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "invoices", "key_col" : "invoices/generator" }, "invoices/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "invoices", "key_col" : "invoices/id" }, "invoices/period_end" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "period_end", "COLUMN_TYPE" : "datetime", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "invoices", "key_col" : "invoices/period_end" }, "invoices/period_start" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "period_start", "COLUMN_TYPE" : "datetime", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "invoices", "key_col" : "invoices/period_start" }, "invoices/sent_date" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "sent_date", "COLUMN_TYPE" : "datetime", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "invoices", "key_col" : "invoices/sent_date" }, "invoices/serial" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "serial", "COLUMN_TYPE" : "varchar(32)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "invoices", "key_col" : "invoices/serial" }, "journals/content" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "content", "COLUMN_TYPE" : "longblob", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "journals", "key_col" : "journals/content" }, "journals/content_format" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'json'", "COLUMN_NAME" : "content_format", "COLUMN_TYPE" : "enum('storable','json','json_deflate','sereal')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "journals", "key_col" : "journals/content_format" }, "journals/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "journals", "key_col" : "journals/id" }, "journals/operation" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'create'", "COLUMN_NAME" : "operation", "COLUMN_TYPE" : "enum('create','update','delete')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "journals", "key_col" : "journals/operation" }, "journals/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "journals", "key_col" : "journals/reseller_id" }, "journals/resource_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "resource_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "journals", "key_col" : "journals/resource_id" }, "journals/resource_name" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "resource_name", "COLUMN_TYPE" : "varchar(64)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "journals", "key_col" : "journals/resource_name" }, "journals/role_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "role_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 12, "TABLE_NAME" : "journals", "key_col" : "journals/role_id" }, "journals/timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "timestamp", "COLUMN_TYPE" : "decimal(13,3)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "journals", "key_col" : "journals/timestamp" }, "journals/tx_id" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "tx_id", "COLUMN_TYPE" : "varchar(36)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "journals", "key_col" : "journals/tx_id" }, "journals/user_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "user_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "journals", "key_col" : "journals/user_id" }, "journals/username" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "username", "COLUMN_TYPE" : "varchar(127)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "journals", "key_col" : "journals/username" }, "lnp_numbers/end" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "end", "COLUMN_TYPE" : "datetime", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "lnp_numbers", "key_col" : "lnp_numbers/end" }, "lnp_numbers/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "lnp_numbers", "key_col" : "lnp_numbers/id" }, "lnp_numbers/lnp_provider_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "lnp_provider_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "lnp_numbers", "key_col" : "lnp_numbers/lnp_provider_id" }, "lnp_numbers/number" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "number", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "lnp_numbers", "key_col" : "lnp_numbers/number" }, "lnp_numbers/routing_number" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "routing_number", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "lnp_numbers", "key_col" : "lnp_numbers/routing_number" }, "lnp_numbers/start" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "start", "COLUMN_TYPE" : "datetime", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "lnp_numbers", "key_col" : "lnp_numbers/start" }, "lnp_numbers/type" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "type", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "lnp_numbers", "key_col" : "lnp_numbers/type" }, "lnp_providers/authoritative" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "authoritative", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "lnp_providers", "key_col" : "lnp_providers/authoritative" }, "lnp_providers/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "lnp_providers", "key_col" : "lnp_providers/id" }, "lnp_providers/name" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "name", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "lnp_providers", "key_col" : "lnp_providers/name" }, "lnp_providers/prefix" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "''", "COLUMN_NAME" : "prefix", "COLUMN_TYPE" : "varchar(32)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "lnp_providers", "key_col" : "lnp_providers/prefix" }, "lnp_providers/skip_rewrite" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "skip_rewrite", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "lnp_providers", "key_col" : "lnp_providers/skip_rewrite" }, "ncos_levels/description" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "description", "COLUMN_TYPE" : "text", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels/description" }, "ncos_levels/expose_to_customer" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "expose_to_customer", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels/expose_to_customer" }, "ncos_levels/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels/id" }, "ncos_levels/intra_pbx" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "intra_pbx", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels/intra_pbx" }, "ncos_levels/level" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "level", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels/level" }, "ncos_levels/local_ac" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "local_ac", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels/local_ac" }, "ncos_levels/mode" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'blacklist'", "COLUMN_NAME" : "mode", "COLUMN_TYPE" : "enum('blacklist','whitelist')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels/mode" }, "ncos_levels/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels/reseller_id" }, "ncos_levels/time_set_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "time_set_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels/time_set_id" }, "ncos_levels/time_set_invert" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "time_set_invert", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels/time_set_invert" }, "ncos_lnp_list/description" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "description", "COLUMN_TYPE" : "text", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "ncos_lnp_list", "key_col" : "ncos_lnp_list/description" }, "ncos_lnp_list/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "ncos_lnp_list", "key_col" : "ncos_lnp_list/id" }, "ncos_lnp_list/lnp_provider_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "lnp_provider_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "ncos_lnp_list", "key_col" : "ncos_lnp_list/lnp_provider_id" }, "ncos_lnp_list/ncos_level_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "ncos_level_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "ncos_lnp_list", "key_col" : "ncos_lnp_list/ncos_level_id" }, "ncos_lnp_pattern_list/description" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "description", "COLUMN_TYPE" : "text", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "ncos_lnp_pattern_list", "key_col" : "ncos_lnp_pattern_list/description" }, "ncos_lnp_pattern_list/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "ncos_lnp_pattern_list", "key_col" : "ncos_lnp_pattern_list/id" }, "ncos_lnp_pattern_list/ncos_lnp_list_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "ncos_lnp_list_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "ncos_lnp_pattern_list", "key_col" : "ncos_lnp_pattern_list/ncos_lnp_list_id" }, "ncos_lnp_pattern_list/pattern" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "pattern", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "ncos_lnp_pattern_list", "key_col" : "ncos_lnp_pattern_list/pattern" }, "ncos_pattern_list/description" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "description", "COLUMN_TYPE" : "text", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "ncos_pattern_list", "key_col" : "ncos_pattern_list/description" }, "ncos_pattern_list/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "ncos_pattern_list", "key_col" : "ncos_pattern_list/id" }, "ncos_pattern_list/ncos_level_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "ncos_level_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "ncos_pattern_list", "key_col" : "ncos_pattern_list/ncos_level_id" }, "ncos_pattern_list/pattern" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "pattern", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "ncos_pattern_list", "key_col" : "ncos_pattern_list/pattern" }, "ncos_set_levels/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "ncos_set_levels", "key_col" : "ncos_set_levels/id" }, "ncos_set_levels/ncos_level_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "ncos_level_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "ncos_set_levels", "key_col" : "ncos_set_levels/ncos_level_id" }, "ncos_set_levels/ncos_set_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "ncos_set_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "ncos_set_levels", "key_col" : "ncos_set_levels/ncos_set_id" }, "ncos_sets/description" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "description", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "ncos_sets", "key_col" : "ncos_sets/description" }, "ncos_sets/expose_to_customer" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "expose_to_customer", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "ncos_sets", "key_col" : "ncos_sets/expose_to_customer" }, "ncos_sets/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "ncos_sets", "key_col" : "ncos_sets/id" }, "ncos_sets/name" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "name", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "ncos_sets", "key_col" : "ncos_sets/name" }, "ncos_sets/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "ncos_sets", "key_col" : "ncos_sets/reseller_id" }, "order_payments/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "order_payments", "key_col" : "order_payments/id" }, "order_payments/order_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "order_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "order_payments", "key_col" : "order_payments/order_id" }, "order_payments/payment_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "payment_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "order_payments", "key_col" : "order_payments/payment_id" }, "orders/complete_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "'0000-00-00 00:00:00'", "COLUMN_NAME" : "complete_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 12, "TABLE_NAME" : "orders", "key_col" : "orders/complete_timestamp" }, "orders/create_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "'0000-00-00 00:00:00'", "COLUMN_NAME" : "create_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "orders", "key_col" : "orders/create_timestamp" }, "orders/customer_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "customer_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "orders", "key_col" : "orders/customer_id" }, "orders/delivery_contact_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "delivery_contact_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "orders", "key_col" : "orders/delivery_contact_id" }, "orders/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "orders", "key_col" : "orders/id" }, "orders/invoice_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "invoice_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "orders", "key_col" : "orders/invoice_id" }, "orders/modify_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "current_timestamp()", "COLUMN_NAME" : "modify_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "on update current_timestamp()", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "orders", "key_col" : "orders/modify_timestamp" }, "orders/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "orders", "key_col" : "orders/reseller_id" }, "orders/shipping_costs" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "shipping_costs", "COLUMN_TYPE" : "int(11)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "orders", "key_col" : "orders/shipping_costs" }, "orders/state" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'init'", "COLUMN_NAME" : "state", "COLUMN_TYPE" : "enum('init','transact','failed','success')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "orders", "key_col" : "orders/state" }, "orders/type" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "type", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "orders", "key_col" : "orders/type" }, "orders/value" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "value", "COLUMN_TYPE" : "int(11)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "orders", "key_col" : "orders/value" }, "package_profile_sets/discriminator" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "discriminator", "COLUMN_TYPE" : "enum('initial','underrun','topup')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "package_profile_sets", "key_col" : "package_profile_sets/discriminator" }, "package_profile_sets/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "package_profile_sets", "key_col" : "package_profile_sets/id" }, "package_profile_sets/network_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "network_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "package_profile_sets", "key_col" : "package_profile_sets/network_id" }, "package_profile_sets/package_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "package_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "package_profile_sets", "key_col" : "package_profile_sets/package_id" }, "package_profile_sets/profile_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "profile_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "package_profile_sets", "key_col" : "package_profile_sets/profile_id" }, "password_resets/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "password_resets", "key_col" : "password_resets/id" }, "password_resets/subscriber_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "subscriber_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "password_resets", "key_col" : "password_resets/subscriber_id" }, "password_resets/timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "timestamp", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "password_resets", "key_col" : "password_resets/timestamp" }, "password_resets/uuid" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "uuid", "COLUMN_TYPE" : "char(36)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "password_resets", "key_col" : "password_resets/uuid" }, "payments/amount" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "amount", "COLUMN_TYPE" : "int(11)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "payments", "key_col" : "payments/amount" }, "payments/create_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "'0000-00-00 00:00:00'", "COLUMN_NAME" : "create_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "payments", "key_col" : "payments/create_timestamp" }, "payments/errno" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "errno", "COLUMN_TYPE" : "int(11)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "payments", "key_col" : "payments/errno" }, "payments/externalstatus" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "externalstatus", "COLUMN_TYPE" : "text", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "payments", "key_col" : "payments/externalstatus" }, "payments/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "payments", "key_col" : "payments/id" }, "payments/modify_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "current_timestamp()", "COLUMN_NAME" : "modify_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "on update current_timestamp()", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "payments", "key_col" : "payments/modify_timestamp" }, "payments/mpaytid" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "mpaytid", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "payments", "key_col" : "payments/mpaytid" }, "payments/returncode" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "returncode", "COLUMN_TYPE" : "varchar(63)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "payments", "key_col" : "payments/returncode" }, "payments/state" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "state", "COLUMN_TYPE" : "enum('init','transact','failed','success')", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "payments", "key_col" : "payments/state" }, "payments/status" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "status", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "payments", "key_col" : "payments/status" }, "payments/type" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "type", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "payments", "key_col" : "payments/type" }, "products/billing_profile_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "billing_profile_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "products", "key_col" : "products/billing_profile_id" }, "products/class" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "class", "COLUMN_TYPE" : "enum('sippeering','pstnpeering','reseller','sipaccount','pbxaccount')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "products", "key_col" : "products/class" }, "products/handle" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "handle", "COLUMN_TYPE" : "varchar(63)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "products", "key_col" : "products/handle" }, "products/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "products", "key_col" : "products/id" }, "products/name" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "name", "COLUMN_TYPE" : "varchar(127)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "products", "key_col" : "products/name" }, "products/on_sale" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "on_sale", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "products", "key_col" : "products/on_sale" }, "products/price" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "price", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "products", "key_col" : "products/price" }, "products/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "products", "key_col" : "products/reseller_id" }, "products/weight" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "weight", "COLUMN_TYPE" : "mediumint(9) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "products", "key_col" : "products/weight" }, "profile_packages/balance_interval_start_mode" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'1st'", "COLUMN_NAME" : "balance_interval_start_mode", "COLUMN_TYPE" : "enum('create','create_tz','1st','1st_tz','topup','topup_interval')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/balance_interval_start_mode" }, "profile_packages/balance_interval_unit" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'month'", "COLUMN_NAME" : "balance_interval_unit", "COLUMN_TYPE" : "enum('minute','hour','day','week','month')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/balance_interval_unit" }, "profile_packages/balance_interval_value" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "1", "COLUMN_NAME" : "balance_interval_value", "COLUMN_TYPE" : "int(3) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/balance_interval_value" }, "profile_packages/carry_over_mode" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'carry_over'", "COLUMN_NAME" : "carry_over_mode", "COLUMN_TYPE" : "enum('carry_over','carry_over_timely','discard')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/carry_over_mode" }, "profile_packages/description" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "description", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/description" }, "profile_packages/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/id" }, "profile_packages/initial_balance" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "initial_balance", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/initial_balance" }, "profile_packages/name" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "name", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/name" }, "profile_packages/notopup_discard_intervals" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "notopup_discard_intervals", "COLUMN_TYPE" : "int(3) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 13, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/notopup_discard_intervals" }, "profile_packages/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/reseller_id" }, "profile_packages/service_charge" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "service_charge", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/service_charge" }, "profile_packages/timely_duration_unit" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "timely_duration_unit", "COLUMN_TYPE" : "enum('minute','hour','day','week','month')", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/timely_duration_unit" }, "profile_packages/timely_duration_value" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "timely_duration_value", "COLUMN_TYPE" : "int(3) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 12, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/timely_duration_value" }, "profile_packages/topup_lock_level" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "topup_lock_level", "COLUMN_TYPE" : "tinyint(3)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 17, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/topup_lock_level" }, "profile_packages/underrun_lock_level" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "underrun_lock_level", "COLUMN_TYPE" : "tinyint(3)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 15, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/underrun_lock_level" }, "profile_packages/underrun_lock_threshold" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "underrun_lock_threshold", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 14, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/underrun_lock_threshold" }, "profile_packages/underrun_profile_threshold" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "underrun_profile_threshold", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 16, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/underrun_profile_threshold" }, "provisioning_templates/create_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "'0000-00-00 00:00:00'", "COLUMN_NAME" : "create_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "provisioning_templates", "key_col" : "provisioning_templates/create_timestamp" }, "provisioning_templates/description" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "description", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "provisioning_templates", "key_col" : "provisioning_templates/description" }, "provisioning_templates/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "provisioning_templates", "key_col" : "provisioning_templates/id" }, "provisioning_templates/lang" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'js'", "COLUMN_NAME" : "lang", "COLUMN_TYPE" : "enum('perl','js')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "provisioning_templates", "key_col" : "provisioning_templates/lang" }, "provisioning_templates/modify_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "current_timestamp()", "COLUMN_NAME" : "modify_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "on update current_timestamp()", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "provisioning_templates", "key_col" : "provisioning_templates/modify_timestamp" }, "provisioning_templates/name" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "name", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "provisioning_templates", "key_col" : "provisioning_templates/name" }, "provisioning_templates/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "provisioning_templates", "key_col" : "provisioning_templates/reseller_id" }, "provisioning_templates/yaml" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "yaml", "COLUMN_TYPE" : "text", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "provisioning_templates", "key_col" : "provisioning_templates/yaml" }, "reseller_brandings/csc_color_primary" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "csc_color_primary", "COLUMN_TYPE" : "varchar(45)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "reseller_brandings", "key_col" : "reseller_brandings/csc_color_primary" }, "reseller_brandings/csc_color_secondary" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "csc_color_secondary", "COLUMN_TYPE" : "varchar(45)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "reseller_brandings", "key_col" : "reseller_brandings/csc_color_secondary" }, "reseller_brandings/css" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "css", "COLUMN_TYPE" : "mediumtext", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "reseller_brandings", "key_col" : "reseller_brandings/css" }, "reseller_brandings/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "reseller_brandings", "key_col" : "reseller_brandings/id" }, "reseller_brandings/logo" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "logo", "COLUMN_TYPE" : "mediumblob", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "reseller_brandings", "key_col" : "reseller_brandings/logo" }, "reseller_brandings/logo_image_type" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "logo_image_type", "COLUMN_TYPE" : "varchar(32)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "reseller_brandings", "key_col" : "reseller_brandings/logo_image_type" }, "reseller_brandings/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "reseller_brandings", "key_col" : "reseller_brandings/reseller_id" }, "reseller_phonebook/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "reseller_phonebook", "key_col" : "reseller_phonebook/id" }, "reseller_phonebook/name" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "name", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "reseller_phonebook", "key_col" : "reseller_phonebook/name" }, "reseller_phonebook/number" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "number", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "reseller_phonebook", "key_col" : "reseller_phonebook/number" }, "reseller_phonebook/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "reseller_phonebook", "key_col" : "reseller_phonebook/reseller_id" }, "resellers/contract_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "contract_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "resellers", "key_col" : "resellers/contract_id" }, "resellers/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "resellers", "key_col" : "resellers/id" }, "resellers/name" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "name", "COLUMN_TYPE" : "varchar(63)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "resellers", "key_col" : "resellers/name" }, "resellers/status" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'active'", "COLUMN_NAME" : "status", "COLUMN_TYPE" : "enum('active','locked','terminated')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "resellers", "key_col" : "resellers/status" }, "subscriber_phonebook/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "subscriber_phonebook", "key_col" : "subscriber_phonebook/id" }, "subscriber_phonebook/name" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "name", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "subscriber_phonebook", "key_col" : "subscriber_phonebook/name" }, "subscriber_phonebook/number" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "number", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "subscriber_phonebook", "key_col" : "subscriber_phonebook/number" }, "subscriber_phonebook/shared" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "shared", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "subscriber_phonebook", "key_col" : "subscriber_phonebook/shared" }, "subscriber_phonebook/subscriber_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "subscriber_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "subscriber_phonebook", "key_col" : "subscriber_phonebook/subscriber_id" }, "topup_log/amount" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "amount", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/amount" }, "topup_log/cash_balance_after" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "cash_balance_after", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 12, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/cash_balance_after" }, "topup_log/cash_balance_before" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "cash_balance_before", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/cash_balance_before" }, "topup_log/contract_balance_after_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "contract_balance_after_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 20, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/contract_balance_after_id" }, "topup_log/contract_balance_before_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "contract_balance_before_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 19, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/contract_balance_before_id" }, "topup_log/contract_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "contract_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/contract_id" }, "topup_log/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/id" }, "topup_log/lock_level_after" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "lock_level_after", "COLUMN_TYPE" : "tinyint(3)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 18, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/lock_level_after" }, "topup_log/lock_level_before" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "lock_level_before", "COLUMN_TYPE" : "tinyint(3)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 17, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/lock_level_before" }, "topup_log/message" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "message", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/message" }, "topup_log/outcome" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "outcome", "COLUMN_TYPE" : "enum('ok','failed')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/outcome" }, "topup_log/package_after_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "package_after_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 14, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/package_after_id" }, "topup_log/package_before_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "package_before_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 13, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/package_before_id" }, "topup_log/profile_after_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "profile_after_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 16, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/profile_after_id" }, "topup_log/profile_before_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "profile_before_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 15, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/profile_before_id" }, "topup_log/request_token" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "request_token", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 21, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/request_token" }, "topup_log/subscriber_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "subscriber_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/subscriber_id" }, "topup_log/timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "timestamp", "COLUMN_TYPE" : "decimal(13,3)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/timestamp" }, "topup_log/type" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "type", "COLUMN_TYPE" : "enum('cash','voucher','set_balance')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/type" }, "topup_log/username" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "username", "COLUMN_TYPE" : "varchar(127)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/username" }, "topup_log/voucher_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "voucher_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/voucher_id" }, "voip_intercept/LIID" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "LIID", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/LIID" }, "voip_intercept/cc_delivery_host" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "cc_delivery_host", "COLUMN_TYPE" : "varchar(64)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 16, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/cc_delivery_host" }, "voip_intercept/cc_delivery_port" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "cc_delivery_port", "COLUMN_TYPE" : "smallint(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 17, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/cc_delivery_port" }, "voip_intercept/cc_required" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "cc_required", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/cc_required" }, "voip_intercept/create_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "'0000-00-00 00:00:00'", "COLUMN_NAME" : "create_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 11, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/create_timestamp" }, "voip_intercept/deleted" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "deleted", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 12, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/deleted" }, "voip_intercept/delivery_host" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "delivery_host", "COLUMN_TYPE" : "varchar(15)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/delivery_host" }, "voip_intercept/delivery_pass" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "delivery_pass", "COLUMN_TYPE" : "text", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/delivery_pass" }, "voip_intercept/delivery_port" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "delivery_port", "COLUMN_TYPE" : "smallint(5) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/delivery_port" }, "voip_intercept/delivery_user" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "delivery_user", "COLUMN_TYPE" : "text", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/delivery_user" }, "voip_intercept/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/id" }, "voip_intercept/modify_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "current_timestamp()", "COLUMN_NAME" : "modify_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "on update current_timestamp()", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/modify_timestamp" }, "voip_intercept/number" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "number", "COLUMN_TYPE" : "varchar(63)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/number" }, "voip_intercept/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/reseller_id" }, "voip_intercept/sip_domain" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "sip_domain", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 15, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/sip_domain" }, "voip_intercept/sip_username" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "sip_username", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 14, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/sip_username" }, "voip_intercept/uuid" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "uuid", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 13, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/uuid" }, "voip_number_block_resellers/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "voip_number_block_resellers", "key_col" : "voip_number_block_resellers/id" }, "voip_number_block_resellers/number_block_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "number_block_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "voip_number_block_resellers", "key_col" : "voip_number_block_resellers/number_block_id" }, "voip_number_block_resellers/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "voip_number_block_resellers", "key_col" : "voip_number_block_resellers/reseller_id" }, "voip_number_blocks/ac" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "ac", "COLUMN_TYPE" : "varchar(7)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "voip_number_blocks", "key_col" : "voip_number_blocks/ac" }, "voip_number_blocks/allocable" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "allocable", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "voip_number_blocks", "key_col" : "voip_number_blocks/allocable" }, "voip_number_blocks/authoritative" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "authoritative", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "voip_number_blocks", "key_col" : "voip_number_blocks/authoritative" }, "voip_number_blocks/cc" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "cc", "COLUMN_TYPE" : "int(4) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "voip_number_blocks", "key_col" : "voip_number_blocks/cc" }, "voip_number_blocks/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "voip_number_blocks", "key_col" : "voip_number_blocks/id" }, "voip_number_blocks/sn_length" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "sn_length", "COLUMN_TYPE" : "tinyint(2) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "voip_number_blocks", "key_col" : "voip_number_blocks/sn_length" }, "voip_number_blocks/sn_prefix" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "sn_prefix", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "voip_number_blocks", "key_col" : "voip_number_blocks/sn_prefix" }, "voip_numbers/ac" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "ac", "COLUMN_TYPE" : "varchar(7)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/ac" }, "voip_numbers/cc" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "cc", "COLUMN_TYPE" : "int(4) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/cc" }, "voip_numbers/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/id" }, "voip_numbers/list_timestamp" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "current_timestamp()", "COLUMN_NAME" : "list_timestamp", "COLUMN_TYPE" : "timestamp", "EXTRA" : "on update current_timestamp()", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/list_timestamp" }, "voip_numbers/ported" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "ported", "COLUMN_TYPE" : "tinyint(1)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/ported" }, "voip_numbers/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/reseller_id" }, "voip_numbers/sn" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "sn", "COLUMN_TYPE" : "varchar(31)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/sn" }, "voip_numbers/status" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'active'", "COLUMN_NAME" : "status", "COLUMN_TYPE" : "enum('active','reserved','locked','deported')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/status" }, "voip_numbers/subscriber_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "subscriber_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/subscriber_id" }, "voip_subscribers/contact_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "contact_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/contact_id" }, "voip_subscribers/contract_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "contract_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/contract_id" }, "voip_subscribers/domain_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "domain_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/domain_id" }, "voip_subscribers/external_id" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "external_id", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/external_id" }, "voip_subscribers/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/id" }, "voip_subscribers/primary_number_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "primary_number_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/primary_number_id" }, "voip_subscribers/status" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : "'active'", "COLUMN_NAME" : "status", "COLUMN_TYPE" : "enum('active','locked','terminated')", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/status" }, "voip_subscribers/username" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "username", "COLUMN_TYPE" : "varchar(127)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/username" }, "voip_subscribers/uuid" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "uuid", "COLUMN_TYPE" : "char(36)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/uuid" }, "vouchers/amount" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "0", "COLUMN_NAME" : "amount", "COLUMN_TYPE" : "double", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 3, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/amount" }, "vouchers/code" : { "CHARACTER_SET_NAME" : "utf8mb3", "COLLATION_NAME" : "utf8mb3_general_ci", "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "code", "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 2, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/code" }, "vouchers/created_at" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "'0000-00-00 00:00:00'", "COLUMN_NAME" : "created_at", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 8, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/created_at" }, "vouchers/customer_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "customer_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 5, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/customer_id" }, "vouchers/id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "auto_increment", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 1, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/id" }, "vouchers/package_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "package_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 6, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/package_id" }, "vouchers/reseller_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : null, "COLUMN_NAME" : "reseller_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 4, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/reseller_id" }, "vouchers/used_at" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "'0000-00-00 00:00:00'", "COLUMN_NAME" : "used_at", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 9, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/used_at" }, "vouchers/used_by_subscriber_id" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "NULL", "COLUMN_NAME" : "used_by_subscriber_id", "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 7, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/used_by_subscriber_id" }, "vouchers/valid_until" : { "CHARACTER_SET_NAME" : null, "COLLATION_NAME" : null, "COLUMN_DEFAULT" : "current_timestamp()", "COLUMN_NAME" : "valid_until", "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", "ORDINAL_POSITION" : 10, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/valid_until" } }, "constraints" : { "acl_role_mappings/arm_accessorid_ref/accessor_id/acl_roles/id" : { "COLUMN_NAME" : "accessor_id", "CONSTRAINT_NAME" : "arm_accessorid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "acl_roles", "TABLE_NAME" : "acl_role_mappings", "UPDATE_RULE" : "CASCADE", "key_col" : "acl_role_mappings/arm_accessorid_ref/accessor_id/acl_roles/id" }, "acl_role_mappings/arm_hasaccessto_ref/has_access_to_id/acl_roles/id" : { "COLUMN_NAME" : "has_access_to_id", "CONSTRAINT_NAME" : "arm_hasaccessto_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "acl_roles", "TABLE_NAME" : "acl_role_mappings", "UPDATE_RULE" : "CASCADE", "key_col" : "acl_role_mappings/arm_hasaccessto_ref/has_access_to_id/acl_roles/id" }, "admin_password_journal/admin_id_pass_j_fk/admin_id/admins/id" : { "COLUMN_NAME" : "admin_id", "CONSTRAINT_NAME" : "admin_id_pass_j_fk", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "admins", "TABLE_NAME" : "admin_password_journal", "UPDATE_RULE" : "CASCADE", "key_col" : "admin_password_journal/admin_id_pass_j_fk/admin_id/admins/id" }, "admins/a_resellerid_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "a_resellerid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "admins", "UPDATE_RULE" : "CASCADE", "key_col" : "admins/a_resellerid_ref/reseller_id/resellers/id" }, "admins/a_roleid_ref/role_id/acl_roles/id" : { "COLUMN_NAME" : "role_id", "CONSTRAINT_NAME" : "a_roleid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "acl_roles", "TABLE_NAME" : "admins", "UPDATE_RULE" : "CASCADE", "key_col" : "admins/a_roleid_ref/role_id/acl_roles/id" }, "billing_fees/b_f_bilprofid_ref/billing_profile_id/billing_profiles/id" : { "COLUMN_NAME" : "billing_profile_id", "CONSTRAINT_NAME" : "b_f_bilprofid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_profiles", "TABLE_NAME" : "billing_fees", "UPDATE_RULE" : "CASCADE", "key_col" : "billing_fees/b_f_bilprofid_ref/billing_profile_id/billing_profiles/id" }, "billing_fees/b_f_zoneid_ref/billing_zone_id/billing_zones/id" : { "COLUMN_NAME" : "billing_zone_id", "CONSTRAINT_NAME" : "b_f_zoneid_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_zones", "TABLE_NAME" : "billing_fees", "UPDATE_RULE" : "CASCADE", "key_col" : "billing_fees/b_f_zoneid_ref/billing_zone_id/billing_zones/id" }, "billing_fees_history/b_f_h_bfid_ref/bf_id/billing_fees/id" : { "COLUMN_NAME" : "bf_id", "CONSTRAINT_NAME" : "b_f_h_bfid_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_fees", "TABLE_NAME" : "billing_fees_history", "UPDATE_RULE" : "NO ACTION", "key_col" : "billing_fees_history/b_f_h_bfid_ref/bf_id/billing_fees/id" }, "billing_fees_history/b_f_h_bzhid_ref/billing_zones_history_id/billing_zones_history/id" : { "COLUMN_NAME" : "billing_zones_history_id", "CONSTRAINT_NAME" : "b_f_h_bzhid_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_zones_history", "TABLE_NAME" : "billing_fees_history", "UPDATE_RULE" : "CASCADE", "key_col" : "billing_fees_history/b_f_h_bzhid_ref/billing_zones_history_id/billing_zones_history/id" }, "billing_mappings/b_m_bilprofid_ref/billing_profile_id/billing_profiles/id" : { "COLUMN_NAME" : "billing_profile_id", "CONSTRAINT_NAME" : "b_m_bilprofid_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_profiles", "TABLE_NAME" : "billing_mappings", "UPDATE_RULE" : "CASCADE", "key_col" : "billing_mappings/b_m_bilprofid_ref/billing_profile_id/billing_profiles/id" }, "billing_mappings/b_m_contractid_ref/contract_id/contracts/id" : { "COLUMN_NAME" : "contract_id", "CONSTRAINT_NAME" : "b_m_contractid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contracts", "TABLE_NAME" : "billing_mappings", "UPDATE_RULE" : "CASCADE", "key_col" : "billing_mappings/b_m_contractid_ref/contract_id/contracts/id" }, "billing_mappings/b_m_productid_ref/product_id/products/id" : { "COLUMN_NAME" : "product_id", "CONSTRAINT_NAME" : "b_m_productid_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "products", "TABLE_NAME" : "billing_mappings", "UPDATE_RULE" : "CASCADE", "key_col" : "billing_mappings/b_m_productid_ref/product_id/products/id" }, "billing_mappings/bm_network_ref/network_id/billing_networks/id" : { "COLUMN_NAME" : "network_id", "CONSTRAINT_NAME" : "bm_network_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_networks", "TABLE_NAME" : "billing_mappings", "UPDATE_RULE" : "CASCADE", "key_col" : "billing_mappings/bm_network_ref/network_id/billing_networks/id" }, "billing_network_blocks/bnb_network_ref/network_id/billing_networks/id" : { "COLUMN_NAME" : "network_id", "CONSTRAINT_NAME" : "bnb_network_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_networks", "TABLE_NAME" : "billing_network_blocks", "UPDATE_RULE" : "CASCADE", "key_col" : "billing_network_blocks/bnb_network_ref/network_id/billing_networks/id" }, "billing_networks/bn_reseller_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "bn_reseller_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "billing_networks", "UPDATE_RULE" : "CASCADE", "key_col" : "billing_networks/bn_reseller_ref/reseller_id/resellers/id" }, "billing_peaktime_special/b_p_s_bilprofid_ref/billing_profile_id/billing_profiles/id" : { "COLUMN_NAME" : "billing_profile_id", "CONSTRAINT_NAME" : "b_p_s_bilprofid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_profiles", "TABLE_NAME" : "billing_peaktime_special", "UPDATE_RULE" : "CASCADE", "key_col" : "billing_peaktime_special/b_p_s_bilprofid_ref/billing_profile_id/billing_profiles/id" }, "billing_peaktime_weekdays/b_p_w_bilprofid_ref/billing_profile_id/billing_profiles/id" : { "COLUMN_NAME" : "billing_profile_id", "CONSTRAINT_NAME" : "b_p_w_bilprofid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_profiles", "TABLE_NAME" : "billing_peaktime_weekdays", "UPDATE_RULE" : "CASCADE", "key_col" : "billing_peaktime_weekdays/b_p_w_bilprofid_ref/billing_profile_id/billing_profiles/id" }, "billing_profiles/b_p_resellerid_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "b_p_resellerid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "billing_profiles", "UPDATE_RULE" : "CASCADE", "key_col" : "billing_profiles/b_p_resellerid_ref/reseller_id/resellers/id" }, "billing_zones/b_z_profileid_ref/billing_profile_id/billing_profiles/id" : { "COLUMN_NAME" : "billing_profile_id", "CONSTRAINT_NAME" : "b_z_profileid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_profiles", "TABLE_NAME" : "billing_zones", "UPDATE_RULE" : "CASCADE", "key_col" : "billing_zones/b_z_profileid_ref/billing_profile_id/billing_profiles/id" }, "billing_zones_history/b_z_h_bzid_ref/bz_id/billing_zones/id" : { "COLUMN_NAME" : "bz_id", "CONSTRAINT_NAME" : "b_z_h_bzid_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_zones", "TABLE_NAME" : "billing_zones_history", "UPDATE_RULE" : "NO ACTION", "key_col" : "billing_zones_history/b_z_h_bzid_ref/bz_id/billing_zones/id" }, "contacts/ct_resellerid_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "ct_resellerid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "contacts", "UPDATE_RULE" : "CASCADE", "key_col" : "contacts/ct_resellerid_ref/reseller_id/resellers/id" }, "contract_balances/c_b_contractid_ref/contract_id/contracts/id" : { "COLUMN_NAME" : "contract_id", "CONSTRAINT_NAME" : "c_b_contractid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contracts", "TABLE_NAME" : "contract_balances", "UPDATE_RULE" : "CASCADE", "key_col" : "contract_balances/c_b_contractid_ref/contract_id/contracts/id" }, "contract_balances/cb_invoiceid_ref/invoice_id/invoices/id" : { "COLUMN_NAME" : "invoice_id", "CONSTRAINT_NAME" : "cb_invoiceid_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "invoices", "TABLE_NAME" : "contract_balances", "UPDATE_RULE" : "CASCADE", "key_col" : "contract_balances/cb_invoiceid_ref/invoice_id/invoices/id" }, "contract_credits/cc_balanceid_ref/balance_id/contract_balances/id" : { "COLUMN_NAME" : "balance_id", "CONSTRAINT_NAME" : "cc_balanceid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contract_balances", "TABLE_NAME" : "contract_credits", "UPDATE_RULE" : "CASCADE", "key_col" : "contract_credits/cc_balanceid_ref/balance_id/contract_balances/id" }, "contract_fraud_preferences/contract_id_ref/contract_id/contracts/id" : { "COLUMN_NAME" : "contract_id", "CONSTRAINT_NAME" : "contract_id_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contracts", "TABLE_NAME" : "contract_fraud_preferences", "UPDATE_RULE" : "CASCADE", "key_col" : "contract_fraud_preferences/contract_id_ref/contract_id/contracts/id" }, "contract_phonebook/pb_contract_id_ref/contract_id/contracts/id" : { "COLUMN_NAME" : "contract_id", "CONSTRAINT_NAME" : "pb_contract_id_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contracts", "TABLE_NAME" : "contract_phonebook", "UPDATE_RULE" : "CASCADE", "key_col" : "contract_phonebook/pb_contract_id_ref/contract_id/contracts/id" }, "contract_registers/c_r_contractid_ref/contract_id/contracts/id" : { "COLUMN_NAME" : "contract_id", "CONSTRAINT_NAME" : "c_r_contractid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contracts", "TABLE_NAME" : "contract_registers", "UPDATE_RULE" : "CASCADE", "key_col" : "contract_registers/c_r_contractid_ref/contract_id/contracts/id" }, "contracts/c_customerid_ref/customer_id/customers/id" : { "COLUMN_NAME" : "customer_id", "CONSTRAINT_NAME" : "c_customerid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "customers", "TABLE_NAME" : "contracts", "UPDATE_RULE" : "CASCADE", "key_col" : "contracts/c_customerid_ref/customer_id/customers/id" }, "contracts/c_package_ref/profile_package_id/profile_packages/id" : { "COLUMN_NAME" : "profile_package_id", "CONSTRAINT_NAME" : "c_package_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "profile_packages", "TABLE_NAME" : "contracts", "UPDATE_RULE" : "CASCADE", "key_col" : "contracts/c_package_ref/profile_package_id/profile_packages/id" }, "contracts/c_productid_ref/product_id/products/id" : { "COLUMN_NAME" : "product_id", "CONSTRAINT_NAME" : "c_productid_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "products", "TABLE_NAME" : "contracts", "UPDATE_RULE" : "CASCADE", "key_col" : "contracts/c_productid_ref/product_id/products/id" }, "contracts/co_contactid_ref/contact_id/contacts/id" : { "COLUMN_NAME" : "contact_id", "CONSTRAINT_NAME" : "co_contactid_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contacts", "TABLE_NAME" : "contracts", "UPDATE_RULE" : "CASCADE", "key_col" : "contracts/co_contactid_ref/contact_id/contacts/id" }, "contracts/co_orderid_ref/order_id/orders/id" : { "COLUMN_NAME" : "order_id", "CONSTRAINT_NAME" : "co_orderid_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "orders", "TABLE_NAME" : "contracts", "UPDATE_RULE" : "CASCADE", "key_col" : "contracts/co_orderid_ref/order_id/orders/id" }, "contracts_billing_profile_network/cbpn_cid_ref/contract_id/contracts/id" : { "COLUMN_NAME" : "contract_id", "CONSTRAINT_NAME" : "cbpn_cid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contracts", "TABLE_NAME" : "contracts_billing_profile_network", "UPDATE_RULE" : "CASCADE", "key_col" : "contracts_billing_profile_network/cbpn_cid_ref/contract_id/contracts/id" }, "contracts_billing_profile_network/cbpn_nid_ref/billing_network_id/billing_networks/id" : { "COLUMN_NAME" : "billing_network_id", "CONSTRAINT_NAME" : "cbpn_nid_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_networks", "TABLE_NAME" : "contracts_billing_profile_network", "UPDATE_RULE" : "CASCADE", "key_col" : "contracts_billing_profile_network/cbpn_nid_ref/billing_network_id/billing_networks/id" }, "contracts_billing_profile_network/cbpn_pid_ref/billing_profile_id/billing_profiles/id" : { "COLUMN_NAME" : "billing_profile_id", "CONSTRAINT_NAME" : "cbpn_pid_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_profiles", "TABLE_NAME" : "contracts_billing_profile_network", "UPDATE_RULE" : "CASCADE", "key_col" : "contracts_billing_profile_network/cbpn_pid_ref/billing_profile_id/billing_profiles/id" }, "contracts_billing_profile_network_schedule/cbpns_cbpnid_ref/profile_network_id/contracts_billing_profile_network/id" : { "COLUMN_NAME" : "profile_network_id", "CONSTRAINT_NAME" : "cbpns_cbpnid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contracts_billing_profile_network", "TABLE_NAME" : "contracts_billing_profile_network_schedule", "UPDATE_RULE" : "CASCADE", "key_col" : "contracts_billing_profile_network_schedule/cbpns_cbpnid_ref/profile_network_id/contracts_billing_profile_network/id" }, "credit_payments/cp_creditid_ref/credit_id/contract_credits/id" : { "COLUMN_NAME" : "credit_id", "CONSTRAINT_NAME" : "cp_creditid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contract_credits", "TABLE_NAME" : "credit_payments", "UPDATE_RULE" : "CASCADE", "key_col" : "credit_payments/cp_creditid_ref/credit_id/contract_credits/id" }, "credit_payments/cp_paymentid_ref/payment_id/payments/id" : { "COLUMN_NAME" : "payment_id", "CONSTRAINT_NAME" : "cp_paymentid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "payments", "TABLE_NAME" : "credit_payments", "UPDATE_RULE" : "CASCADE", "key_col" : "credit_payments/cp_paymentid_ref/payment_id/payments/id" }, "customer_registers/c_r_customerid_ref/customer_id/customers/id" : { "COLUMN_NAME" : "customer_id", "CONSTRAINT_NAME" : "c_r_customerid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "customers", "TABLE_NAME" : "customer_registers", "UPDATE_RULE" : "CASCADE", "key_col" : "customer_registers/c_r_customerid_ref/customer_id/customers/id" }, "customers/cu_commcontactid_ref/comm_contact_id/contacts/id" : { "COLUMN_NAME" : "comm_contact_id", "CONSTRAINT_NAME" : "cu_commcontactid_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contacts", "TABLE_NAME" : "customers", "UPDATE_RULE" : "CASCADE", "key_col" : "customers/cu_commcontactid_ref/comm_contact_id/contacts/id" }, "customers/cu_contactid_ref/contact_id/contacts/id" : { "COLUMN_NAME" : "contact_id", "CONSTRAINT_NAME" : "cu_contactid_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contacts", "TABLE_NAME" : "customers", "UPDATE_RULE" : "CASCADE", "key_col" : "customers/cu_contactid_ref/contact_id/contacts/id" }, "customers/cu_resellerid_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "cu_resellerid_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "customers", "UPDATE_RULE" : "CASCADE", "key_col" : "customers/cu_resellerid_ref/reseller_id/resellers/id" }, "customers/cu_techcontact_ref/tech_contact_id/contacts/id" : { "COLUMN_NAME" : "tech_contact_id", "CONSTRAINT_NAME" : "cu_techcontact_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contacts", "TABLE_NAME" : "customers", "UPDATE_RULE" : "CASCADE", "key_col" : "customers/cu_techcontact_ref/tech_contact_id/contacts/id" }, "domain_resellers/dr_domainid_ref/domain_id/domains/id" : { "COLUMN_NAME" : "domain_id", "CONSTRAINT_NAME" : "dr_domainid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "domains", "TABLE_NAME" : "domain_resellers", "UPDATE_RULE" : "CASCADE", "key_col" : "domain_resellers/dr_domainid_ref/domain_id/domains/id" }, "domain_resellers/dr_resellerid_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "dr_resellerid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "domain_resellers", "UPDATE_RULE" : "CASCADE", "key_col" : "domain_resellers/dr_resellerid_ref/reseller_id/resellers/id" }, "domains/d_resellerid_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "d_resellerid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "domains", "UPDATE_RULE" : "CASCADE", "key_col" : "domains/d_resellerid_ref/reseller_id/resellers/id" }, "email_templates/fk_email_reseller/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "fk_email_reseller", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "email_templates", "UPDATE_RULE" : "CASCADE", "key_col" : "email_templates/fk_email_reseller/reseller_id/resellers/id" }, "invoice_templates/invoice_templates_ibfk_1/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "invoice_templates_ibfk_1", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "invoice_templates", "UPDATE_RULE" : "CASCADE", "key_col" : "invoice_templates/invoice_templates_ibfk_1/reseller_id/resellers/id" }, "invoices/invoice_contract_fk/contract_id/contracts/id" : { "COLUMN_NAME" : "contract_id", "CONSTRAINT_NAME" : "invoice_contract_fk", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contracts", "TABLE_NAME" : "invoices", "UPDATE_RULE" : "CASCADE", "key_col" : "invoices/invoice_contract_fk/contract_id/contracts/id" }, "journals/j_resellerid_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "j_resellerid_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "journals", "UPDATE_RULE" : "RESTRICT", "key_col" : "journals/j_resellerid_ref/reseller_id/resellers/id" }, "journals/j_roleid_ref/role_id/acl_roles/id" : { "COLUMN_NAME" : "role_id", "CONSTRAINT_NAME" : "j_roleid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "acl_roles", "TABLE_NAME" : "journals", "UPDATE_RULE" : "CASCADE", "key_col" : "journals/j_roleid_ref/role_id/acl_roles/id" }, "lnp_numbers/l_n_lnpproid_ref/lnp_provider_id/lnp_providers/id" : { "COLUMN_NAME" : "lnp_provider_id", "CONSTRAINT_NAME" : "l_n_lnpproid_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "lnp_providers", "TABLE_NAME" : "lnp_numbers", "UPDATE_RULE" : "CASCADE", "key_col" : "lnp_numbers/l_n_lnpproid_ref/lnp_provider_id/lnp_providers/id" }, "ncos_levels/c_l_resellerid_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "c_l_resellerid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "ncos_levels", "UPDATE_RULE" : "CASCADE", "key_col" : "ncos_levels/c_l_resellerid_ref/reseller_id/resellers/id" }, "ncos_levels/nl_time_set_id_ref/time_set_id/voip_time_sets/id" : { "COLUMN_NAME" : "time_set_id", "CONSTRAINT_NAME" : "nl_time_set_id_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "voip_time_sets", "TABLE_NAME" : "ncos_levels", "UPDATE_RULE" : "CASCADE", "key_col" : "ncos_levels/nl_time_set_id_ref/time_set_id/voip_time_sets/id" }, "ncos_lnp_list/c_l_l_lnpproid_ref/lnp_provider_id/lnp_providers/id" : { "COLUMN_NAME" : "lnp_provider_id", "CONSTRAINT_NAME" : "c_l_l_lnpproid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "lnp_providers", "TABLE_NAME" : "ncos_lnp_list", "UPDATE_RULE" : "CASCADE", "key_col" : "ncos_lnp_list/c_l_l_lnpproid_ref/lnp_provider_id/lnp_providers/id" }, "ncos_lnp_list/c_l_l_ncoslevid_ref/ncos_level_id/ncos_levels/id" : { "COLUMN_NAME" : "ncos_level_id", "CONSTRAINT_NAME" : "c_l_l_ncoslevid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "ncos_levels", "TABLE_NAME" : "ncos_lnp_list", "UPDATE_RULE" : "CASCADE", "key_col" : "ncos_lnp_list/c_l_l_ncoslevid_ref/ncos_level_id/ncos_levels/id" }, "ncos_lnp_pattern_list/c_p_l_ncoslnplist_ref/ncos_lnp_list_id/ncos_lnp_list/id" : { "COLUMN_NAME" : "ncos_lnp_list_id", "CONSTRAINT_NAME" : "c_p_l_ncoslnplist_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "ncos_lnp_list", "TABLE_NAME" : "ncos_lnp_pattern_list", "UPDATE_RULE" : "CASCADE", "key_col" : "ncos_lnp_pattern_list/c_p_l_ncoslnplist_ref/ncos_lnp_list_id/ncos_lnp_list/id" }, "ncos_pattern_list/c_p_l_ncoslevid_ref/ncos_level_id/ncos_levels/id" : { "COLUMN_NAME" : "ncos_level_id", "CONSTRAINT_NAME" : "c_p_l_ncoslevid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "ncos_levels", "TABLE_NAME" : "ncos_pattern_list", "UPDATE_RULE" : "CASCADE", "key_col" : "ncos_pattern_list/c_p_l_ncoslevid_ref/ncos_level_id/ncos_levels/id" }, "ncos_set_levels/nlm_ncos_level_id_ref/ncos_level_id/ncos_levels/id" : { "COLUMN_NAME" : "ncos_level_id", "CONSTRAINT_NAME" : "nlm_ncos_level_id_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "ncos_levels", "TABLE_NAME" : "ncos_set_levels", "UPDATE_RULE" : "CASCADE", "key_col" : "ncos_set_levels/nlm_ncos_level_id_ref/ncos_level_id/ncos_levels/id" }, "ncos_set_levels/nlm_ncos_set_id_ref/ncos_set_id/ncos_sets/id" : { "COLUMN_NAME" : "ncos_set_id", "CONSTRAINT_NAME" : "nlm_ncos_set_id_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "ncos_sets", "TABLE_NAME" : "ncos_set_levels", "UPDATE_RULE" : "CASCADE", "key_col" : "ncos_set_levels/nlm_ncos_set_id_ref/ncos_set_id/ncos_sets/id" }, "ncos_sets/n_c_resellerid_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "n_c_resellerid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "ncos_sets", "UPDATE_RULE" : "CASCADE", "key_col" : "ncos_sets/n_c_resellerid_ref/reseller_id/resellers/id" }, "order_payments/op_orderid_ref/order_id/orders/id" : { "COLUMN_NAME" : "order_id", "CONSTRAINT_NAME" : "op_orderid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "orders", "TABLE_NAME" : "order_payments", "UPDATE_RULE" : "CASCADE", "key_col" : "order_payments/op_orderid_ref/order_id/orders/id" }, "order_payments/op_paymentid_ref/payment_id/payments/id" : { "COLUMN_NAME" : "payment_id", "CONSTRAINT_NAME" : "op_paymentid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "payments", "TABLE_NAME" : "order_payments", "UPDATE_RULE" : "CASCADE", "key_col" : "order_payments/op_paymentid_ref/payment_id/payments/id" }, "orders/o_contactid_ref/delivery_contact_id/contacts/id" : { "COLUMN_NAME" : "delivery_contact_id", "CONSTRAINT_NAME" : "o_contactid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contacts", "TABLE_NAME" : "orders", "UPDATE_RULE" : "CASCADE", "key_col" : "orders/o_contactid_ref/delivery_contact_id/contacts/id" }, "orders/o_customerid_ref/customer_id/customers/id" : { "COLUMN_NAME" : "customer_id", "CONSTRAINT_NAME" : "o_customerid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "customers", "TABLE_NAME" : "orders", "UPDATE_RULE" : "CASCADE", "key_col" : "orders/o_customerid_ref/customer_id/customers/id" }, "orders/o_invoiceid_ref/invoice_id/invoices/id" : { "COLUMN_NAME" : "invoice_id", "CONSTRAINT_NAME" : "o_invoiceid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "invoices", "TABLE_NAME" : "orders", "UPDATE_RULE" : "CASCADE", "key_col" : "orders/o_invoiceid_ref/invoice_id/invoices/id" }, "orders/o_resellerid_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "o_resellerid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "orders", "UPDATE_RULE" : "CASCADE", "key_col" : "orders/o_resellerid_ref/reseller_id/resellers/id" }, "package_profile_sets/pps_network_ref/network_id/billing_networks/id" : { "COLUMN_NAME" : "network_id", "CONSTRAINT_NAME" : "pps_network_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_networks", "TABLE_NAME" : "package_profile_sets", "UPDATE_RULE" : "CASCADE", "key_col" : "package_profile_sets/pps_network_ref/network_id/billing_networks/id" }, "package_profile_sets/pps_package_ref/package_id/profile_packages/id" : { "COLUMN_NAME" : "package_id", "CONSTRAINT_NAME" : "pps_package_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "profile_packages", "TABLE_NAME" : "package_profile_sets", "UPDATE_RULE" : "CASCADE", "key_col" : "package_profile_sets/pps_package_ref/package_id/profile_packages/id" }, "package_profile_sets/pps_profile_ref/profile_id/billing_profiles/id" : { "COLUMN_NAME" : "profile_id", "CONSTRAINT_NAME" : "pps_profile_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_profiles", "TABLE_NAME" : "package_profile_sets", "UPDATE_RULE" : "CASCADE", "key_col" : "package_profile_sets/pps_profile_ref/profile_id/billing_profiles/id" }, "password_resets/fk_pwd_reset_sub/subscriber_id/voip_subscribers/id" : { "COLUMN_NAME" : "subscriber_id", "CONSTRAINT_NAME" : "fk_pwd_reset_sub", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "voip_subscribers", "TABLE_NAME" : "password_resets", "UPDATE_RULE" : "CASCADE", "key_col" : "password_resets/fk_pwd_reset_sub/subscriber_id/voip_subscribers/id" }, "products/p_bilprofid_ref/billing_profile_id/billing_profiles/id" : { "COLUMN_NAME" : "billing_profile_id", "CONSTRAINT_NAME" : "p_bilprofid_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_profiles", "TABLE_NAME" : "products", "UPDATE_RULE" : "CASCADE", "key_col" : "products/p_bilprofid_ref/billing_profile_id/billing_profiles/id" }, "products/p_resellerid_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "p_resellerid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "products", "UPDATE_RULE" : "CASCADE", "key_col" : "products/p_resellerid_ref/reseller_id/resellers/id" }, "profile_packages/pp_reseller_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "pp_reseller_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "profile_packages", "UPDATE_RULE" : "CASCADE", "key_col" : "profile_packages/pp_reseller_ref/reseller_id/resellers/id" }, "provisioning_templates/p_t_resellerid_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "p_t_resellerid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "provisioning_templates", "UPDATE_RULE" : "CASCADE", "key_col" : "provisioning_templates/p_t_resellerid_ref/reseller_id/resellers/id" }, "reseller_brandings/branding_reseller_fk/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "branding_reseller_fk", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "reseller_brandings", "UPDATE_RULE" : "CASCADE", "key_col" : "reseller_brandings/branding_reseller_fk/reseller_id/resellers/id" }, "reseller_phonebook/pb_reseller_id_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "pb_reseller_id_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "reseller_phonebook", "UPDATE_RULE" : "CASCADE", "key_col" : "reseller_phonebook/pb_reseller_id_ref/reseller_id/resellers/id" }, "resellers/r_contractid_ref/contract_id/contracts/id" : { "COLUMN_NAME" : "contract_id", "CONSTRAINT_NAME" : "r_contractid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contracts", "TABLE_NAME" : "resellers", "UPDATE_RULE" : "CASCADE", "key_col" : "resellers/r_contractid_ref/contract_id/contracts/id" }, "subscriber_phonebook/pb_subscriber_id_ref/subscriber_id/voip_subscribers/id" : { "COLUMN_NAME" : "subscriber_id", "CONSTRAINT_NAME" : "pb_subscriber_id_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "voip_subscribers", "TABLE_NAME" : "subscriber_phonebook", "UPDATE_RULE" : "CASCADE", "key_col" : "subscriber_phonebook/pb_subscriber_id_ref/subscriber_id/voip_subscribers/id" }, "topup_log/tl_balance_after_ref/contract_balance_after_id/contract_balances/id" : { "COLUMN_NAME" : "contract_balance_after_id", "CONSTRAINT_NAME" : "tl_balance_after_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contract_balances", "TABLE_NAME" : "topup_log", "UPDATE_RULE" : "CASCADE", "key_col" : "topup_log/tl_balance_after_ref/contract_balance_after_id/contract_balances/id" }, "topup_log/tl_balance_before_ref/contract_balance_before_id/contract_balances/id" : { "COLUMN_NAME" : "contract_balance_before_id", "CONSTRAINT_NAME" : "tl_balance_before_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contract_balances", "TABLE_NAME" : "topup_log", "UPDATE_RULE" : "CASCADE", "key_col" : "topup_log/tl_balance_before_ref/contract_balance_before_id/contract_balances/id" }, "topup_log/tl_contract_ref/contract_id/contracts/id" : { "COLUMN_NAME" : "contract_id", "CONSTRAINT_NAME" : "tl_contract_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contracts", "TABLE_NAME" : "topup_log", "UPDATE_RULE" : "CASCADE", "key_col" : "topup_log/tl_contract_ref/contract_id/contracts/id" }, "topup_log/tl_package_after_ref/package_after_id/profile_packages/id" : { "COLUMN_NAME" : "package_after_id", "CONSTRAINT_NAME" : "tl_package_after_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "profile_packages", "TABLE_NAME" : "topup_log", "UPDATE_RULE" : "CASCADE", "key_col" : "topup_log/tl_package_after_ref/package_after_id/profile_packages/id" }, "topup_log/tl_package_before_ref/package_before_id/profile_packages/id" : { "COLUMN_NAME" : "package_before_id", "CONSTRAINT_NAME" : "tl_package_before_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "profile_packages", "TABLE_NAME" : "topup_log", "UPDATE_RULE" : "CASCADE", "key_col" : "topup_log/tl_package_before_ref/package_before_id/profile_packages/id" }, "topup_log/tl_profile_after_ref/profile_after_id/billing_profiles/id" : { "COLUMN_NAME" : "profile_after_id", "CONSTRAINT_NAME" : "tl_profile_after_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_profiles", "TABLE_NAME" : "topup_log", "UPDATE_RULE" : "CASCADE", "key_col" : "topup_log/tl_profile_after_ref/profile_after_id/billing_profiles/id" }, "topup_log/tl_profile_before_ref/profile_before_id/billing_profiles/id" : { "COLUMN_NAME" : "profile_before_id", "CONSTRAINT_NAME" : "tl_profile_before_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "billing_profiles", "TABLE_NAME" : "topup_log", "UPDATE_RULE" : "CASCADE", "key_col" : "topup_log/tl_profile_before_ref/profile_before_id/billing_profiles/id" }, "topup_log/tl_subscriber_ref/subscriber_id/voip_subscribers/id" : { "COLUMN_NAME" : "subscriber_id", "CONSTRAINT_NAME" : "tl_subscriber_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "voip_subscribers", "TABLE_NAME" : "topup_log", "UPDATE_RULE" : "CASCADE", "key_col" : "topup_log/tl_subscriber_ref/subscriber_id/voip_subscribers/id" }, "topup_log/tl_voucher_ref/voucher_id/vouchers/id" : { "COLUMN_NAME" : "voucher_id", "CONSTRAINT_NAME" : "tl_voucher_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "vouchers", "TABLE_NAME" : "topup_log", "UPDATE_RULE" : "CASCADE", "key_col" : "topup_log/tl_voucher_ref/voucher_id/vouchers/id" }, "voip_number_block_resellers/vnbr_numblockid_ref/number_block_id/voip_number_blocks/id" : { "COLUMN_NAME" : "number_block_id", "CONSTRAINT_NAME" : "vnbr_numblockid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "voip_number_blocks", "TABLE_NAME" : "voip_number_block_resellers", "UPDATE_RULE" : "CASCADE", "key_col" : "voip_number_block_resellers/vnbr_numblockid_ref/number_block_id/voip_number_blocks/id" }, "voip_number_block_resellers/vnbr_resellerid_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "vnbr_resellerid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "voip_number_block_resellers", "UPDATE_RULE" : "CASCADE", "key_col" : "voip_number_block_resellers/vnbr_resellerid_ref/reseller_id/resellers/id" }, "voip_numbers/v_n_resellerid_ref/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "v_n_resellerid_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "voip_numbers", "UPDATE_RULE" : "CASCADE", "key_col" : "voip_numbers/v_n_resellerid_ref/reseller_id/resellers/id" }, "voip_numbers/v_n_subscriberid_ref/subscriber_id/voip_subscribers/id" : { "COLUMN_NAME" : "subscriber_id", "CONSTRAINT_NAME" : "v_n_subscriberid_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "voip_subscribers", "TABLE_NAME" : "voip_numbers", "UPDATE_RULE" : "CASCADE", "key_col" : "voip_numbers/v_n_subscriberid_ref/subscriber_id/voip_subscribers/id" }, "voip_subscribers/v_s_contractid_ref/contract_id/contracts/id" : { "COLUMN_NAME" : "contract_id", "CONSTRAINT_NAME" : "v_s_contractid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contracts", "TABLE_NAME" : "voip_subscribers", "UPDATE_RULE" : "CASCADE", "key_col" : "voip_subscribers/v_s_contractid_ref/contract_id/contracts/id" }, "voip_subscribers/v_s_domainid_ref/domain_id/domains/id" : { "COLUMN_NAME" : "domain_id", "CONSTRAINT_NAME" : "v_s_domainid_ref", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "domains", "TABLE_NAME" : "voip_subscribers", "UPDATE_RULE" : "CASCADE", "key_col" : "voip_subscribers/v_s_domainid_ref/domain_id/domains/id" }, "voip_subscribers/v_s_pnumid_ref/primary_number_id/voip_numbers/id" : { "COLUMN_NAME" : "primary_number_id", "CONSTRAINT_NAME" : "v_s_pnumid_ref", "DELETE_RULE" : "SET NULL", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "voip_numbers", "TABLE_NAME" : "voip_subscribers", "UPDATE_RULE" : "CASCADE", "key_col" : "voip_subscribers/v_s_pnumid_ref/primary_number_id/voip_numbers/id" }, "vouchers/vouchers_ibfk_1/reseller_id/resellers/id" : { "COLUMN_NAME" : "reseller_id", "CONSTRAINT_NAME" : "vouchers_ibfk_1", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "resellers", "TABLE_NAME" : "vouchers", "UPDATE_RULE" : "CASCADE", "key_col" : "vouchers/vouchers_ibfk_1/reseller_id/resellers/id" }, "vouchers/vouchers_ibfk_2/customer_id/contracts/id" : { "COLUMN_NAME" : "customer_id", "CONSTRAINT_NAME" : "vouchers_ibfk_2", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "contracts", "TABLE_NAME" : "vouchers", "UPDATE_RULE" : "CASCADE", "key_col" : "vouchers/vouchers_ibfk_2/customer_id/contracts/id" }, "vouchers/vouchers_ibfk_3/used_by_subscriber_id/voip_subscribers/id" : { "COLUMN_NAME" : "used_by_subscriber_id", "CONSTRAINT_NAME" : "vouchers_ibfk_3", "DELETE_RULE" : "CASCADE", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "voip_subscribers", "TABLE_NAME" : "vouchers", "UPDATE_RULE" : "CASCADE", "key_col" : "vouchers/vouchers_ibfk_3/used_by_subscriber_id/voip_subscribers/id" }, "vouchers/vouchers_package_ref/package_id/profile_packages/id" : { "COLUMN_NAME" : "package_id", "CONSTRAINT_NAME" : "vouchers_package_ref", "DELETE_RULE" : "RESTRICT", "REFERENCED_COLUMN_NAME" : "id", "REFERENCED_TABLE_NAME" : "profile_packages", "TABLE_NAME" : "vouchers", "UPDATE_RULE" : "CASCADE", "key_col" : "vouchers/vouchers_package_ref/package_id/profile_packages/id" } }, "indexes" : { "acl_role_mappings/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "accessor_id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "acl_role_mappings", "key_col" : "acl_role_mappings/PRIMARY/1" }, "acl_role_mappings/PRIMARY/2" : { "COLLATION" : "A", "COLUMN_NAME" : "has_access_to_id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "acl_role_mappings", "key_col" : "acl_role_mappings/PRIMARY/2" }, "acl_role_mappings/accessorid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "accessor_id", "INDEX_NAME" : "accessorid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "acl_role_mappings", "key_col" : "acl_role_mappings/accessorid_idx/1" }, "acl_role_mappings/hasaccesstoid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "has_access_to_id", "INDEX_NAME" : "hasaccesstoid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "acl_role_mappings", "key_col" : "acl_role_mappings/hasaccesstoid_idx/1" }, "acl_roles/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "acl_roles", "key_col" : "acl_roles/PRIMARY/1" }, "acl_roles/role_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "role", "INDEX_NAME" : "role_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "acl_roles", "key_col" : "acl_roles/role_idx/1" }, "admin_password_journal/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "admin_password_journal", "key_col" : "admin_password_journal/PRIMARY/1" }, "admin_password_journal/admin_created_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "admin_id", "INDEX_NAME" : "admin_created_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "admin_password_journal", "key_col" : "admin_password_journal/admin_created_idx/1" }, "admin_password_journal/admin_created_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "created_at", "INDEX_NAME" : "admin_created_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "admin_password_journal", "key_col" : "admin_password_journal/admin_created_idx/2" }, "admin_password_journal/admin_value_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "admin_id", "INDEX_NAME" : "admin_value_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "admin_password_journal", "key_col" : "admin_password_journal/admin_value_idx/1" }, "admin_password_journal/admin_value_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "value", "INDEX_NAME" : "admin_value_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "admin_password_journal", "key_col" : "admin_password_journal/admin_value_idx/2" }, "admins/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "admins", "key_col" : "admins/PRIMARY/1" }, "admins/email/1" : { "COLLATION" : "A", "COLUMN_NAME" : "email", "INDEX_NAME" : "email", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "admins", "key_col" : "admins/email/1" }, "admins/login_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "login", "INDEX_NAME" : "login_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "admins", "key_col" : "admins/login_idx/1" }, "admins/resellerid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "resellerid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "admins", "key_col" : "admins/resellerid_idx/1" }, "admins/roleid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "role_id", "INDEX_NAME" : "roleid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "admins", "key_col" : "admins/roleid_idx/1" }, "admins/ssl_client_m_serial_UNIQUE/1" : { "COLLATION" : "A", "COLUMN_NAME" : "ssl_client_m_serial", "INDEX_NAME" : "ssl_client_m_serial_UNIQUE", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "admins", "key_col" : "admins/ssl_client_m_serial_UNIQUE/1" }, "billing_fees/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/PRIMARY/1" }, "billing_fees/bf_destsrcdir_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "bf_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/bf_destsrcdir_idx/1" }, "billing_fees/bf_destsrcdir_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "type", "INDEX_NAME" : "bf_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/bf_destsrcdir_idx/2" }, "billing_fees/bf_destsrcdir_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "match_mode", "INDEX_NAME" : "bf_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/bf_destsrcdir_idx/3" }, "billing_fees/bf_destsrcdir_idx/4" : { "COLLATION" : "A", "COLUMN_NAME" : "destination", "INDEX_NAME" : "bf_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 4, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/bf_destsrcdir_idx/4" }, "billing_fees/bf_destsrcdir_idx/5" : { "COLLATION" : "A", "COLUMN_NAME" : "source", "INDEX_NAME" : "bf_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 5, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/bf_destsrcdir_idx/5" }, "billing_fees/bf_destsrcdir_idx/6" : { "COLLATION" : "A", "COLUMN_NAME" : "direction", "INDEX_NAME" : "bf_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 6, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/bf_destsrcdir_idx/6" }, "billing_fees/bf_srcdestdir_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "bf_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/bf_srcdestdir_idx/1" }, "billing_fees/bf_srcdestdir_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "type", "INDEX_NAME" : "bf_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/bf_srcdestdir_idx/2" }, "billing_fees/bf_srcdestdir_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "match_mode", "INDEX_NAME" : "bf_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/bf_srcdestdir_idx/3" }, "billing_fees/bf_srcdestdir_idx/4" : { "COLLATION" : "A", "COLUMN_NAME" : "direction", "INDEX_NAME" : "bf_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 4, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/bf_srcdestdir_idx/4" }, "billing_fees/bf_srcdestdir_idx/5" : { "COLLATION" : "A", "COLUMN_NAME" : "source", "INDEX_NAME" : "bf_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 5, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/bf_srcdestdir_idx/5" }, "billing_fees/bf_srcdestdir_idx/6" : { "COLLATION" : "A", "COLUMN_NAME" : "destination", "INDEX_NAME" : "bf_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 6, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/bf_srcdestdir_idx/6" }, "billing_fees/profileid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "profileid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/profileid_idx/1" }, "billing_fees/showfeesc_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "showfeesc_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/showfeesc_idx/1" }, "billing_fees/showfeesc_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_zone_id", "INDEX_NAME" : "showfeesc_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/showfeesc_idx/2" }, "billing_fees/showfeesc_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "destination", "INDEX_NAME" : "showfeesc_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/showfeesc_idx/3" }, "billing_fees/zoneid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_zone_id", "INDEX_NAME" : "zoneid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees/zoneid_idx/1" }, "billing_fees_history/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/PRIMARY/1" }, "billing_fees_history/bfh_destsrcdir_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "bfh_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfh_destsrcdir_idx/1" }, "billing_fees_history/bfh_destsrcdir_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "type", "INDEX_NAME" : "bfh_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfh_destsrcdir_idx/2" }, "billing_fees_history/bfh_destsrcdir_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "match_mode", "INDEX_NAME" : "bfh_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfh_destsrcdir_idx/3" }, "billing_fees_history/bfh_destsrcdir_idx/4" : { "COLLATION" : "A", "COLUMN_NAME" : "destination", "INDEX_NAME" : "bfh_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 4, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfh_destsrcdir_idx/4" }, "billing_fees_history/bfh_destsrcdir_idx/5" : { "COLLATION" : "A", "COLUMN_NAME" : "bf_id", "INDEX_NAME" : "bfh_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 5, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfh_destsrcdir_idx/5" }, "billing_fees_history/bfh_destsrcdir_idx/6" : { "COLLATION" : "A", "COLUMN_NAME" : "source", "INDEX_NAME" : "bfh_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 6, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfh_destsrcdir_idx/6" }, "billing_fees_history/bfh_destsrcdir_idx/7" : { "COLLATION" : "A", "COLUMN_NAME" : "direction", "INDEX_NAME" : "bfh_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 7, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfh_destsrcdir_idx/7" }, "billing_fees_history/bfh_srcdestdir_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "bfh_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfh_srcdestdir_idx/1" }, "billing_fees_history/bfh_srcdestdir_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "type", "INDEX_NAME" : "bfh_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfh_srcdestdir_idx/2" }, "billing_fees_history/bfh_srcdestdir_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "match_mode", "INDEX_NAME" : "bfh_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfh_srcdestdir_idx/3" }, "billing_fees_history/bfh_srcdestdir_idx/4" : { "COLLATION" : "A", "COLUMN_NAME" : "direction", "INDEX_NAME" : "bfh_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 4, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfh_srcdestdir_idx/4" }, "billing_fees_history/bfh_srcdestdir_idx/5" : { "COLLATION" : "A", "COLUMN_NAME" : "bf_id", "INDEX_NAME" : "bfh_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 5, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfh_srcdestdir_idx/5" }, "billing_fees_history/bfh_srcdestdir_idx/6" : { "COLLATION" : "A", "COLUMN_NAME" : "source", "INDEX_NAME" : "bfh_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 6, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfh_srcdestdir_idx/6" }, "billing_fees_history/bfh_srcdestdir_idx/7" : { "COLLATION" : "A", "COLUMN_NAME" : "destination", "INDEX_NAME" : "bfh_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 7, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfh_srcdestdir_idx/7" }, "billing_fees_history/bfhdir_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "direction", "INDEX_NAME" : "bfhdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfhdir_idx/1" }, "billing_fees_history/bfid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "bf_id", "INDEX_NAME" : "bfid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/bfid_idx/1" }, "billing_fees_history/zonehid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_zones_history_id", "INDEX_NAME" : "zonehid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history/zonehid_idx/1" }, "billing_fees_raw/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/PRIMARY/1" }, "billing_fees_raw/bfr_destsrcdir_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "bfr_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/bfr_destsrcdir_idx/1" }, "billing_fees_raw/bfr_destsrcdir_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "type", "INDEX_NAME" : "bfr_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/bfr_destsrcdir_idx/2" }, "billing_fees_raw/bfr_destsrcdir_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "match_mode", "INDEX_NAME" : "bfr_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/bfr_destsrcdir_idx/3" }, "billing_fees_raw/bfr_destsrcdir_idx/4" : { "COLLATION" : "A", "COLUMN_NAME" : "destination", "INDEX_NAME" : "bfr_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 4, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/bfr_destsrcdir_idx/4" }, "billing_fees_raw/bfr_destsrcdir_idx/5" : { "COLLATION" : "A", "COLUMN_NAME" : "source", "INDEX_NAME" : "bfr_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 5, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/bfr_destsrcdir_idx/5" }, "billing_fees_raw/bfr_destsrcdir_idx/6" : { "COLLATION" : "A", "COLUMN_NAME" : "direction", "INDEX_NAME" : "bfr_destsrcdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 6, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/bfr_destsrcdir_idx/6" }, "billing_fees_raw/bfr_srcdestdir_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "bfr_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/bfr_srcdestdir_idx/1" }, "billing_fees_raw/bfr_srcdestdir_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "type", "INDEX_NAME" : "bfr_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/bfr_srcdestdir_idx/2" }, "billing_fees_raw/bfr_srcdestdir_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "match_mode", "INDEX_NAME" : "bfr_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/bfr_srcdestdir_idx/3" }, "billing_fees_raw/bfr_srcdestdir_idx/4" : { "COLLATION" : "A", "COLUMN_NAME" : "direction", "INDEX_NAME" : "bfr_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 4, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/bfr_srcdestdir_idx/4" }, "billing_fees_raw/bfr_srcdestdir_idx/5" : { "COLLATION" : "A", "COLUMN_NAME" : "source", "INDEX_NAME" : "bfr_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 5, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/bfr_srcdestdir_idx/5" }, "billing_fees_raw/bfr_srcdestdir_idx/6" : { "COLLATION" : "A", "COLUMN_NAME" : "destination", "INDEX_NAME" : "bfr_srcdestdir_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 6, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/bfr_srcdestdir_idx/6" }, "billing_fees_raw/profileid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "profileid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/profileid_idx/1" }, "billing_fees_raw/showfeesc_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "showfeesc_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/showfeesc_idx/1" }, "billing_fees_raw/showfeesc_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_zone_id", "INDEX_NAME" : "showfeesc_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/showfeesc_idx/2" }, "billing_fees_raw/showfeesc_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "destination", "INDEX_NAME" : "showfeesc_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/showfeesc_idx/3" }, "billing_fees_raw/zoneid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_zone_id", "INDEX_NAME" : "zoneid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw/zoneid_idx/1" }, "billing_mappings/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_mappings", "key_col" : "billing_mappings/PRIMARY/1" }, "billing_mappings/billing_mappings_start_date/1" : { "COLLATION" : "A", "COLUMN_NAME" : "start_date", "INDEX_NAME" : "billing_mappings_start_date", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_mappings", "key_col" : "billing_mappings/billing_mappings_start_date/1" }, "billing_mappings/bm_network_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "network_id", "INDEX_NAME" : "bm_network_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_mappings", "key_col" : "billing_mappings/bm_network_ref/1" }, "billing_mappings/contractid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "contract_id", "INDEX_NAME" : "contractid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_mappings", "key_col" : "billing_mappings/contractid_idx/1" }, "billing_mappings/productid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "product_id", "INDEX_NAME" : "productid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_mappings", "key_col" : "billing_mappings/productid_idx/1" }, "billing_mappings/profileid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "profileid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_mappings", "key_col" : "billing_mappings/profileid_idx/1" }, "billing_network_blocks/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_network_blocks", "key_col" : "billing_network_blocks/PRIMARY/1" }, "billing_network_blocks/bnb_ipv4_from_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "_ipv4_net_from", "INDEX_NAME" : "bnb_ipv4_from_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_network_blocks", "key_col" : "billing_network_blocks/bnb_ipv4_from_idx/1" }, "billing_network_blocks/bnb_ipv4_to_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "_ipv4_net_to", "INDEX_NAME" : "bnb_ipv4_to_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_network_blocks", "key_col" : "billing_network_blocks/bnb_ipv4_to_idx/1" }, "billing_network_blocks/bnb_ipv6_from_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "_ipv6_net_from", "INDEX_NAME" : "bnb_ipv6_from_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_network_blocks", "key_col" : "billing_network_blocks/bnb_ipv6_from_idx/1" }, "billing_network_blocks/bnb_ipv6_to_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "_ipv6_net_to", "INDEX_NAME" : "bnb_ipv6_to_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_network_blocks", "key_col" : "billing_network_blocks/bnb_ipv6_to_idx/1" }, "billing_network_blocks/bnb_network_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "network_id", "INDEX_NAME" : "bnb_network_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_network_blocks", "key_col" : "billing_network_blocks/bnb_network_ref/1" }, "billing_networks/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_networks", "key_col" : "billing_networks/PRIMARY/1" }, "billing_networks/bn_resname_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "bn_resname_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_networks", "key_col" : "billing_networks/bn_resname_idx/1" }, "billing_networks/bn_resname_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "name", "INDEX_NAME" : "bn_resname_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "billing_networks", "key_col" : "billing_networks/bn_resname_idx/2" }, "billing_peaktime_special/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_peaktime_special", "key_col" : "billing_peaktime_special/PRIMARY/1" }, "billing_peaktime_special/profileid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "profileid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_peaktime_special", "key_col" : "billing_peaktime_special/profileid_idx/1" }, "billing_peaktime_weekdays/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_peaktime_weekdays", "key_col" : "billing_peaktime_weekdays/PRIMARY/1" }, "billing_peaktime_weekdays/profileid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "profileid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_peaktime_weekdays", "key_col" : "billing_peaktime_weekdays/profileid_idx/1" }, "billing_profiles/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/PRIMARY/1" }, "billing_profiles/resellerid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "resellerid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/resellerid_idx/1" }, "billing_profiles/reshand_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "reshand_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/reshand_idx/1" }, "billing_profiles/reshand_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "handle", "INDEX_NAME" : "reshand_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/reshand_idx/2" }, "billing_profiles/reshand_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "terminate_timestamp", "INDEX_NAME" : "reshand_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/reshand_idx/3" }, "billing_profiles/resnam_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "resnam_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/resnam_idx/1" }, "billing_profiles/resnam_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "name", "INDEX_NAME" : "resnam_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/resnam_idx/2" }, "billing_profiles/resnam_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "terminate_timestamp", "INDEX_NAME" : "resnam_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles/resnam_idx/3" }, "billing_zones/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_zones", "key_col" : "billing_zones/PRIMARY/1" }, "billing_zones/profnamdes_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "profnamdes_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_zones", "key_col" : "billing_zones/profnamdes_idx/1" }, "billing_zones/profnamdes_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "zone", "INDEX_NAME" : "profnamdes_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "billing_zones", "key_col" : "billing_zones/profnamdes_idx/2" }, "billing_zones/profnamdes_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "detail", "INDEX_NAME" : "profnamdes_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "billing_zones", "key_col" : "billing_zones/profnamdes_idx/3" }, "billing_zones_history/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_zones_history", "key_col" : "billing_zones_history/PRIMARY/1" }, "billing_zones_history/bzid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "bz_id", "INDEX_NAME" : "bzid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "billing_zones_history", "key_col" : "billing_zones_history/bzid_idx/1" }, "call_list_suppressions/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "call_list_suppressions", "key_col" : "call_list_suppressions/PRIMARY/1" }, "call_list_suppressions/cls_direction_mode_domain_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "direction", "INDEX_NAME" : "cls_direction_mode_domain_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "call_list_suppressions", "key_col" : "call_list_suppressions/cls_direction_mode_domain_idx/1" }, "call_list_suppressions/cls_direction_mode_domain_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "mode", "INDEX_NAME" : "cls_direction_mode_domain_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "call_list_suppressions", "key_col" : "call_list_suppressions/cls_direction_mode_domain_idx/2" }, "call_list_suppressions/cls_direction_mode_domain_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "domain", "INDEX_NAME" : "cls_direction_mode_domain_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "call_list_suppressions", "key_col" : "call_list_suppressions/cls_direction_mode_domain_idx/3" }, "call_list_suppressions/cls_domain_direction_pattern_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "domain", "INDEX_NAME" : "cls_domain_direction_pattern_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "call_list_suppressions", "key_col" : "call_list_suppressions/cls_domain_direction_pattern_idx/1" }, "call_list_suppressions/cls_domain_direction_pattern_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "direction", "INDEX_NAME" : "cls_domain_direction_pattern_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "call_list_suppressions", "key_col" : "call_list_suppressions/cls_domain_direction_pattern_idx/2" }, "call_list_suppressions/cls_domain_direction_pattern_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "pattern", "INDEX_NAME" : "cls_domain_direction_pattern_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "call_list_suppressions", "key_col" : "call_list_suppressions/cls_domain_direction_pattern_idx/3" }, "contacts/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contacts", "key_col" : "contacts/PRIMARY/1" }, "contacts/ct_resellerid_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "ct_resellerid_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contacts", "key_col" : "contacts/ct_resellerid_ref/1" }, "contacts/email_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "email", "INDEX_NAME" : "email_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contacts", "key_col" : "contacts/email_idx/1" }, "contract_balances/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/PRIMARY/1" }, "contract_balances/balance_interval/1" : { "COLLATION" : "A", "COLUMN_NAME" : "contract_id", "INDEX_NAME" : "balance_interval", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/balance_interval/1" }, "contract_balances/balance_interval/2" : { "COLLATION" : "A", "COLUMN_NAME" : "start", "INDEX_NAME" : "balance_interval", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/balance_interval/2" }, "contract_balances/balance_interval/3" : { "COLLATION" : "A", "COLUMN_NAME" : "end", "INDEX_NAME" : "balance_interval", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/balance_interval/3" }, "contract_balances/invoiceid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "invoice_id", "INDEX_NAME" : "invoiceid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances/invoiceid_idx/1" }, "contract_credits/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contract_credits", "key_col" : "contract_credits/PRIMARY/1" }, "contract_credits/balanceid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "balance_id", "INDEX_NAME" : "balanceid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contract_credits", "key_col" : "contract_credits/balanceid_idx/1" }, "contract_fraud_preferences/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contract_fraud_preferences", "key_col" : "contract_fraud_preferences/PRIMARY/1" }, "contract_fraud_preferences/contract_id/1" : { "COLLATION" : "A", "COLUMN_NAME" : "contract_id", "INDEX_NAME" : "contract_id", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contract_fraud_preferences", "key_col" : "contract_fraud_preferences/contract_id/1" }, "contract_phonebook/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contract_phonebook", "key_col" : "contract_phonebook/PRIMARY/1" }, "contract_phonebook/name_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "name", "INDEX_NAME" : "name_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contract_phonebook", "key_col" : "contract_phonebook/name_idx/1" }, "contract_phonebook/number_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "number", "INDEX_NAME" : "number_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contract_phonebook", "key_col" : "contract_phonebook/number_idx/1" }, "contract_phonebook/rel_u_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "contract_id", "INDEX_NAME" : "rel_u_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contract_phonebook", "key_col" : "contract_phonebook/rel_u_idx/1" }, "contract_phonebook/rel_u_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "number", "INDEX_NAME" : "rel_u_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "contract_phonebook", "key_col" : "contract_phonebook/rel_u_idx/2" }, "contract_registers/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contract_registers", "key_col" : "contract_registers/PRIMARY/1" }, "contract_registers/contractid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "contract_id", "INDEX_NAME" : "contractid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contract_registers", "key_col" : "contract_registers/contractid_idx/1" }, "contracts/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contracts", "key_col" : "contracts/PRIMARY/1" }, "contracts/c_package_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "profile_package_id", "INDEX_NAME" : "c_package_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contracts", "key_col" : "contracts/c_package_ref/1" }, "contracts/c_productid_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "product_id", "INDEX_NAME" : "c_productid_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contracts", "key_col" : "contracts/c_productid_ref/1" }, "contracts/contactid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "contact_id", "INDEX_NAME" : "contactid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contracts", "key_col" : "contracts/contactid_idx/1" }, "contracts/customerid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "customer_id", "INDEX_NAME" : "customerid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contracts", "key_col" : "contracts/customerid_idx/1" }, "contracts/externalid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "external_id", "INDEX_NAME" : "externalid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contracts", "key_col" : "contracts/externalid_idx/1" }, "contracts/orderid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "order_id", "INDEX_NAME" : "orderid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contracts", "key_col" : "contracts/orderid_idx/1" }, "contracts_billing_profile_network/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/PRIMARY/1" }, "contracts_billing_profile_network/cbpn_natural_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "contract_id", "INDEX_NAME" : "cbpn_natural_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/cbpn_natural_idx/1" }, "contracts_billing_profile_network/cbpn_natural_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "cbpn_natural_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/cbpn_natural_idx/2" }, "contracts_billing_profile_network/cbpn_natural_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_network_id", "INDEX_NAME" : "cbpn_natural_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/cbpn_natural_idx/3" }, "contracts_billing_profile_network/cbpn_natural_idx/4" : { "COLLATION" : "A", "COLUMN_NAME" : "start_date", "INDEX_NAME" : "cbpn_natural_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 4, "SUB_PART" : null, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/cbpn_natural_idx/4" }, "contracts_billing_profile_network/cbpn_natural_idx/5" : { "COLLATION" : "A", "COLUMN_NAME" : "end_date", "INDEX_NAME" : "cbpn_natural_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 5, "SUB_PART" : null, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/cbpn_natural_idx/5" }, "contracts_billing_profile_network/cbpn_natural_idx/6" : { "COLLATION" : "A", "COLUMN_NAME" : "base", "INDEX_NAME" : "cbpn_natural_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 6, "SUB_PART" : null, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/cbpn_natural_idx/6" }, "contracts_billing_profile_network/cbpn_nid_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_network_id", "INDEX_NAME" : "cbpn_nid_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/cbpn_nid_ref/1" }, "contracts_billing_profile_network/cbpn_pid_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "cbpn_pid_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network/cbpn_pid_ref/1" }, "contracts_billing_profile_network_schedule/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contracts_billing_profile_network_schedule", "key_col" : "contracts_billing_profile_network_schedule/PRIMARY/1" }, "contracts_billing_profile_network_schedule/cbpns_pnid_est_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "profile_network_id", "INDEX_NAME" : "cbpns_pnid_est_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "contracts_billing_profile_network_schedule", "key_col" : "contracts_billing_profile_network_schedule/cbpns_pnid_est_idx/1" }, "contracts_billing_profile_network_schedule/cbpns_pnid_est_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "effective_start_time", "INDEX_NAME" : "cbpns_pnid_est_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "contracts_billing_profile_network_schedule", "key_col" : "contracts_billing_profile_network_schedule/cbpns_pnid_est_idx/2" }, "credit_payments/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "credit_payments", "key_col" : "credit_payments/PRIMARY/1" }, "credit_payments/creditid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "credit_id", "INDEX_NAME" : "creditid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "credit_payments", "key_col" : "credit_payments/creditid_idx/1" }, "credit_payments/paymentid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "payment_id", "INDEX_NAME" : "paymentid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "credit_payments", "key_col" : "credit_payments/paymentid_idx/1" }, "customer_registers/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "customer_registers", "key_col" : "customer_registers/PRIMARY/1" }, "customer_registers/customerid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "customer_id", "INDEX_NAME" : "customerid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "customer_registers", "key_col" : "customer_registers/customerid_idx/1" }, "customers/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "customers", "key_col" : "customers/PRIMARY/1" }, "customers/commcontactid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "comm_contact_id", "INDEX_NAME" : "commcontactid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "customers", "key_col" : "customers/commcontactid_idx/1" }, "customers/contactid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "contact_id", "INDEX_NAME" : "contactid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "customers", "key_col" : "customers/contactid_idx/1" }, "customers/externalid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "external_id", "INDEX_NAME" : "externalid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "customers", "key_col" : "customers/externalid_idx/1" }, "customers/reseller_id/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "reseller_id", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "customers", "key_col" : "customers/reseller_id/1" }, "customers/reseller_id/2" : { "COLLATION" : "A", "COLUMN_NAME" : "shopuser", "INDEX_NAME" : "reseller_id", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "customers", "key_col" : "customers/reseller_id/2" }, "customers/resellerid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "resellerid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "customers", "key_col" : "customers/resellerid_idx/1" }, "customers/techcontact_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "tech_contact_id", "INDEX_NAME" : "techcontact_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "customers", "key_col" : "customers/techcontact_idx/1" }, "domain_resellers/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "domain_resellers", "key_col" : "domain_resellers/PRIMARY/1" }, "domain_resellers/domainid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "domain_id", "INDEX_NAME" : "domainid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "domain_resellers", "key_col" : "domain_resellers/domainid_idx/1" }, "domain_resellers/resellerid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "resellerid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "domain_resellers", "key_col" : "domain_resellers/resellerid_idx/1" }, "domains/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "domains", "key_col" : "domains/PRIMARY/1" }, "domains/domain_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "domain", "INDEX_NAME" : "domain_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "domains", "key_col" : "domains/domain_idx/1" }, "domains/resellerid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "resellerid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "domains", "key_col" : "domains/resellerid_idx/1" }, "email_templates/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "email_templates", "key_col" : "email_templates/PRIMARY/1" }, "email_templates/reseller_name_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "reseller_name_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "email_templates", "key_col" : "email_templates/reseller_name_idx/1" }, "email_templates/reseller_name_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "name", "INDEX_NAME" : "reseller_name_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "email_templates", "key_col" : "email_templates/reseller_name_idx/2" }, "invoice_templates/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "invoice_templates", "key_col" : "invoice_templates/PRIMARY/1" }, "invoice_templates/invoice_templates_ibfk_1/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "invoice_templates_ibfk_1", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "invoice_templates", "key_col" : "invoice_templates/invoice_templates_ibfk_1/1" }, "invoices/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "invoices", "key_col" : "invoices/PRIMARY/1" }, "invoices/invoice_contract_fk/1" : { "COLLATION" : "A", "COLUMN_NAME" : "contract_id", "INDEX_NAME" : "invoice_contract_fk", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "invoices", "key_col" : "invoices/invoice_contract_fk/1" }, "invoices/serial_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "serial", "INDEX_NAME" : "serial_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "invoices", "key_col" : "invoices/serial_idx/1" }, "journals/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "journals", "key_col" : "journals/PRIMARY/1" }, "journals/op_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "operation", "INDEX_NAME" : "op_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "journals", "key_col" : "journals/op_idx/1" }, "journals/res_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "resource_name", "INDEX_NAME" : "res_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "journals", "key_col" : "journals/res_idx/1" }, "journals/res_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "resource_id", "INDEX_NAME" : "res_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "journals", "key_col" : "journals/res_idx/2" }, "journals/resellerid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "resellerid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "journals", "key_col" : "journals/resellerid_idx/1" }, "journals/roleid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "role_id", "INDEX_NAME" : "roleid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "journals", "key_col" : "journals/roleid_idx/1" }, "journals/ts_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "timestamp", "INDEX_NAME" : "ts_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "journals", "key_col" : "journals/ts_idx/1" }, "journals/txid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "tx_id", "INDEX_NAME" : "txid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "journals", "key_col" : "journals/txid_idx/1" }, "journals/userid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "user_id", "INDEX_NAME" : "userid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "journals", "key_col" : "journals/userid_idx/1" }, "lnp_numbers/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "lnp_numbers", "key_col" : "lnp_numbers/PRIMARY/1" }, "lnp_numbers/l_n_lnpproid_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "lnp_provider_id", "INDEX_NAME" : "l_n_lnpproid_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "lnp_numbers", "key_col" : "lnp_numbers/l_n_lnpproid_ref/1" }, "lnp_numbers/l_n_start_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "start", "INDEX_NAME" : "l_n_start_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "lnp_numbers", "key_col" : "lnp_numbers/l_n_start_idx/1" }, "lnp_numbers/number_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "number", "INDEX_NAME" : "number_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "lnp_numbers", "key_col" : "lnp_numbers/number_idx/1" }, "lnp_providers/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "lnp_providers", "key_col" : "lnp_providers/PRIMARY/1" }, "ncos_levels/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels/PRIMARY/1" }, "ncos_levels/expose_to_customer_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "expose_to_customer", "INDEX_NAME" : "expose_to_customer_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels/expose_to_customer_idx/1" }, "ncos_levels/nl_time_set_id_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "time_set_id", "INDEX_NAME" : "nl_time_set_id_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels/nl_time_set_id_idx/1" }, "ncos_levels/reslev_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "reslev_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels/reslev_idx/1" }, "ncos_levels/reslev_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "level", "INDEX_NAME" : "reslev_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels/reslev_idx/2" }, "ncos_lnp_list/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_lnp_list", "key_col" : "ncos_lnp_list/PRIMARY/1" }, "ncos_lnp_list/c_l_l_lnpproid_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "lnp_provider_id", "INDEX_NAME" : "c_l_l_lnpproid_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_lnp_list", "key_col" : "ncos_lnp_list/c_l_l_lnpproid_ref/1" }, "ncos_lnp_list/levpro_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "ncos_level_id", "INDEX_NAME" : "levpro_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_lnp_list", "key_col" : "ncos_lnp_list/levpro_idx/1" }, "ncos_lnp_list/levpro_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "lnp_provider_id", "INDEX_NAME" : "levpro_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "ncos_lnp_list", "key_col" : "ncos_lnp_list/levpro_idx/2" }, "ncos_lnp_pattern_list/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_lnp_pattern_list", "key_col" : "ncos_lnp_pattern_list/PRIMARY/1" }, "ncos_lnp_pattern_list/listpat_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "ncos_lnp_list_id", "INDEX_NAME" : "listpat_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_lnp_pattern_list", "key_col" : "ncos_lnp_pattern_list/listpat_idx/1" }, "ncos_lnp_pattern_list/listpat_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "pattern", "INDEX_NAME" : "listpat_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "ncos_lnp_pattern_list", "key_col" : "ncos_lnp_pattern_list/listpat_idx/2" }, "ncos_pattern_list/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_pattern_list", "key_col" : "ncos_pattern_list/PRIMARY/1" }, "ncos_pattern_list/levpat_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "ncos_level_id", "INDEX_NAME" : "levpat_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_pattern_list", "key_col" : "ncos_pattern_list/levpat_idx/1" }, "ncos_pattern_list/levpat_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "pattern", "INDEX_NAME" : "levpat_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "ncos_pattern_list", "key_col" : "ncos_pattern_list/levpat_idx/2" }, "ncos_set_levels/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_set_levels", "key_col" : "ncos_set_levels/PRIMARY/1" }, "ncos_set_levels/nlm_ncos_level_id_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "ncos_level_id", "INDEX_NAME" : "nlm_ncos_level_id_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_set_levels", "key_col" : "ncos_set_levels/nlm_ncos_level_id_idx/1" }, "ncos_set_levels/set_level_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "ncos_set_id", "INDEX_NAME" : "set_level_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_set_levels", "key_col" : "ncos_set_levels/set_level_idx/1" }, "ncos_set_levels/set_level_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "ncos_level_id", "INDEX_NAME" : "set_level_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "ncos_set_levels", "key_col" : "ncos_set_levels/set_level_idx/2" }, "ncos_sets/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_sets", "key_col" : "ncos_sets/PRIMARY/1" }, "ncos_sets/expose_to_customer_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "expose_to_customer", "INDEX_NAME" : "expose_to_customer_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_sets", "key_col" : "ncos_sets/expose_to_customer_idx/1" }, "ncos_sets/resname_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "resname_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "ncos_sets", "key_col" : "ncos_sets/resname_idx/1" }, "ncos_sets/resname_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "name", "INDEX_NAME" : "resname_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "ncos_sets", "key_col" : "ncos_sets/resname_idx/2" }, "order_payments/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "order_payments", "key_col" : "order_payments/PRIMARY/1" }, "order_payments/orderid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "order_id", "INDEX_NAME" : "orderid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "order_payments", "key_col" : "order_payments/orderid_idx/1" }, "order_payments/paymentid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "payment_id", "INDEX_NAME" : "paymentid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "order_payments", "key_col" : "order_payments/paymentid_idx/1" }, "orders/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "orders", "key_col" : "orders/PRIMARY/1" }, "orders/contactid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "delivery_contact_id", "INDEX_NAME" : "contactid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "orders", "key_col" : "orders/contactid_idx/1" }, "orders/customerid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "customer_id", "INDEX_NAME" : "customerid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "orders", "key_col" : "orders/customerid_idx/1" }, "orders/invoiceid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "invoice_id", "INDEX_NAME" : "invoiceid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "orders", "key_col" : "orders/invoiceid_idx/1" }, "orders/resellerid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "resellerid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "orders", "key_col" : "orders/resellerid_idx/1" }, "package_profile_sets/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "package_profile_sets", "key_col" : "package_profile_sets/PRIMARY/1" }, "package_profile_sets/pps_network_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "network_id", "INDEX_NAME" : "pps_network_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "package_profile_sets", "key_col" : "package_profile_sets/pps_network_ref/1" }, "package_profile_sets/pps_packdiscr_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "package_id", "INDEX_NAME" : "pps_packdiscr_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "package_profile_sets", "key_col" : "package_profile_sets/pps_packdiscr_idx/1" }, "package_profile_sets/pps_packdiscr_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "discriminator", "INDEX_NAME" : "pps_packdiscr_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "package_profile_sets", "key_col" : "package_profile_sets/pps_packdiscr_idx/2" }, "package_profile_sets/pps_profile_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "profile_id", "INDEX_NAME" : "pps_profile_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "package_profile_sets", "key_col" : "package_profile_sets/pps_profile_ref/1" }, "password_resets/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "password_resets", "key_col" : "password_resets/PRIMARY/1" }, "password_resets/fk_pwd_reset_sub/1" : { "COLLATION" : "A", "COLUMN_NAME" : "subscriber_id", "INDEX_NAME" : "fk_pwd_reset_sub", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "password_resets", "key_col" : "password_resets/fk_pwd_reset_sub/1" }, "password_resets/uuid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "uuid", "INDEX_NAME" : "uuid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "password_resets", "key_col" : "password_resets/uuid_idx/1" }, "payments/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "payments", "key_col" : "payments/PRIMARY/1" }, "payments/mpaytid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "mpaytid", "INDEX_NAME" : "mpaytid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "payments", "key_col" : "payments/mpaytid_idx/1" }, "payments/state_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "state", "INDEX_NAME" : "state_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "payments", "key_col" : "payments/state_idx/1" }, "payments/status_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "status", "INDEX_NAME" : "status_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "payments", "key_col" : "payments/status_idx/1" }, "products/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "products", "key_col" : "products/PRIMARY/1" }, "products/profileid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "billing_profile_id", "INDEX_NAME" : "profileid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "products", "key_col" : "products/profileid_idx/1" }, "products/resellerid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "resellerid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "products", "key_col" : "products/resellerid_idx/1" }, "products/reshand_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "reshand_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "products", "key_col" : "products/reshand_idx/1" }, "products/reshand_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "handle", "INDEX_NAME" : "reshand_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "products", "key_col" : "products/reshand_idx/2" }, "products/resnam_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "resnam_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "products", "key_col" : "products/resnam_idx/1" }, "products/resnam_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "name", "INDEX_NAME" : "resnam_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "products", "key_col" : "products/resnam_idx/2" }, "profile_packages/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/PRIMARY/1" }, "profile_packages/pp_resname_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "pp_resname_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/pp_resname_idx/1" }, "profile_packages/pp_resname_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "name", "INDEX_NAME" : "pp_resname_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages/pp_resname_idx/2" }, "provisioning_templates/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "provisioning_templates", "key_col" : "provisioning_templates/PRIMARY/1" }, "provisioning_templates/resnam_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "resnam_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "provisioning_templates", "key_col" : "provisioning_templates/resnam_idx/1" }, "provisioning_templates/resnam_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "name", "INDEX_NAME" : "resnam_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "provisioning_templates", "key_col" : "provisioning_templates/resnam_idx/2" }, "reseller_brandings/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "reseller_brandings", "key_col" : "reseller_brandings/PRIMARY/1" }, "reseller_brandings/reseller_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "reseller_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "reseller_brandings", "key_col" : "reseller_brandings/reseller_idx/1" }, "reseller_phonebook/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "reseller_phonebook", "key_col" : "reseller_phonebook/PRIMARY/1" }, "reseller_phonebook/name_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "name", "INDEX_NAME" : "name_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "reseller_phonebook", "key_col" : "reseller_phonebook/name_idx/1" }, "reseller_phonebook/number_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "number", "INDEX_NAME" : "number_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "reseller_phonebook", "key_col" : "reseller_phonebook/number_idx/1" }, "reseller_phonebook/rel_u_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "rel_u_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "reseller_phonebook", "key_col" : "reseller_phonebook/rel_u_idx/1" }, "reseller_phonebook/rel_u_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "number", "INDEX_NAME" : "rel_u_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "reseller_phonebook", "key_col" : "reseller_phonebook/rel_u_idx/2" }, "resellers/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "resellers", "key_col" : "resellers/PRIMARY/1" }, "resellers/contractid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "contract_id", "INDEX_NAME" : "contractid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "resellers", "key_col" : "resellers/contractid_idx/1" }, "resellers/name_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "name", "INDEX_NAME" : "name_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "resellers", "key_col" : "resellers/name_idx/1" }, "subscriber_phonebook/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "subscriber_phonebook", "key_col" : "subscriber_phonebook/PRIMARY/1" }, "subscriber_phonebook/name_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "name", "INDEX_NAME" : "name_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "subscriber_phonebook", "key_col" : "subscriber_phonebook/name_idx/1" }, "subscriber_phonebook/number_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "number", "INDEX_NAME" : "number_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "subscriber_phonebook", "key_col" : "subscriber_phonebook/number_idx/1" }, "subscriber_phonebook/rel_u_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "subscriber_id", "INDEX_NAME" : "rel_u_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "subscriber_phonebook", "key_col" : "subscriber_phonebook/rel_u_idx/1" }, "subscriber_phonebook/rel_u_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "number", "INDEX_NAME" : "rel_u_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "subscriber_phonebook", "key_col" : "subscriber_phonebook/rel_u_idx/2" }, "topup_log/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/PRIMARY/1" }, "topup_log/tl_balance_after_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "contract_balance_after_id", "INDEX_NAME" : "tl_balance_after_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/tl_balance_after_ref/1" }, "topup_log/tl_balance_before_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "contract_balance_before_id", "INDEX_NAME" : "tl_balance_before_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/tl_balance_before_ref/1" }, "topup_log/tl_contract_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "contract_id", "INDEX_NAME" : "tl_contract_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/tl_contract_ref/1" }, "topup_log/tl_package_after_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "package_after_id", "INDEX_NAME" : "tl_package_after_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/tl_package_after_ref/1" }, "topup_log/tl_package_before_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "package_before_id", "INDEX_NAME" : "tl_package_before_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/tl_package_before_ref/1" }, "topup_log/tl_profile_after_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "profile_after_id", "INDEX_NAME" : "tl_profile_after_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/tl_profile_after_ref/1" }, "topup_log/tl_profile_before_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "profile_before_id", "INDEX_NAME" : "tl_profile_before_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/tl_profile_before_ref/1" }, "topup_log/tl_requesttoken_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "request_token", "INDEX_NAME" : "tl_requesttoken_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/tl_requesttoken_idx/1" }, "topup_log/tl_subscriber_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "subscriber_id", "INDEX_NAME" : "tl_subscriber_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/tl_subscriber_ref/1" }, "topup_log/tl_timestamp_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "timestamp", "INDEX_NAME" : "tl_timestamp_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/tl_timestamp_idx/1" }, "topup_log/tl_voucher_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "voucher_id", "INDEX_NAME" : "tl_voucher_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "topup_log", "key_col" : "topup_log/tl_voucher_ref/1" }, "voip_intercept/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/PRIMARY/1" }, "voip_intercept/deleted_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "deleted", "INDEX_NAME" : "deleted_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/deleted_idx/1" }, "voip_intercept/number_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "number", "INDEX_NAME" : "number_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/number_idx/1" }, "voip_intercept/resellerid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "resellerid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept/resellerid_idx/1" }, "voip_number_block_resellers/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_number_block_resellers", "key_col" : "voip_number_block_resellers/PRIMARY/1" }, "voip_number_block_resellers/numblockid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "number_block_id", "INDEX_NAME" : "numblockid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_number_block_resellers", "key_col" : "voip_number_block_resellers/numblockid_idx/1" }, "voip_number_block_resellers/resellerid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "resellerid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_number_block_resellers", "key_col" : "voip_number_block_resellers/resellerid_idx/1" }, "voip_number_blocks/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_number_blocks", "key_col" : "voip_number_blocks/PRIMARY/1" }, "voip_number_blocks/prefix_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "cc", "INDEX_NAME" : "prefix_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_number_blocks", "key_col" : "voip_number_blocks/prefix_idx/1" }, "voip_number_blocks/prefix_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "ac", "INDEX_NAME" : "prefix_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "voip_number_blocks", "key_col" : "voip_number_blocks/prefix_idx/2" }, "voip_number_blocks/prefix_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "sn_prefix", "INDEX_NAME" : "prefix_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "voip_number_blocks", "key_col" : "voip_number_blocks/prefix_idx/3" }, "voip_numbers/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/PRIMARY/1" }, "voip_numbers/listts_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "list_timestamp", "INDEX_NAME" : "listts_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/listts_idx/1" }, "voip_numbers/number_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "cc", "INDEX_NAME" : "number_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/number_idx/1" }, "voip_numbers/number_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "ac", "INDEX_NAME" : "number_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/number_idx/2" }, "voip_numbers/number_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "sn", "INDEX_NAME" : "number_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/number_idx/3" }, "voip_numbers/resellerid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "resellerid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/resellerid_idx/1" }, "voip_numbers/subscriberid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "subscriber_id", "INDEX_NAME" : "subscriberid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers/subscriberid_idx/1" }, "voip_subscribers/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/PRIMARY/1" }, "voip_subscribers/contractid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "contract_id", "INDEX_NAME" : "contractid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/contractid_idx/1" }, "voip_subscribers/domainid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "domain_id", "INDEX_NAME" : "domainid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/domainid_idx/1" }, "voip_subscribers/externalid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "external_id", "INDEX_NAME" : "externalid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/externalid_idx/1" }, "voip_subscribers/pnumid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "primary_number_id", "INDEX_NAME" : "pnumid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/pnumid_idx/1" }, "voip_subscribers/username_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "username", "INDEX_NAME" : "username_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/username_idx/1" }, "voip_subscribers/uuid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "uuid", "INDEX_NAME" : "uuid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/uuid_idx/1" }, "vouchers/PRIMARY/1" : { "COLLATION" : "A", "COLUMN_NAME" : "id", "INDEX_NAME" : "PRIMARY", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/PRIMARY/1" }, "vouchers/code_sub_valid_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "code", "INDEX_NAME" : "code_sub_valid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/code_sub_valid_idx/1" }, "vouchers/code_sub_valid_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "used_by_subscriber_id", "INDEX_NAME" : "code_sub_valid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/code_sub_valid_idx/2" }, "vouchers/code_sub_valid_idx/3" : { "COLLATION" : "A", "COLUMN_NAME" : "valid_until", "INDEX_NAME" : "code_sub_valid_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 3, "SUB_PART" : null, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/code_sub_valid_idx/3" }, "vouchers/customer_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "customer_id", "INDEX_NAME" : "customer_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/customer_idx/1" }, "vouchers/reseller_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "reseller_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/reseller_idx/1" }, "vouchers/subscriber_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "used_by_subscriber_id", "INDEX_NAME" : "subscriber_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/subscriber_idx/1" }, "vouchers/vouchers_package_ref/1" : { "COLLATION" : "A", "COLUMN_NAME" : "package_id", "INDEX_NAME" : "vouchers_package_ref", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 1, "NULLABLE" : "YES", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/vouchers_package_ref/1" }, "vouchers/vouchers_rescode_idx/1" : { "COLLATION" : "A", "COLUMN_NAME" : "reseller_id", "INDEX_NAME" : "vouchers_rescode_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 1, "SUB_PART" : null, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/vouchers_rescode_idx/1" }, "vouchers/vouchers_rescode_idx/2" : { "COLLATION" : "A", "COLUMN_NAME" : "code", "INDEX_NAME" : "vouchers_rescode_idx", "INDEX_TYPE" : "BTREE", "NON_UNIQUE" : 0, "NULLABLE" : "", "SEQ_IN_INDEX" : 2, "SUB_PART" : null, "TABLE_NAME" : "vouchers", "key_col" : "vouchers/vouchers_rescode_idx/2" } }, "routines" : { "add_contract_billing_profile_network_schedule" : { "ROUTINE_DEFINITION" : "begin\n\n declare _profile_network_id int(11) unsigned;\n\n set _profile_network_id = (select id from billing.contracts_billing_profile_network where contract_id = _contract_id and billing_profile_id = _profile_id\n and billing_network_id <=> _network_id and start_date <=> _start_date and end_date <=> _end_date and base = _last);\n\n if _profile_network_id is null then\n insert into billing.contracts_billing_profile_network values(null,_contract_id,_profile_id,_network_id,_start_date,_end_date,_last);\n set _profile_network_id = last_insert_id();\n end if;\n insert into billing.contracts_billing_profile_network_schedule values(null,_profile_network_id,_effective_start_date);\n\nend", "ROUTINE_TYPE" : "PROCEDURE", "key_col" : "add_contract_billing_profile_network_schedule" }, "check_billing_fee_offpeak" : { "ROUTINE_DEFINITION" : "begin\n\n declare _call_start, _call_end decimal(13,3);\n declare _is_offpeak boolean;\n set _call_start = _t;\n set _call_end = _t;\n\n set _is_offpeak = (select coalesce((select 1 from (\n select\n unix_timestamp(\n if(_contract_id is null,\n concat(date_enum.d,\" \",pw.start),\n convert_tz(concat(date_enum.d,\" \",pw.start),\n @@session.time_zone,\n (select coalesce((select tz.name FROM billing.v_contract_timezone tz WHERE tz.contract_id = _contract_id LIMIT 1),@@session.time_zone))\n )\n )\n ) as start,\n unix_timestamp(\n if(_contract_id is null,\n concat(date_enum.d,\" \",pw.end),\n convert_tz(concat(date_enum.d,\" \",pw.end),\n @@session.time_zone,\n (select coalesce((select tz.name FROM billing.v_contract_timezone tz WHERE tz.contract_id = _contract_id LIMIT 1),@@session.time_zone))\n )\n )\n ) as end\n from\n ngcp.date_range_helper as date_enum\n join billing.billing_peaktime_weekdays pw on pw.weekday=weekday(date_enum.d)\n where\n pw.billing_profile_id = _billing_profile_id\n and date_enum.d >= date(from_unixtime(_call_start))\n and date_enum.d <= date(from_unixtime(_call_end))\n ) as offpeaks where offpeaks.start <= _t and offpeaks.end >= _t limit 1),0));\n\n if _is_offpeak != 1 then\n\n set _is_offpeak = (select coalesce((select 1 from (\n select\n unix_timestamp(\n if(_contract_id is null,\n ps.start,\n convert_tz(ps.start,\n @@session.time_zone,\n (select coalesce((select tz.name FROM billing.v_contract_timezone tz WHERE tz.contract_id = _contract_id LIMIT 1),@@session.time_zone))\n )\n )\n ) as start,\n unix_timestamp(\n if(_contract_id is null,\n ps.end,\n convert_tz(ps.end,\n @@session.time_zone,\n (select coalesce((select tz.name FROM billing.v_contract_timezone tz WHERE tz.contract_id = _contract_id LIMIT 1),@@session.time_zone))\n )\n )\n ) as end\n from\n billing.billing_peaktime_special as ps\n where\n ps.billing_profile_id = _billing_profile_id\n and (ps.start <= from_unixtime(_call_end) and ps.end >= from_unixtime(_call_start))\n ) as offpeaks where offpeaks.start <= _t and offpeaks.end >= _t limit 1),0));\n\n end if;\n\n return _is_offpeak;\n\nend", "ROUTINE_TYPE" : "FUNCTION", "key_col" : "check_billing_fee_offpeak" }, "create_contract_billing_profile_network_from_package" : { "ROUTINE_DEFINITION" : "begin\n\n call billing.schedule_contract_billing_profile_network(_contract_id,null,(select group_concat(concat(from_unixtime(_start),\",,\",profile_id,\",\",\n if(network_id is null,\"\",network_id),\",\") order by id separator \";\") from billing.package_profile_sets\n where package_id = _package_id and discriminator = _package_profile_set));\n\nend", "ROUTINE_TYPE" : "PROCEDURE", "key_col" : "create_contract_billing_profile_network_from_package" }, "fill_billing_fees" : { "ROUTINE_DEFINITION" : "begin\n\n declare columns varchar(1023);\n declare statement varchar(1023);\n\n set @profile_id = in_profile_id;\n\n select group_concat(column_name) into columns from information_schema.columns where table_schema = database() and table_name = \"billing_fees_raw\" and column_name not in (\"id\");\n\n set @statement = concat(\"insert into billing.billing_fees(id,\",columns,\")\\n select min_id,\",columns,\"\\n from billing.billing_fees_raw bnu\\n inner join (\\n select min(i_nu.id) min_id\\n from billing.billing_fees_raw i_nu\\n left join billing.billing_fees i_u\\n on i_nu.billing_profile_id=i_u.billing_profile_id\\n and i_nu.type=i_u.type\\n and i_nu.match_mode=i_u.match_mode\\n and i_nu.direction=i_u.direction\\n and i_nu.source=i_u.source\\n and i_nu.destination=i_u.destination\\n where i_u.id is null \",\n if( @profile_id is not null, \" and i_nu.billing_profile_id = ? \", \" and 1 = ? \"),\n \" group by i_nu.billing_profile_id,i_nu.type,i_nu.match_mode,i_nu.direction,i_nu.source,i_nu.destination\\n ) u on bnu.id=u.min_id\");\n\n if @profile_id is null then\n set @profile_id = 1;\n end if;\n\n prepare stmt from @statement;\n execute stmt using @profile_id;\n deallocate prepare stmt;\nend", "ROUTINE_TYPE" : "PROCEDURE", "key_col" : "fill_billing_fees" }, "get_billing_fee" : { "ROUTINE_DEFINITION" : "begin\n\n declare _fee_string varchar(100);\n\n set _fee_string = (select concat(\n if(pt.is_offpeak,bfh.offpeak_init_rate,bfh.onpeak_init_rate),\":\",\n if(pt.is_offpeak,bfh.offpeak_init_interval,bfh.onpeak_init_interval),\":\",\n if(pt.is_offpeak,bfh.offpeak_follow_rate,bfh.onpeak_follow_rate),\":\",\n if(pt.is_offpeak,bfh.offpeak_follow_interval,bfh.onpeak_follow_interval),\":\",\n bfh.aoc_pulse_amount_per_message\n ) from\n billing.billing_fees_history bfh\n join (select billing.check_billing_fee_offpeak(_billing_profile_id,_t,_contract_id) as is_offpeak) pt\n where\n bfh.id = billing.get_billing_fee_id(_billing_profile_id,\"call\",\"out\",_source,_destination,null));\n\n return _fee_string;\n\nend", "ROUTINE_TYPE" : "FUNCTION", "key_col" : "get_billing_fee" }, "get_billing_fee_id" : { "ROUTINE_DEFINITION" : "begin\n\n declare _destination_prefix,_source_prefix varchar(511);\n declare _i, _j int(3);\n declare _fee_id int(11);\n\n if _fee_id is null and (_match_mode is null or _match_mode = \"exact_destination\")\n and (select exists (select 1 from billing.billing_fees_history use index (bfh_srcdestdir_idx) where\n billing_profile_id = _billing_profile_id\n and type = _type\n and match_mode = \"exact_destination\"\n and direction = _direction\n and bf_id is not null)) then\n\n set _fee_id = (select id from billing.billing_fees_history where\n billing_profile_id = _billing_profile_id\n and type = _type\n and match_mode = \"exact_destination\"\n and direction = _direction\n and bf_id is not null\n and destination = _destination\n limit 1);\n\n end if;\n\n if _fee_id is null and (_match_mode is null or _match_mode = \"prefix\")\n and (select exists (select 1 from billing.billing_fees_history use index (bfh_srcdestdir_idx) where\n billing_profile_id = _billing_profile_id\n and type = _type\n and match_mode = \"prefix\"\n and direction = _direction\n and bf_id is not null)) then\n\n set _j = length(_destination);\n\n destination_loop: loop\n if _j < 0 or _fee_id is not null then\n leave destination_loop;\n end if;\n set _destination_prefix = substr(coalesce(_destination,\"\"),1,_j);\n if (select exists (select 1 from billing.billing_fees_history where\n billing_profile_id = _billing_profile_id\n and type = _type\n and match_mode = \"prefix\"\n and direction = _direction\n and bf_id is not null\n and destination = _destination_prefix)) then\n\n set _i = length(_source);\n\n source_loop: loop\n if _i < 0 or _fee_id is not null then\n leave source_loop;\n end if;\n set _source_prefix = substr(coalesce(_source,\"\"),1,_i);\n set _fee_id = (select id from billing.billing_fees_history where\n billing_profile_id = _billing_profile_id\n and type = _type\n and match_mode = \"prefix\"\n and direction = _direction\n and bf_id is not null\n and source = _source_prefix\n and destination = _destination_prefix\n limit 1);\n set _i = _i - 1;\n end loop source_loop;\n end if;\n set _j = _j - 1;\n end loop destination_loop;\n end if;\n\n if _fee_id is null and (_match_mode is null or _match_mode = \"regex_longest_match\")\n and (select exists (select 1 from billing.billing_fees_history use index (bfh_srcdestdir_idx) where\n billing_profile_id = _billing_profile_id\n and type = _type\n and match_mode = \"regex_longest_match\"\n and direction = _direction\n and bf_id is not null)) then\n\n set _fee_id = (select id from billing.billing_fees_history where\n billing_profile_id = _billing_profile_id\n and type = _type\n and match_mode = \"regex_longest_match\"\n and direction = _direction\n and bf_id is not null\n and _source regexp(source)\n and _destination regexp(destination)\n order by\n length(regexp_substr(_destination,destination)) desc,\n length(regexp_substr(_source,source)) desc limit 1);\n\n end if;\n\n if _fee_id is null and (_match_mode is null or _match_mode = \"regex_longest_pattern\")\n and (select exists (select 1 from billing.billing_fees_history use index (bfh_srcdestdir_idx) where\n billing_profile_id = _billing_profile_id\n and type = _type\n and match_mode = \"regex_longest_pattern\"\n and direction = _direction\n and bf_id is not null)) then\n\n set _fee_id = (select id from billing.billing_fees_history where\n billing_profile_id = _billing_profile_id\n and type = _type\n and match_mode = \"regex_longest_pattern\"\n and direction = _direction\n and bf_id is not null\n and _source regexp(source)\n and _destination regexp(destination)\n order by\n length(destination) desc,\n length(source) desc limit 1);\n\n end if;\n\n return _fee_id;\n\nend", "ROUTINE_TYPE" : "FUNCTION", "key_col" : "get_billing_fee_id" }, "get_billing_network_contract_cnt" : { "ROUTINE_DEFINITION" : "begin\n\n if _limit >= 0 then\n return (select\n count(1)\n from (select\n 1\n from billing.contracts_billing_profile_network_schedule cbpns\n join billing.contracts_billing_profile_network cbpn on cbpns.profile_network_id = cbpn.id\n join billing._v_actual_effective_start_time est on est.contract_id = cbpn.contract_id and cbpns.effective_start_time = est.effective_start_time\n join billing.contracts as c on est.contract_id = c.id\n where\n cbpn.billing_network_id = _network_id\n and c.status != 'terminated'\n limit _limit) as q\n );\n end if;\n\n return (select\n count(1)\n from billing.contracts_billing_profile_network_schedule cbpns\n join billing.contracts_billing_profile_network cbpn on cbpns.profile_network_id = cbpn.id\n join billing._v_actual_effective_start_time est on est.contract_id = cbpn.contract_id and cbpns.effective_start_time = est.effective_start_time\n join billing.contracts as c on est.contract_id = c.id\n where\n cbpn.billing_network_id = _network_id\n and c.status != 'terminated'\n );\n\nend", "ROUTINE_TYPE" : "FUNCTION", "key_col" : "get_billing_network_contract_cnt" }, "get_billing_profile_by_contract_id" : { "ROUTINE_DEFINITION" : "begin\n\n declare _effective_start_date decimal(13,3);\n declare _cbpn_id,_profile_id int(11);\n\n if _contract_id is null or _epoch is null then\n return null;\n end if;\n\n set _effective_start_date = (select max(cbpns.effective_start_time) from billing.contracts_billing_profile_network_schedule cbpns join\n billing.contracts_billing_profile_network cbpn on cbpn.id = cbpns.profile_network_id\n where cbpn.contract_id = _contract_id and cbpns.effective_start_time <= _epoch and cbpn.base = 1);\n\n if _effective_start_date is null then\n set _cbpn_id = (select min(id) from billing.contracts_billing_profile_network cbpn\n where cbpn.contract_id = _contract_id and cbpn.base = 1);\n else\n set _cbpn_id = (select cbpn.id from billing.contracts_billing_profile_network_schedule cbpns join\n billing.contracts_billing_profile_network cbpn on cbpn.id = cbpns.profile_network_id\n where cbpn.contract_id = _contract_id and cbpns.effective_start_time = _effective_start_date and cbpn.base = 1);\n end if;\n\n set _profile_id = (select billing_profile_id from billing.contracts_billing_profile_network where id = _cbpn_id);\n\n return _profile_id;\n\nend", "ROUTINE_TYPE" : "FUNCTION", "key_col" : "get_billing_profile_by_contract_id" }, "get_billing_profile_by_contract_id_network" : { "ROUTINE_DEFINITION" : "begin\n\n declare _effective_start_date decimal(13,3);\n declare _cbpn_id,_profile_id int(11);\n declare _network_bytes varbinary(16);\n declare _is_valid_ip,_is_ipv6 boolean default false;\n\n if _contract_id is null or _epoch is null then\n return null;\n end if;\n set _network_bytes = inet6_aton(_ip);\n set _is_valid_ip = if(_network_bytes is null or hex(_network_bytes) = \"00000000\",0,1);\n set _is_ipv6 = if(locate(\".\",_ip) = 0,1,0);\n\n set _effective_start_date = (select max(cbpns.effective_start_time) from billing.contracts_billing_profile_network_schedule cbpns join\n billing.contracts_billing_profile_network cbpn on cbpn.id = cbpns.profile_network_id\n left join billing.billing_networks bn on cbpn.billing_network_id = bn.id\n left join billing.billing_network_blocks bnb on bn.id = bnb.network_id\n where cbpn.contract_id = _contract_id and cbpns.effective_start_time <= _epoch\n and ((_is_valid_ip and if(_is_ipv6,bnb._ipv6_net_from <= _network_bytes and bnb._ipv6_net_to >= _network_bytes,\n bnb._ipv4_net_from <= _network_bytes and bnb._ipv4_net_to >= _network_bytes)) or cbpn.billing_network_id is null));\n\n if _effective_start_date is null then\n set _cbpn_id = (billing.get_billing_profile_by_contract_id(_contract_id,_epoch));\n else\n set _cbpn_id = (select cbpn.id from billing.contracts_billing_profile_network_schedule cbpns join\n billing.contracts_billing_profile_network cbpn on cbpn.id = cbpns.profile_network_id\n left join billing.billing_networks bn on cbpn.billing_network_id = bn.id\n left join billing.billing_network_blocks bnb on bn.id = bnb.network_id\n where cbpn.contract_id = _contract_id and cbpns.effective_start_time = _effective_start_date\n and ((_is_valid_ip and if(_is_ipv6,bnb._ipv6_net_from <= _network_bytes and bnb._ipv6_net_to >= _network_bytes,\n bnb._ipv4_net_from <= _network_bytes and bnb._ipv4_net_to >= _network_bytes)) or cbpn.billing_network_id is null)\n order by cbpn.billing_network_id desc limit 1);\n end if;\n\n set _profile_id = (select billing_profile_id from billing.contracts_billing_profile_network where id = _cbpn_id);\n\n return _profile_id;\n\nend", "ROUTINE_TYPE" : "FUNCTION", "key_col" : "get_billing_profile_by_contract_id_network" }, "get_billing_profile_by_peer_host_id" : { "ROUTINE_DEFINITION" : "begin\n\n return billing.get_billing_profile_by_contract_id((select pg.peering_contract_id from provisioning.voip_peer_hosts ph join\n provisioning.voip_peer_groups pg on pg.id = ph.group_id where ph.id = _peer_host_id),_epoch);\n\nend", "ROUTINE_TYPE" : "FUNCTION", "key_col" : "get_billing_profile_by_peer_host_id" }, "get_billing_profile_by_peer_host_id_network" : { "ROUTINE_DEFINITION" : "begin\n\n return billing.get_billing_profile_by_contract_id_network((select pg.peering_contract_id from provisioning.voip_peer_hosts ph join\n provisioning.voip_peer_groups pg on pg.id = ph.group_id where ph.id = _peer_host_id),_epoch,_ip);\n\nend", "ROUTINE_TYPE" : "FUNCTION", "key_col" : "get_billing_profile_by_peer_host_id_network" }, "get_billing_profile_by_uuid" : { "ROUTINE_DEFINITION" : "begin\n\n return billing.get_billing_profile_by_contract_id((select account_id from provisioning.voip_subscribers where uuid = _uuid),_epoch);\n\nend", "ROUTINE_TYPE" : "FUNCTION", "key_col" : "get_billing_profile_by_uuid" }, "get_billing_profile_by_uuid_network" : { "ROUTINE_DEFINITION" : "begin\n\n return billing.get_billing_profile_by_contract_id_network((select account_id from provisioning.voip_subscribers where uuid = _uuid),\n _epoch,_ip);\n\nend", "ROUTINE_TYPE" : "FUNCTION", "key_col" : "get_billing_profile_by_uuid_network" }, "get_billing_profile_contract_cnt" : { "ROUTINE_DEFINITION" : "begin\n\n if _limit >= 0 then\n return (select\n count(1)\n from (select\n 1\n from billing.contracts_billing_profile_network_schedule cbpns\n join billing.contracts_billing_profile_network cbpn on cbpns.profile_network_id = cbpn.id\n join billing._v_actual_effective_start_time est on est.contract_id = cbpn.contract_id and cbpns.effective_start_time = est.effective_start_time\n join billing.contracts as c on est.contract_id = c.id\n where\n cbpn.billing_profile_id = _profile_id\n and c.status != 'terminated'\n limit _limit) as q\n );\n end if;\n\n return (select\n count(1)\n from billing.contracts_billing_profile_network_schedule cbpns\n join billing.contracts_billing_profile_network cbpn on cbpns.profile_network_id = cbpn.id\n join billing._v_actual_effective_start_time est on est.contract_id = cbpn.contract_id and cbpns.effective_start_time = est.effective_start_time\n join billing.contracts as c on est.contract_id = c.id\n where\n cbpn.billing_profile_id = _profile_id\n and c.status != 'terminated'\n );\n\nend", "ROUTINE_TYPE" : "FUNCTION", "key_col" : "get_billing_profile_contract_cnt" }, "get_lnp_number_id" : { "ROUTINE_DEFINITION" : "begin\n\n declare _destination_prefix varchar(511);\n declare _i int(3);\n declare _number_id int(11);\n\n set _i = length(_destination);\n\n destination_loop: loop\n if _i < 0 or _number_id is not null then\n leave destination_loop;\n end if;\n set _destination_prefix = substr(coalesce(_destination,\"\"),1,_i);\n set _number_id = (select id from billing.lnp_numbers \n use index (number_idx)\n where number = _destination_prefix\n\tand (start <= from_unixtime(_epoch) or start is null) \n\tand (end > from_unixtime(_epoch) or end is null) \n limit 1);\n set _i = _i - 1;\n end loop destination_loop;\n\n return _number_id;\n\nend", "ROUTINE_TYPE" : "FUNCTION", "key_col" : "get_lnp_number_id" }, "schedule_contract_billing_profile_network" : { "ROUTINE_DEFINITION" : "main: begin\n\n declare _new boolean default false;\n declare _line varchar(128);\n declare _start_date_str,_end_date_str varchar(19);\n declare _profile_id_str,_network_id_str varchar(11);\n declare _last_str,_col_sep,_row_sep varchar(1);\n\n declare _row_sep_length int;\n declare _contract_id_locked,_max_id,_id int(11) unsigned;\n\n if _future_mappings is null then\n leave main;\n end if;\n\n if _contract_id is null then\n signal sqlstate \"45001\" set message_text = \"contract_id required\";\n else\n \n set _contract_id_locked = (select id from billing.contracts where id = 1 for update);\n \n set _contract_id_locked = (select id from billing.contracts where id = _contract_id for update);\n end if;\n\n drop temporary table if exists tmp_billing_mappings;\n create temporary table tmp_billing_mappings\n (index (id), index (contract_id,start_date,end_date)) engine = memory\n select cbpn.id,cbpn.contract_id,cbpn.start_date,cbpn.end_date,cbpn.billing_profile_id,\n cbpn.billing_network_id as network_id,cbpn.base from\n billing.contracts_billing_profile_network_schedule cbpns join billing.contracts_billing_profile_network cbpn on cbpn.id = cbpns.profile_network_id\n where cbpn.contract_id = _contract_id and floor(cbpns.effective_start_time) = cbpns.effective_start_time and (_now is null or\n (cbpn.start_date <= _now or cbpn.start_date is null)) order by cbpns.effective_start_time asc, cbpn.base asc, cbpns.profile_network_id asc;\n\n set _max_id = (select max(id) from tmp_billing_mappings);\n set _new = if(_max_id is null,true,false);\n set _id = if(_max_id is null,0,_max_id);\n\n set _col_sep = \",\";\n set _row_sep = \";\";\n set _row_sep_length = length(_row_sep);\n\n parse_loop: loop\n if _future_mappings is null or length(_future_mappings) = 0 then\n leave parse_loop;\n end if;\n\n set _line = substring_index(_future_mappings,_row_sep,1);\n\n set _start_date_str = substring_index(substring_index(_line,_col_sep,1),_col_sep,-1);\n set _end_date_str = substring_index(substring_index(_line,_col_sep,2),_col_sep,-1);\n set _profile_id_str = substring_index(substring_index(_line,_col_sep,3),_col_sep,-1);\n set _network_id_str = substring_index(substring_index(_line,_col_sep,4),_col_sep,-1);\n set _last_str = substring_index(substring_index(_line,_col_sep,5),_col_sep,-1);\n\n if length(_start_date_str) > 0 and dayname(_start_date_str) is null then\n signal sqlstate \"45001\" set message_text = \"invalid start date\";\n end if;\n if length(_end_date_str) > 0 and dayname(_end_date_str) is null then\n signal sqlstate \"45001\" set message_text = \"invalid end date\";\n end if;\n if length(_end_date_str) > 0 and length(_start_date_str) = 0 then\n signal sqlstate \"45001\" set message_text = \"mappings with end date but no start date are not allowed\";\n end if;\n\n set _id = _id + 1;\n insert into tmp_billing_mappings values(_id,_contract_id, if(length(_start_date_str) > 0,_start_date_str,null), if(length(_end_date_str) > 0,\n _end_date_str,null), if(length(_profile_id_str) > 0,_profile_id_str,null), if(length(_network_id_str) > 0,_network_id_str,null),\n if(length(_last_str) > 0,if(_last_str > 0,1,0),1));\n\n set _future_mappings = insert(_future_mappings,1,length(_line) + _row_sep_length,\"\");\n end loop parse_loop;\n\n if _new and (select count(*) from tmp_billing_mappings where start_date is null and end_date is null and network_id is null) != 1 then\n signal sqlstate \"45001\" set message_text = \"there must be exactly one initial mapping with open start date, open end date and no network\";\n end if;\n\n if not _new and (select count(*) from tmp_billing_mappings where start_date is null and end_date is null and id > _max_id) > 0 then\n signal sqlstate \"45001\" set message_text = \"adding mappings with open start date and open end date is not allowed\";\n end if;\n\n drop temporary table if exists tmp_billing_mappings_clone;\n create temporary table tmp_billing_mappings_clone\n (index (id), index (contract_id,start_date,end_date)) engine = memory select * from tmp_billing_mappings;\n\n if not _new then\n delete from billing.contracts_billing_profile_network where contract_id = _contract_id;\n end if;\n\n nested1: begin\n\n declare _events_done, _mappings_done, _is_end boolean default false;\n declare _t datetime;\n\n declare _old_bm_ids varchar(65535);\n declare events_cur cursor for select t,is_end from (\n (select coalesce(bm.start_date,from_unixtime(1) - 1) as t, 0 as is_end\n from tmp_billing_mappings bm join contracts c on bm.contract_id = c.id where contract_id = _contract_id)\n union all\n (select coalesce(end_date,from_unixtime(2147483647) - 0.001) as t, 1 as is_end from tmp_billing_mappings_clone where contract_id = _contract_id)\n ) as events group by t, is_end order by t, is_end;\n declare continue handler for not found set _events_done = true;\n\n set _old_bm_ids = \"\";\n set _events_done = false;\n open events_cur;\n events_loop: loop\n fetch events_cur into _t, _is_end;\n if _events_done then\n leave events_loop;\n end if;\n\n nested2: begin\n\n declare _bm_id, _default_bm_id, _profile_id, _network_id int(11) unsigned;\n declare _start_date, _end_date datetime;\n declare _effective_start_time decimal(13,3);\n declare _bm_ids varchar(65535);\n declare mappings_cur cursor for select bm1.id, bm1.start_date, bm1.end_date, bm1.billing_profile_id, bm1.network_id from\n tmp_billing_mappings bm1 where bm1.contract_id = _contract_id and bm1.start_date <=> (select bm2.start_date\n from tmp_billing_mappings_clone bm2 where\n bm2.contract_id = _contract_id\n and (bm2.start_date <= _t or bm2.start_date is null)\n and (if(_is_end,bm2.end_date > _t,bm2.end_date >= _t) or bm2.end_date is null)\n order by bm2.start_date desc limit 1) order by bm1.base asc, bm1.id asc;\n declare continue handler for not found set _mappings_done = true;\n\n set _effective_start_time = coalesce((select unix_timestamp(if(_is_end,_t + 0.001,_t))),if(_is_end, 0.001, 0));\n set _bm_ids = \"\";\n set _mappings_done = false;\n open mappings_cur;\n mappings_loop1: loop\n fetch mappings_cur into _bm_id, _start_date, _end_date, _profile_id, _network_id;\n if _mappings_done then\n leave mappings_loop1;\n end if;\n set _bm_ids = (select concat(_bm_ids,\"-\",_bm_id));\n set _default_bm_id = _bm_id;\n end loop mappings_loop1;\n close mappings_cur;\n\n if _old_bm_ids != _bm_ids then\n set _mappings_done = false;\n open mappings_cur;\n mappings_loop2: loop\n fetch mappings_cur into _bm_id, _start_date, _end_date, _profile_id, _network_id;\n if _mappings_done then\n leave mappings_loop2;\n end if;\n\n call billing.add_contract_billing_profile_network_schedule(_contract_id,if(_bm_id = _default_bm_id,1,0),_start_date,_end_date,\n _effective_start_time,_profile_id,_network_id);\n\n end loop mappings_loop2;\n close mappings_cur;\n end if;\n set _old_bm_ids = _bm_ids;\n end nested2;\n end loop events_loop;\n close events_cur;\n end nested1;\n\n drop temporary table tmp_billing_mappings;\n drop temporary table tmp_billing_mappings_clone;\n\nend", "ROUTINE_TYPE" : "PROCEDURE", "key_col" : "schedule_contract_billing_profile_network" }, "transform_billing_mappings" : { "ROUTINE_DEFINITION" : "begin\n\n declare _contracts_done, _events_done, _mappings_done, _is_end boolean default false;\n declare _contract_id, _bm_id, _default_bm_id, _profile_id, _network_id int(11) unsigned;\n declare _t, _start_date, _end_date datetime;\n declare _effective_start_time decimal(13,3);\n declare _bm_ids, _old_bm_ids varchar(65535);\n\n declare contracts_cur cursor for select bm.contract_id\n from billing_mappings bm left join contracts_billing_profile_network cbpn on bm.contract_id = cbpn.contract_id\n where cbpn.id is null group by bm.contract_id;\n declare continue handler for not found set _contracts_done = true;\n\n set _old_bm_ids = \"\";\n\n open contracts_cur;\n contracts_loop: loop\n fetch contracts_cur into _contract_id;\n if _contracts_done then\n leave contracts_loop;\n end if;\n nested1: begin\n\n declare events_cur cursor for select t,is_end from (\n (select coalesce(bm.start_date,from_unixtime(1) - 1) as t, 0 as is_end\n from billing_mappings bm join contracts c on bm.contract_id = c.id where contract_id = _contract_id)\n union all\n (select coalesce(end_date,from_unixtime(2147483647) - 0.001) as t, 1 as is_end from billing_mappings where contract_id = _contract_id)\n ) as events group by t, is_end order by t, is_end;\n declare continue handler for not found set _events_done = true;\n\n set _events_done = false;\n open events_cur;\n events_loop: loop\n fetch events_cur into _t, _is_end;\n if _events_done then\n leave events_loop;\n end if;\n\n nested2: begin\n\n declare mappings_cur cursor for select bm1.id, bm1.start_date, bm1.end_date, bm1.billing_profile_id, bm1.network_id from\n billing_mappings bm1 where bm1.contract_id = _contract_id and bm1.start_date <=> (select bm2.start_date\n from billing_mappings bm2 where\n bm2.contract_id = _contract_id\n and (bm2.start_date <= _t or bm2.start_date is null)\n and (if(_is_end,bm2.end_date > _t,bm2.end_date >= _t) or bm2.end_date is null)\n order by bm2.start_date desc limit 1) order by bm1.id asc;\n declare continue handler for not found set _mappings_done = true;\n\n set _effective_start_time = coalesce((select unix_timestamp(if(_is_end,_t + 0.001,_t))),if(_is_end, 0.001, 0));\n set _bm_ids = \"\";\n set _mappings_done = false;\n open mappings_cur;\n mappings_loop1: loop\n fetch mappings_cur into _bm_id, _start_date, _end_date, _profile_id, _network_id;\n if _mappings_done then\n leave mappings_loop1;\n end if;\n set _bm_ids = (select concat(_bm_ids,\"-\",_bm_id));\n set _default_bm_id = _bm_id;\n end loop mappings_loop1;\n close mappings_cur;\n\n if _old_bm_ids != _bm_ids then\n set _mappings_done = false;\n open mappings_cur;\n mappings_loop2: loop\n fetch mappings_cur into _bm_id, _start_date, _end_date, _profile_id, _network_id;\n if _mappings_done then\n leave mappings_loop2;\n end if;\n\n call add_contract_billing_profile_network_schedule(_contract_id,if(_bm_id = _default_bm_id,1,0),_start_date,_end_date,\n _effective_start_time,_profile_id,_network_id);\n\n end loop mappings_loop2;\n close mappings_cur;\n end if;\n set _old_bm_ids = _bm_ids;\n end nested2;\n end loop events_loop;\n close events_cur;\n end nested1;\n end loop contracts_loop;\n close contracts_cur;\nend", "ROUTINE_TYPE" : "PROCEDURE", "key_col" : "transform_billing_mappings" } }, "tables" : { "acl_role_mappings" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "acl_role_mappings", "key_col" : "acl_role_mappings" }, "acl_roles" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "acl_roles", "key_col" : "acl_roles" }, "admin_password_journal" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "admin_password_journal", "key_col" : "admin_password_journal" }, "admins" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "admins", "key_col" : "admins" }, "billing_fees" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "billing_fees", "key_col" : "billing_fees" }, "billing_fees_history" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "billing_fees_history", "key_col" : "billing_fees_history" }, "billing_fees_raw" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "billing_fees_raw", "key_col" : "billing_fees_raw" }, "billing_mappings" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "billing_mappings", "key_col" : "billing_mappings" }, "billing_network_blocks" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "billing_network_blocks", "key_col" : "billing_network_blocks" }, "billing_networks" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "billing_networks", "key_col" : "billing_networks" }, "billing_peaktime_special" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "billing_peaktime_special", "key_col" : "billing_peaktime_special" }, "billing_peaktime_weekdays" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "billing_peaktime_weekdays", "key_col" : "billing_peaktime_weekdays" }, "billing_profiles" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "billing_profiles", "key_col" : "billing_profiles" }, "billing_zones" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "billing_zones", "key_col" : "billing_zones" }, "billing_zones_history" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "billing_zones_history", "key_col" : "billing_zones_history" }, "call_list_suppressions" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "call_list_suppressions", "key_col" : "call_list_suppressions" }, "contacts" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "contacts", "key_col" : "contacts" }, "contract_balances" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "contract_balances", "key_col" : "contract_balances" }, "contract_credits" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "contract_credits", "key_col" : "contract_credits" }, "contract_fraud_preferences" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "contract_fraud_preferences", "key_col" : "contract_fraud_preferences" }, "contract_phonebook" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "contract_phonebook", "key_col" : "contract_phonebook" }, "contract_registers" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "contract_registers", "key_col" : "contract_registers" }, "contracts" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "contracts", "key_col" : "contracts" }, "contracts_billing_profile_network" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "contracts_billing_profile_network", "key_col" : "contracts_billing_profile_network" }, "contracts_billing_profile_network_schedule" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "contracts_billing_profile_network_schedule", "key_col" : "contracts_billing_profile_network_schedule" }, "credit_payments" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "credit_payments", "key_col" : "credit_payments" }, "customer_registers" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "customer_registers", "key_col" : "customer_registers" }, "customers" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "customers", "key_col" : "customers" }, "domain_resellers" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "domain_resellers", "key_col" : "domain_resellers" }, "domains" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "domains", "key_col" : "domains" }, "email_templates" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "email_templates", "key_col" : "email_templates" }, "invoice_templates" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "invoice_templates", "key_col" : "invoice_templates" }, "invoices" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "invoices", "key_col" : "invoices" }, "journals" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "journals", "key_col" : "journals" }, "lnp_numbers" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "lnp_numbers", "key_col" : "lnp_numbers" }, "lnp_providers" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "lnp_providers", "key_col" : "lnp_providers" }, "ncos_levels" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "ncos_levels", "key_col" : "ncos_levels" }, "ncos_lnp_list" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "ncos_lnp_list", "key_col" : "ncos_lnp_list" }, "ncos_lnp_pattern_list" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "ncos_lnp_pattern_list", "key_col" : "ncos_lnp_pattern_list" }, "ncos_pattern_list" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "ncos_pattern_list", "key_col" : "ncos_pattern_list" }, "ncos_set_levels" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "ncos_set_levels", "key_col" : "ncos_set_levels" }, "ncos_sets" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "ncos_sets", "key_col" : "ncos_sets" }, "order_payments" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "order_payments", "key_col" : "order_payments" }, "orders" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "orders", "key_col" : "orders" }, "package_profile_sets" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "package_profile_sets", "key_col" : "package_profile_sets" }, "password_resets" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "password_resets", "key_col" : "password_resets" }, "payments" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "payments", "key_col" : "payments" }, "products" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "products", "key_col" : "products" }, "profile_packages" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "profile_packages", "key_col" : "profile_packages" }, "provisioning_templates" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "provisioning_templates", "key_col" : "provisioning_templates" }, "reseller_brandings" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "reseller_brandings", "key_col" : "reseller_brandings" }, "reseller_phonebook" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "reseller_phonebook", "key_col" : "reseller_phonebook" }, "resellers" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "resellers", "key_col" : "resellers" }, "subscriber_phonebook" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "subscriber_phonebook", "key_col" : "subscriber_phonebook" }, "topup_log" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "topup_log", "key_col" : "topup_log" }, "voip_intercept" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "voip_intercept", "key_col" : "voip_intercept" }, "voip_number_block_resellers" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "voip_number_block_resellers", "key_col" : "voip_number_block_resellers" }, "voip_number_blocks" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "voip_number_blocks", "key_col" : "voip_number_blocks" }, "voip_numbers" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "voip_numbers", "key_col" : "voip_numbers" }, "voip_subscribers" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers" }, "vouchers" : { "CREATE_OPTIONS" : "", "ENGINE" : "InnoDB", "TABLE_COLLATION" : "utf8mb3_general_ci", "TABLE_NAME" : "vouchers", "key_col" : "vouchers" } }, "triggers" : { "bill_fees_crepl_trig/billing_fees" : { "ACTION_STATEMENT" : "begin\n declare my_bzh_id int unsigned;\n\n select id into my_bzh_id from billing.billing_zones_history where bz_id = NEW.billing_zone_id;\n\n insert into billing.billing_fees_history\n values(NULL, NEW.id, NEW.billing_profile_id, my_bzh_id,\n NEW.source, NEW.destination, NEW.direction,\n NEW.type, NEW.onpeak_init_rate, NEW.onpeak_init_interval, NEW.onpeak_follow_rate,\n NEW.onpeak_follow_interval, NEW.offpeak_init_rate, NEW.offpeak_init_interval,\n NEW.offpeak_follow_rate, NEW.offpeak_follow_interval, NEW.onpeak_use_free_time,\n NEW.match_mode, NEW.onpeak_extra_rate, NEW.onpeak_extra_second, NEW.offpeak_extra_rate, NEW.offpeak_extra_second,\n NEW.offpeak_use_free_time, NEW.aoc_pulse_amount_per_message);\n\n end", "ACTION_TIMING" : "AFTER", "EVENT_MANIPULATION" : "INSERT", "EVENT_OBJECT_SCHEMA" : "billing", "EVENT_OBJECT_TABLE" : "billing_fees", "TRIGGER_NAME" : "bill_fees_crepl_trig", "key_col" : "bill_fees_crepl_trig/billing_fees" }, "bill_fees_urepl_trig/billing_fees" : { "ACTION_STATEMENT" : "begin\n declare my_bzh_id int unsigned;\n\n select id into my_bzh_id from billing.billing_zones_history where bz_id = NEW.billing_zone_id;\n\n update billing.billing_fees_history\n set bf_id = NEW.id, billing_profile_id = NEW.billing_profile_id,\n billing_zones_history_id = my_bzh_id,\n source = NEW.source, destination = NEW.destination, direction = NEW.direction,\n type = NEW.type,\n onpeak_init_rate = NEW.onpeak_init_rate, onpeak_init_interval = NEW.onpeak_init_interval,\n onpeak_follow_rate = NEW.onpeak_follow_rate, onpeak_follow_interval = NEW.onpeak_follow_interval,\n offpeak_init_rate = NEW.offpeak_init_rate, offpeak_init_interval = NEW.offpeak_init_interval,\n offpeak_follow_rate = NEW.offpeak_follow_rate, offpeak_follow_interval = NEW.offpeak_follow_interval,\n onpeak_use_free_time = NEW.onpeak_use_free_time, offpeak_use_free_time = NEW.offpeak_use_free_time,\n match_mode = NEW.match_mode,\n onpeak_extra_rate = NEW.onpeak_extra_rate, onpeak_extra_second = NEW.onpeak_extra_second,\n offpeak_extra_rate = NEW.offpeak_extra_rate, offpeak_extra_second = NEW.offpeak_extra_second, \n aoc_pulse_amount_per_message = NEW.aoc_pulse_amount_per_message\n where bf_id = OLD.id;\n\n end", "ACTION_TIMING" : "AFTER", "EVENT_MANIPULATION" : "UPDATE", "EVENT_OBJECT_SCHEMA" : "billing", "EVENT_OBJECT_TABLE" : "billing_fees", "TRIGGER_NAME" : "bill_fees_urepl_trig", "key_col" : "bill_fees_urepl_trig/billing_fees" }, "bill_zones_crepl_trig/billing_zones" : { "ACTION_STATEMENT" : "BEGIN\n\n INSERT INTO billing_zones_history\n VALUES(NULL, NEW.id, NEW.billing_profile_id, NEW.zone, NEW.detail);\n\n END", "ACTION_TIMING" : "AFTER", "EVENT_MANIPULATION" : "INSERT", "EVENT_OBJECT_SCHEMA" : "billing", "EVENT_OBJECT_TABLE" : "billing_zones", "TRIGGER_NAME" : "bill_zones_crepl_trig", "key_col" : "bill_zones_crepl_trig/billing_zones" }, "bill_zones_urepl_trig/billing_zones" : { "ACTION_STATEMENT" : "BEGIN\n\n UPDATE billing_zones_history\n SET bz_id = NEW.id, billing_profile_id = NEW.billing_profile_id,\n zone = NEW.zone, detail = NEW.detail\n WHERE bz_id <=> OLD.id;\n\n END", "ACTION_TIMING" : "AFTER", "EVENT_MANIPULATION" : "UPDATE", "EVENT_OBJECT_SCHEMA" : "billing", "EVENT_OBJECT_TABLE" : "billing_zones", "TRIGGER_NAME" : "bill_zones_urepl_trig", "key_col" : "bill_zones_urepl_trig/billing_zones" }, "phonebook_on_contract_update/contracts" : { "ACTION_STATEMENT" : "BEGIN\n IF new.status = 'terminated' THEN\n DELETE FROM contract_phonebook WHERE contract_id = old.id;\n END IF;\nEND", "ACTION_TIMING" : "AFTER", "EVENT_MANIPULATION" : "UPDATE", "EVENT_OBJECT_SCHEMA" : "billing", "EVENT_OBJECT_TABLE" : "contracts", "TRIGGER_NAME" : "phonebook_on_contract_update", "key_col" : "phonebook_on_contract_update/contracts" }, "phonebook_on_reseller_update/resellers" : { "ACTION_STATEMENT" : "BEGIN\n IF new.status = 'terminated' THEN\n DELETE FROM reseller_phonebook WHERE reseller_id = old.id;\n END IF;\nEND", "ACTION_TIMING" : "AFTER", "EVENT_MANIPULATION" : "UPDATE", "EVENT_OBJECT_SCHEMA" : "billing", "EVENT_OBJECT_TABLE" : "resellers", "TRIGGER_NAME" : "phonebook_on_reseller_update", "key_col" : "phonebook_on_reseller_update/resellers" }, "phonebook_on_subscriber_update/voip_subscribers" : { "ACTION_STATEMENT" : "BEGIN\n IF new.status = 'terminated' THEN\n DELETE FROM subscriber_phonebook WHERE subscriber_id = old.id;\n END IF;\nEND", "ACTION_TIMING" : "AFTER", "EVENT_MANIPULATION" : "UPDATE", "EVENT_OBJECT_SCHEMA" : "billing", "EVENT_OBJECT_TABLE" : "voip_subscribers", "TRIGGER_NAME" : "phonebook_on_subscriber_update", "key_col" : "phonebook_on_subscriber_update/voip_subscribers" } }, "views" : { "_v_actual_effective_start_time" : { "VIEW_DEFINITION" : "select `cbpn`.`contract_id` AS `contract_id`,max(`cbpns`.`effective_start_time`) AS `effective_start_time` from (`billing`.`contracts_billing_profile_network_schedule` `cbpns` join `billing`.`contracts_billing_profile_network` `cbpn` on(`cbpns`.`profile_network_id` = `cbpn`.`id`)) where `cbpns`.`effective_start_time` <= unix_timestamp(current_timestamp()) and `cbpn`.`base` = 1 group by `cbpn`.`contract_id`", "key_col" : "_v_actual_effective_start_time" }, "v_actual_billing_profiles" : { "VIEW_DEFINITION" : "select `est`.`contract_id` AS `contract_id`,`cbpn`.`billing_profile_id` AS `billing_profile_id` from ((`billing`.`contracts_billing_profile_network_schedule` `cbpns` join `billing`.`contracts_billing_profile_network` `cbpn` on(`cbpns`.`profile_network_id` = `cbpn`.`id`)) join `billing`.`_v_actual_effective_start_time` `est` on(`est`.`contract_id` = `cbpn`.`contract_id` and `cbpns`.`effective_start_time` = `est`.`effective_start_time`)) where `cbpn`.`base` = 1", "key_col" : "v_actual_billing_profiles" }, "v_contract_billing_profile_network_schedules" : { "VIEW_DEFINITION" : "select `cbpns`.`id` AS `id`,`cbpn`.`contract_id` AS `contract_id`,`cbpn`.`start_date` AS `start_date`,`cbpn`.`end_date` AS `end_date`,`cbpn`.`billing_profile_id` AS `billing_profile_id`,`cbpn`.`billing_network_id` AS `network_id`,`cbpns`.`effective_start_time` AS `effective_start_time`,from_unixtime(`cbpns`.`effective_start_time`) AS `effective_start_date`,`bp`.`name` AS `billing_profile_name`,`bp`.`handle` AS `billing_profile_handle`,`bn`.`name` AS `billing_network_name` from (((`billing`.`contracts_billing_profile_network` `cbpn` join `billing`.`contracts_billing_profile_network_schedule` `cbpns` on(`cbpns`.`profile_network_id` = `cbpn`.`id`)) join `billing`.`billing_profiles` `bp` on(`bp`.`id` = `cbpn`.`billing_profile_id`)) left join `billing`.`billing_networks` `bn` on(`bn`.`id` = `cbpn`.`billing_network_id`))", "key_col" : "v_contract_billing_profile_network_schedules" }, "v_contract_phonebook" : { "VIEW_DEFINITION" : "select `cp`.`id` AS `id`,`cp`.`contract_id` AS `contract_id`,`cp`.`number` AS `number`,`cp`.`name` AS `name`,0 AS `shared`,1 AS `own` from `billing`.`contract_phonebook` `cp` union all select concat('s',`sp`.`id`,'c',`s`.`contract_id`) AS `CONCAT(\"s\", sp.id, \"c\", s.contract_id)`,`s`.`contract_id` AS `contract_id`,`sp`.`number` AS `number`,`sp`.`name` AS `name`,`sp`.`shared` AS `shared`,0 AS `own` from (`billing`.`subscriber_phonebook` `sp` join `billing`.`voip_subscribers` `s` on(`s`.`id` = `sp`.`subscriber_id` and !(`sp`.`number` in (select `cp2`.`number` from `billing`.`contract_phonebook` `cp2` where `cp2`.`contract_id` = `s`.`contract_id`)))) where `sp`.`shared` = 1 union all select concat('r',`rp`.`id`,'c',`c`.`id`) AS `CONCAT(\"r\", rp.id, \"c\", c.id)`,`c`.`id` AS `contract_id`,`rp`.`number` AS `number`,`rp`.`name` AS `name`,0 AS `shared`,0 AS `own` from ((`billing`.`reseller_phonebook` `rp` join `billing`.`contacts` `cc` on(`cc`.`reseller_id` = `rp`.`reseller_id`)) join `billing`.`contracts` `c` on(`c`.`contact_id` = `cc`.`id` and !(`rp`.`number` in (select `cp2`.`number` from `billing`.`contract_phonebook` `cp2` where `cp2`.`contract_id` = `c`.`id`)) and !(`rp`.`number` in (select `sp`.`number` from (`billing`.`subscriber_phonebook` `sp` join `billing`.`voip_subscribers` `s` on(`s`.`id` = `sp`.`subscriber_id`)) where `s`.`contract_id` = `c`.`id` and `sp`.`shared` = 1))))", "key_col" : "v_contract_phonebook" }, "v_contract_reseller_phonebook" : { "VIEW_DEFINITION" : "select `cp`.`id` AS `id`,`cp`.`contract_id` AS `contract_id`,`cp`.`number` AS `number`,`cp`.`name` AS `name`,1 AS `own` from `billing`.`contract_phonebook` `cp` union all select concat('r',`rp`.`id`,'c',`c`.`id`) AS `CONCAT(\"r\", rp.id, \"c\", c.id)`,`c`.`id` AS `contract_id`,`rp`.`number` AS `number`,`rp`.`name` AS `name`,0 AS `own` from ((`billing`.`reseller_phonebook` `rp` join `billing`.`contacts` `cc` on(`cc`.`reseller_id` = `rp`.`reseller_id`)) join `billing`.`contracts` `c` on(`c`.`contact_id` = `cc`.`id` and !(`rp`.`number` in (select `cp2`.`number` from `billing`.`contract_phonebook` `cp2` where `cp2`.`contract_id` = `c`.`id`))))", "key_col" : "v_contract_reseller_phonebook" }, "v_contract_shared_phonebook" : { "VIEW_DEFINITION" : "select `cp`.`id` AS `id`,`cp`.`contract_id` AS `contract_id`,`cp`.`number` AS `number`,`cp`.`name` AS `name`,0 AS `shared`,1 AS `own` from `billing`.`contract_phonebook` `cp` union all select concat('s',`sp`.`id`,'c',`s`.`contract_id`) AS `CONCAT(\"s\", sp.id, \"c\", s.contract_id)`,`s`.`contract_id` AS `contract_id`,`sp`.`number` AS `number`,`sp`.`name` AS `name`,`sp`.`shared` AS `shared`,0 AS `own` from (`billing`.`subscriber_phonebook` `sp` join `billing`.`voip_subscribers` `s` on(`s`.`id` = `sp`.`subscriber_id` and !(`sp`.`number` in (select `cp2`.`number` from `billing`.`contract_phonebook` `cp2` where `cp2`.`contract_id` = `s`.`contract_id`)))) where `sp`.`shared` = 1", "key_col" : "v_contract_shared_phonebook" }, "v_contract_timezone" : { "VIEW_DEFINITION" : "select `cc`.`id` AS `contact_id`,`c`.`id` AS `contract_id`,coalesce(`cc`.`timezone`,`rc`.`timezone`,`t`.`name`) AS `name` from (((((`billing`.`contracts` `c` join `billing`.`contacts` `cc` on(`cc`.`id` = `c`.`contact_id`)) left join `billing`.`resellers` `r` on(`r`.`id` = `cc`.`reseller_id`)) left join `billing`.`contracts` `i` on(`i`.`id` = `r`.`contract_id`)) left join `billing`.`contacts` `rc` on(`rc`.`id` = `i`.`contact_id`)) join `ngcp`.`timezone` `t`)", "key_col" : "v_contract_timezone" }, "v_reseller_timezone" : { "VIEW_DEFINITION" : "select `rc`.`id` AS `contact_id`,`r`.`id` AS `reseller_id`,coalesce(`rc`.`timezone`,`t`.`name`) AS `name` from (((`billing`.`resellers` `r` join `billing`.`contracts` `i` on(`i`.`id` = `r`.`contract_id`)) join `billing`.`contacts` `rc` on(`rc`.`id` = `i`.`contact_id`)) join `ngcp`.`timezone` `t`)", "key_col" : "v_reseller_timezone" }, "v_subscriber_contract_phonebook" : { "VIEW_DEFINITION" : "select `sp`.`id` AS `id`,`sp`.`subscriber_id` AS `subscriber_id`,`sp`.`number` AS `number`,`sp`.`name` AS `name`,`sp`.`shared` AS `shared`,1 AS `own` from `billing`.`subscriber_phonebook` `sp` union all select concat('s',`sp`.`id`,'s',`ss`.`id`) AS `CONCAT(\"s\", sp.id, \"s\", ss.id)`,`ss`.`id` AS `subscriber_id`,`sp`.`number` AS `number`,`sp`.`name` AS `name`,`sp`.`shared` AS `shared`,0 AS `own` from (((`billing`.`subscriber_phonebook` `sp` join `billing`.`voip_subscribers` `s` on(`s`.`id` = `sp`.`subscriber_id`)) join `billing`.`contracts` `c` on(`c`.`id` = `s`.`contract_id`)) join `billing`.`voip_subscribers` `ss` on(`ss`.`contract_id` = `c`.`id` and !(`sp`.`number` in (select `cp2`.`number` from `billing`.`contract_phonebook` `cp2` where `cp2`.`contract_id` = `s`.`contract_id`)) and !(`sp`.`number` in (select `sp2`.`number` from `billing`.`subscriber_phonebook` `sp2` where `sp2`.`subscriber_id` = `ss`.`id`)))) where `sp`.`shared` = 1 union all select concat('c',`cp`.`id`,'s',`s`.`id`) AS `CONCAT(\"c\", cp.id, \"s\", s.id)`,`s`.`id` AS `subscriber_id`,`cp`.`number` AS `number`,`cp`.`name` AS `name`,0 AS `shared`,0 AS `own` from (`billing`.`contract_phonebook` `cp` join `billing`.`voip_subscribers` `s` on(`s`.`contract_id` = `cp`.`contract_id` and !(`cp`.`number` in (select `sp2`.`number` from (`billing`.`subscriber_phonebook` `sp2` join `billing`.`voip_subscribers` `s2` on(`s2`.`id` = `sp2`.`subscriber_id`)) where `s2`.`contract_id` = `cp`.`contract_id` and `sp2`.`shared` = 0))))", "key_col" : "v_subscriber_contract_phonebook" }, "v_subscriber_phonebook" : { "VIEW_DEFINITION" : "select `sp`.`id` AS `id`,`sp`.`subscriber_id` AS `subscriber_id`,`sp`.`number` AS `number`,`sp`.`name` AS `name`,`sp`.`shared` AS `shared`,1 AS `own` from `billing`.`subscriber_phonebook` `sp` union all select concat('s',`sp`.`id`,'s',`ss`.`id`) AS `CONCAT(\"s\", sp.id, \"s\", ss.id)`,`ss`.`id` AS `subscriber_id`,`sp`.`number` AS `number`,`sp`.`name` AS `name`,`sp`.`shared` AS `shared`,0 AS `own` from ((((`billing`.`subscriber_phonebook` `sp` join `billing`.`voip_subscribers` `s` on(`s`.`id` = `sp`.`subscriber_id`)) join `billing`.`contracts` `c` on(`c`.`id` = `s`.`contract_id`)) join `billing`.`voip_subscribers` `ss` on(`ss`.`contract_id` = `c`.`id`)) join `provisioning`.`voip_subscribers` `ps` on(`ps`.`uuid` = `ss`.`uuid` and `ps`.`is_pbx_group` = 0 and !(`sp`.`number` in (select `cp2`.`number` from `billing`.`contract_phonebook` `cp2` where `cp2`.`contract_id` = `s`.`contract_id`)) and !(`sp`.`number` in (select `sp2`.`number` from `billing`.`subscriber_phonebook` `sp2` where `sp2`.`subscriber_id` = `ss`.`id`)))) where `sp`.`shared` = 1 union all select concat('c',`cp`.`id`,'s',`s`.`id`) AS `CONCAT(\"c\", cp.id, \"s\", s.id)`,`s`.`id` AS `subscriber_id`,`cp`.`number` AS `number`,`cp`.`name` AS `name`,0 AS `shared`,0 AS `own` from ((`billing`.`contract_phonebook` `cp` join `billing`.`voip_subscribers` `s` on(`s`.`contract_id` = `cp`.`contract_id`)) join `provisioning`.`voip_subscribers` `ps` on(`ps`.`uuid` = `s`.`uuid` and `ps`.`is_pbx_group` = 0 and !(`cp`.`number` in (select `sp2`.`number` from (`billing`.`subscriber_phonebook` `sp2` join `billing`.`voip_subscribers` `s2` on(`s2`.`id` = `sp2`.`subscriber_id`)) where `s2`.`contract_id` = `cp`.`contract_id` and `sp2`.`shared` = 0)))) union all select concat('r',`rp`.`id`,'s',`s`.`id`) AS `CONCAT(\"r\", rp.id, \"s\", s.id)`,`s`.`id` AS `subscriber_id`,`rp`.`number` AS `number`,`rp`.`name` AS `name`,0 AS `shared`,0 AS `own` from ((((`billing`.`reseller_phonebook` `rp` join `billing`.`contacts` `cc` on(`cc`.`reseller_id` = `rp`.`reseller_id`)) join `billing`.`contracts` `c` on(`c`.`contact_id` = `cc`.`id`)) join `billing`.`voip_subscribers` `s` on(`s`.`contract_id` = `c`.`id`)) join `provisioning`.`voip_subscribers` `ps` on(`ps`.`uuid` = `s`.`uuid` and `ps`.`is_pbx_group` = 0 and !(`rp`.`number` in (select `cp2`.`number` from `billing`.`contract_phonebook` `cp2` where `cp2`.`contract_id` = `c`.`id`)) and !(`rp`.`number` in (select `sp2`.`number` from (`billing`.`subscriber_phonebook` `sp2` join `billing`.`voip_subscribers` `s2` on(`s2`.`id` = `sp2`.`subscriber_id`)) where `s2`.`contract_id` = `c`.`id`))))", "key_col" : "v_subscriber_phonebook" }, "v_subscriber_reseller_phonebook" : { "VIEW_DEFINITION" : "select `sp`.`id` AS `id`,`sp`.`subscriber_id` AS `subscriber_id`,`sp`.`number` AS `number`,`sp`.`name` AS `name`,`sp`.`shared` AS `shared`,1 AS `own` from `billing`.`subscriber_phonebook` `sp` union all select concat('r',`rp`.`id`,'s',`s`.`id`) AS `CONCAT(\"r\", rp.id, \"s\", s.id)`,`s`.`id` AS `subscriber_id`,`rp`.`number` AS `number`,`rp`.`name` AS `name`,0 AS `shared`,0 AS `own` from (((`billing`.`reseller_phonebook` `rp` join `billing`.`contacts` `cc` on(`cc`.`reseller_id` = `rp`.`reseller_id`)) join `billing`.`contracts` `c` on(`c`.`contact_id` = `cc`.`id`)) join `billing`.`voip_subscribers` `s` on(`s`.`contract_id` = `c`.`id` and !(`rp`.`number` in (select `sp2`.`number` from (`billing`.`subscriber_phonebook` `sp2` join `billing`.`voip_subscribers` `s2` on(`s2`.`id` = `sp2`.`subscriber_id`)) where `s2`.`contract_id` = `c`.`id`))))", "key_col" : "v_subscriber_reseller_phonebook" }, "v_subscriber_timezone" : { "VIEW_DEFINITION" : "select `sc`.`id` AS `contact_id`,`s`.`id` AS `subscriber_id`,`s`.`uuid` AS `uuid`,coalesce(`sc`.`timezone`,`cc`.`timezone`,`rc`.`timezone`,`t`.`name`) AS `name` from (((((((`billing`.`voip_subscribers` `s` left join `billing`.`contacts` `sc` on(`sc`.`id` = `s`.`contact_id`)) join `billing`.`contracts` `c` on(`c`.`id` = `s`.`contract_id`)) join `billing`.`contacts` `cc` on(`cc`.`id` = `c`.`contact_id`)) join `billing`.`resellers` `r` on(`r`.`id` = `cc`.`reseller_id`)) join `billing`.`contracts` `i` on(`i`.`id` = `r`.`contract_id`)) join `billing`.`contacts` `rc` on(`rc`.`id` = `i`.`contact_id`)) join `ngcp`.`timezone` `t`)", "key_col" : "v_subscriber_timezone" } } }