{
    "1": {
        "method": "createTable",
        "params": [
            {
                "name": "nexus_support_request_log",
                "columns": {
                    "rlog_id": {
                        "name": "rlog_id",
                        "type": "BIGINT",
                        "length": 20,
                        "decimals": null,
                        "values": [],
                        "allow_null": false,
                        "default": null,
                        "comment": "ID Number",
                        "unsigned": true,
                        "zerofill": false,
                        "auto_increment": true,
                        "binary": false
                    },
                    "rlog_request": {
                        "name": "rlog_request",
                        "type": "INT",
                        "length": 10,
                        "decimals": null,
                        "values": [],
                        "allow_null": false,
                        "default": null,
                        "comment": "The support request ID number",
                        "unsigned": true,
                        "zerofill": false,
                        "auto_increment": false,
                        "binary": false
                    },
                    "rlog_member": {
                        "name": "rlog_member",
                        "type": "MEDIUMINT",
                        "length": 8,
                        "decimals": null,
                        "values": [],
                        "allow_null": false,
                        "default": null,
                        "comment": "The member ID of the staff performing the action",
                        "unsigned": true,
                        "zerofill": false,
                        "auto_increment": false,
                        "binary": false
                    },
                    "rlog_action": {
                        "name": "rlog_action",
                        "type": "VARCHAR",
                        "length": 32,
                        "decimals": null,
                        "values": [],
                        "allow_null": false,
                        "default": null,
                        "comment": "The field being changed",
                        "unsigned": false,
                        "zerofill": false,
                        "auto_increment": false,
                        "binary": false
                    },
                    "rlog_old": {
                        "name": "rlog_old",
                        "type": "INT",
                        "length": 10,
                        "decimals": null,
                        "values": [],
                        "allow_null": true,
                        "default": null,
                        "comment": "The old value",
                        "unsigned": false,
                        "zerofill": false,
                        "auto_increment": false,
                        "binary": false
                    },
                    "rlog_new": {
                        "name": "rlog_new",
                        "type": "INT",
                        "length": 10,
                        "decimals": null,
                        "values": [],
                        "allow_null": true,
                        "default": null,
                        "comment": "The new value",
                        "unsigned": false,
                        "zerofill": false,
                        "auto_increment": false,
                        "binary": false
                    },
                    "rlog_date": {
                        "name": "rlog_date",
                        "type": "INT",
                        "length": 10,
                        "decimals": null,
                        "values": [],
                        "allow_null": false,
                        "default": null,
                        "comment": "Unix timestamp of when change was made",
                        "unsigned": false,
                        "zerofill": false,
                        "auto_increment": false,
                        "binary": false
                    }
                },
                "indexes": {
                    "PRIMARY": {
                        "type": "primary",
                        "name": "PRIMARY",
                        "columns": [
                            "rlog_id"
                        ],
                        "length": [
                            null
                        ]
                    }
                }
            }
        ]
    },
    "2": {
        "method": "addColumn",
        "params": [
            "nexus_support_statuses",
            {
                "name": "status_log",
                "type": "TINYINT",
                "length": 1,
                "decimals": null,
                "values": [],
                "allow_null": false,
                "default": "1",
                "comment": "Should setting the status be logged?",
                "unsigned": false,
                "zerofill": false,
                "auto_increment": false,
                "binary": false
            }
        ]
    },
    "3": {
        "method": "addIndex",
        "params": [
            "nexus_purchases",
            {
                "type": "key",
                "name": "ps_purchases",
                "columns": [
                    "ps_app",
                    "ps_type",
                    "ps_item_id"
                ],
                "length": [
                    250,
                    250,
                    null
                ]
            }
        ]
    }
}