1227 lines
42 KiB
JSON
1227 lines
42 KiB
JSON
{
|
|
"1": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"nexus_packages",
|
|
{
|
|
"name": "p_lkey",
|
|
"type": "varchar",
|
|
"length": 128
|
|
}
|
|
]
|
|
},
|
|
"2": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"nexus_packages",
|
|
{
|
|
"name": "p_lkey_identifier",
|
|
"type": "varchar",
|
|
"length": 8
|
|
}
|
|
]
|
|
},
|
|
"3": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"nexus_packages",
|
|
{
|
|
"name": "p_lkey_uses",
|
|
"type": "int",
|
|
"length": 5
|
|
}
|
|
]
|
|
},
|
|
"4": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "nexus_packages_products",
|
|
"columns": {
|
|
"p_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 8,
|
|
"name": "p_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_physical": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 1,
|
|
"name": "p_physical",
|
|
"type": "TINYINT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_shipping": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "p_shipping",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_weight": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 0,
|
|
"name": "p_weight",
|
|
"type": "FLOAT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_lkey": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 128,
|
|
"name": "p_lkey",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_lkey_identifier": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 8,
|
|
"name": "p_lkey_identifier",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_lkey_uses": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 5,
|
|
"name": "p_lkey_uses",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"p_id"
|
|
]
|
|
}
|
|
},
|
|
"collation": "utf8mb4_unicode_ci"
|
|
}
|
|
]
|
|
},
|
|
"5": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"nexus_packages",
|
|
{
|
|
"name": "p_type",
|
|
"type": "varchar",
|
|
"length": 8
|
|
}
|
|
]
|
|
},
|
|
"6": {
|
|
"method": "update",
|
|
"params": [
|
|
"nexus_packages",
|
|
{
|
|
"p_type": "product"
|
|
}
|
|
]
|
|
},
|
|
"7": {
|
|
"method": "update",
|
|
"params": [
|
|
"nexus_purchases",
|
|
{
|
|
"ps_type": "product"
|
|
},
|
|
"ps_app='nexus' and ps_type='package'"
|
|
]
|
|
},
|
|
"8": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "nexus_packages_ads",
|
|
"columns": {
|
|
"p_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 8,
|
|
"name": "p_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_locations": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "p_locations",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_exempt": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "p_exempt",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_expire": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 10,
|
|
"name": "p_expire",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_expire_unit": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 1,
|
|
"name": "p_expire_unit",
|
|
"type": "CHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_max_height": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 3,
|
|
"name": "p_max_height",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_max_width": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 3,
|
|
"name": "p_max_width",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"p_id"
|
|
]
|
|
}
|
|
},
|
|
"collation": "utf8mb4_unicode_ci"
|
|
}
|
|
]
|
|
},
|
|
"9": {
|
|
"method": "insert",
|
|
"params": [
|
|
"nexus_gateways",
|
|
{
|
|
"g_key": "paypalpro",
|
|
"g_name": "PayPal Pro",
|
|
"g_testmode": 1,
|
|
"g_position": null,
|
|
"g_payout": 0
|
|
}
|
|
]
|
|
},
|
|
"10": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "nexus_hosting_accounts",
|
|
"columns": {
|
|
"ps_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "ps_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"account_server": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 10,
|
|
"name": "account_server",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"account_domain": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 255,
|
|
"name": "account_domain",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"account_username": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 32,
|
|
"name": "account_username",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"account_password": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 255,
|
|
"name": "account_password",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"ps_id"
|
|
]
|
|
}
|
|
},
|
|
"collation": "utf8mb4_unicode_ci"
|
|
}
|
|
]
|
|
},
|
|
"11": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "nexus_hosting_errors",
|
|
"columns": {
|
|
"e_id": {
|
|
"allow_null": false,
|
|
"auto_increment": true,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 11,
|
|
"name": "e_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"e_time": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 10,
|
|
"name": "e_time",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"e_server": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 10,
|
|
"name": "e_server",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"e_message": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "e_message",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"e_extra": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "e_extra",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"e_id"
|
|
]
|
|
},
|
|
"e_time": {
|
|
"type": "key",
|
|
"name": "e_time",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"e_time"
|
|
]
|
|
}
|
|
},
|
|
"collation": "utf8mb4_unicode_ci"
|
|
}
|
|
]
|
|
},
|
|
"12": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "nexus_hosting_queues",
|
|
"columns": {
|
|
"queue_id": {
|
|
"allow_null": false,
|
|
"auto_increment": true,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 11,
|
|
"name": "queue_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"queue_name": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 128,
|
|
"name": "queue_name",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"queue_id"
|
|
]
|
|
}
|
|
},
|
|
"collation": "utf8mb4_unicode_ci"
|
|
}
|
|
]
|
|
},
|
|
"13": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "nexus_hosting_servers",
|
|
"columns": {
|
|
"server_id": {
|
|
"allow_null": false,
|
|
"auto_increment": true,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 10,
|
|
"name": "server_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"server_hostname": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 255,
|
|
"name": "server_hostname",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"server_ip": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 46,
|
|
"name": "server_ip",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"server_access": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "server_access",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"server_type": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 32,
|
|
"name": "server_type",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"server_queues": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "server_queues",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"server_monitor_load": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "server_monitor_load",
|
|
"type": "FLOAT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"server_id"
|
|
]
|
|
}
|
|
},
|
|
"collation": "utf8mb4_unicode_ci"
|
|
}
|
|
]
|
|
},
|
|
"14": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "nexus_packages_hosting",
|
|
"columns": {
|
|
"p_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 8,
|
|
"name": "p_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_queue": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 10,
|
|
"name": "p_queue",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_quota": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 6,
|
|
"name": "p_quota",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_ip": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 1,
|
|
"name": "p_ip",
|
|
"type": "TINYINT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_cgi": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 1,
|
|
"name": "p_cgi",
|
|
"type": "TINYINT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_frontpage": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 1,
|
|
"name": "p_frontpage",
|
|
"type": "TINYINT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_hasshell": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 1,
|
|
"name": "p_hasshell",
|
|
"type": "TINYINT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_maxftp": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 6,
|
|
"name": "p_maxftp",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_maxsql": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 6,
|
|
"name": "p_maxsql",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_maxpop": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 6,
|
|
"name": "p_maxpop",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_maxlst": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 6,
|
|
"name": "p_maxlst",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_maxsub": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 6,
|
|
"name": "p_maxsub",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_maxpark": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 6,
|
|
"name": "p_maxpark",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_maxaddon": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 6,
|
|
"name": "p_maxaddon",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"p_bwlimit": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 6,
|
|
"name": "p_bwlimit",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"p_id"
|
|
]
|
|
}
|
|
},
|
|
"collation": "utf8mb4_unicode_ci"
|
|
}
|
|
]
|
|
},
|
|
"15": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "nexus_licensekeys",
|
|
"columns": {
|
|
"lkey_key": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 255,
|
|
"name": "lkey_key",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"lkey_type": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 128,
|
|
"name": "lkey_type",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"lkey_identifier": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 8,
|
|
"name": "lkey_identifier",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"lkey_purchase": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 10,
|
|
"name": "lkey_purchase",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"lkey_member": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 8,
|
|
"name": "lkey_member",
|
|
"type": "MEDIUMINT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"lkey_active": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 1,
|
|
"name": "lkey_active",
|
|
"type": "TINYINT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"lkey_uses": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 5,
|
|
"name": "lkey_uses",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"lkey_max_uses": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 5,
|
|
"name": "lkey_max_uses",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"lkey_activate_data": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "lkey_activate_data",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"lkey_generated": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 10,
|
|
"name": "lkey_generated",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"length": [
|
|
191
|
|
],
|
|
"columns": [
|
|
"lkey_key"
|
|
]
|
|
},
|
|
"lkey_purchase": {
|
|
"type": "key",
|
|
"name": "lkey_purchase",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"lkey_purchase"
|
|
]
|
|
},
|
|
"lkey_member": {
|
|
"type": "key",
|
|
"name": "lkey_member",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"lkey_member"
|
|
]
|
|
}
|
|
},
|
|
"collation": "utf8mb4_unicode_ci"
|
|
}
|
|
]
|
|
},
|
|
"16": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"nexus_paypal_subscriptions",
|
|
"nexus_subscriptions"
|
|
]
|
|
},
|
|
"17": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"nexus_subscriptions",
|
|
{
|
|
"name": "s_member",
|
|
"type": "mediumint",
|
|
"length": 8
|
|
}
|
|
]
|
|
},
|
|
"18": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"nexus_subscriptions",
|
|
{
|
|
"name": "s_gateway_key",
|
|
"type": "varchar",
|
|
"length": 32
|
|
}
|
|
]
|
|
},
|
|
"19": {
|
|
"method": "update",
|
|
"params": [
|
|
"nexus_subscriptions",
|
|
{
|
|
"s_gateway_key": "paypal"
|
|
}
|
|
]
|
|
},
|
|
"20": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"nexus_subscriptions",
|
|
"PRIMARY KEY"
|
|
]
|
|
},
|
|
"21": {
|
|
"method": "addIndex",
|
|
"params": [
|
|
"nexus_subscriptions",
|
|
{
|
|
"type": "key",
|
|
"name": "s_start_trans",
|
|
"columns": [
|
|
"s_start_trans",
|
|
"s_gateway_key"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"22": {
|
|
"method": "addIndex",
|
|
"params": [
|
|
"nexus_subscriptions",
|
|
{
|
|
"type": "key",
|
|
"name": "s_id",
|
|
"columns": [
|
|
"s_id",
|
|
"s_gateway_key"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"23": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"nexus_support_requests",
|
|
{
|
|
"name": "r_severity_lock",
|
|
"type": "tinyint",
|
|
"length": 1,
|
|
"allow_null": false,
|
|
"default": 0
|
|
}
|
|
]
|
|
},
|
|
"24": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"nexus_transactions",
|
|
{
|
|
"name": "t_fraud",
|
|
"type": "TEXT",
|
|
"default": null
|
|
}
|
|
]
|
|
},
|
|
"25": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_members",
|
|
{
|
|
"name": "cim_profile_id",
|
|
"type": "int",
|
|
"length": 10,
|
|
"allow_null": false,
|
|
"default": 0
|
|
}
|
|
]
|
|
},
|
|
"26": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_members",
|
|
{
|
|
"name": "cim_payment_id",
|
|
"type": "int",
|
|
"length": 10,
|
|
"allow_null": false,
|
|
"default": 0
|
|
}
|
|
]
|
|
}
|
|
} |