373 lines
12 KiB
JSON
373 lines
12 KiB
JSON
{
|
|
"1": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_theme_settings_fields",
|
|
{
|
|
"name": "sc_order",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"2": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_sys_lang_words",
|
|
{
|
|
"name": "word_theme",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The theme ID, if the language string belongs to a theme.",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"3": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_themes",
|
|
"set_image_map",
|
|
{
|
|
"name": "set_resource_map",
|
|
"type": "MEDIUMTEXT",
|
|
"length": 0,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"4": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_rc_reports",
|
|
{
|
|
"name": "ip_address",
|
|
"type": "VARCHAR",
|
|
"length": 46,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The IP address of the user reporting the content",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"5": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_file_logs",
|
|
"columns": {
|
|
"log_id": {
|
|
"allow_null": false,
|
|
"auto_increment": true,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 20,
|
|
"name": "log_id",
|
|
"type": "BIGINT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"log_type": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "log_type",
|
|
"type": "ENUM",
|
|
"unsigned": false,
|
|
"values": [
|
|
"log",
|
|
"copy",
|
|
"error",
|
|
"move"
|
|
],
|
|
"zerofill": false
|
|
},
|
|
"log_action": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "log_action",
|
|
"type": "ENUM",
|
|
"unsigned": false,
|
|
"values": [
|
|
"move",
|
|
"copy",
|
|
"delete",
|
|
"save"
|
|
],
|
|
"zerofill": false
|
|
},
|
|
"log_configuration_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "log_configuration_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"log_method": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 255,
|
|
"name": "log_method",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"log_filename": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "log_filename",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"log_msg": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "log_msg",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"log_date": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "log_date",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"log_data": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "log_data",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"log_container": {
|
|
"name": "log_container",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"log_url": {
|
|
"name": "log_url",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"log_id"
|
|
]
|
|
},
|
|
"log_date": {
|
|
"type": "key",
|
|
"name": "log_date",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"log_date"
|
|
]
|
|
},
|
|
"log_type": {
|
|
"type": "key",
|
|
"name": "log_type",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"log_type"
|
|
]
|
|
},
|
|
"log_action": {
|
|
"type": "key",
|
|
"name": "log_action",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"log_action"
|
|
]
|
|
},
|
|
"log_method": {
|
|
"type": "key",
|
|
"name": "log_method",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"log_method"
|
|
]
|
|
}
|
|
},
|
|
"collation": "utf8_unicode_ci"
|
|
}
|
|
]
|
|
},
|
|
"6": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_mail_error_logs",
|
|
"mlog_msg",
|
|
{
|
|
"name": "mlog_msg",
|
|
"type": "MEDIUMTEXT",
|
|
"length": 0,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"7": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_mail_error_logs",
|
|
"mlog_smtp_log",
|
|
{
|
|
"name": "mlog_smtp_log",
|
|
"type": "MEDIUMTEXT",
|
|
"length": 0,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"8": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_search_index",
|
|
"index_permissions",
|
|
{
|
|
"name": "index_permissions",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "*",
|
|
"comment": "A comma-delimited list of groups which have permission to view",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
}
|
|
} |