121 lines
3.9 KiB
JSON
121 lines
3.9 KiB
JSON
{
|
|
"1": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "nexus_eom",
|
|
"columns": {
|
|
"eom_id": {
|
|
"allow_null": false,
|
|
"auto_increment": true,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 10,
|
|
"name": "eom_id",
|
|
"type": "INT",
|
|
"unsigned": true,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"eom_url": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 255,
|
|
"name": "eom_url",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"eom_type": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 1,
|
|
"name": "eom_type",
|
|
"type": "CHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"eom_value": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "eom_value",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"eom_notify": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "eom_notify",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"eom_id"
|
|
]
|
|
}
|
|
},
|
|
"collation": "utf8mb4_unicode_ci"
|
|
}
|
|
]
|
|
},
|
|
"2": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"nexus_packages",
|
|
{
|
|
"name": "p_image",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"default": ""
|
|
}
|
|
]
|
|
},
|
|
"3": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"nexus_purchases",
|
|
"ps_invoice_pending",
|
|
{
|
|
"name": "ps_invoice_pending",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"allow_null": false,
|
|
"default": 0
|
|
}
|
|
]
|
|
}
|
|
} |