7826 lines
258 KiB
JSON
7826 lines
258 KiB
JSON
{
|
|
"1": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"core_sys_module",
|
|
"core_modules"
|
|
]
|
|
},
|
|
"2": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_modules",
|
|
{
|
|
"name": "sys_module_area",
|
|
"type": "VARCHAR",
|
|
"length": "32",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "'front'",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"3": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_modules",
|
|
{
|
|
"name": "sys_module_default_section",
|
|
"type": "VARCHAR",
|
|
"length": "32",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "NULL",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"4": {
|
|
"method": "update",
|
|
"params": [
|
|
"core_modules",
|
|
{
|
|
"sys_module_area": "front"
|
|
}
|
|
]
|
|
},
|
|
"5": {
|
|
"method": "update",
|
|
"params": [
|
|
"core_modules",
|
|
{
|
|
"sys_module_area": "admin"
|
|
},
|
|
"sys_module_admin=1"
|
|
]
|
|
},
|
|
"6": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_modules",
|
|
"sys_module_admin"
|
|
]
|
|
},
|
|
"7": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_dev",
|
|
"columns": {
|
|
"last_sync": {
|
|
"name": "last_sync",
|
|
"type": "INT",
|
|
"length": "11",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"auto_increment": false,
|
|
"comment": "Timestamp of last sync"
|
|
},
|
|
"ran": {
|
|
"name": "ran",
|
|
"type": "MEDIUMTEXT",
|
|
"length": 0,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "JSON array of queries ran",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"app_key": {
|
|
"name": "app_key",
|
|
"type": "VARCHAR",
|
|
"length": 250,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "Application key",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"working_version": {
|
|
"name": "working_version",
|
|
"type": "MEDIUMINT",
|
|
"length": 8,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "10000",
|
|
"comment": "The version ID being worked on",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"app_key"
|
|
]
|
|
},
|
|
"0": {
|
|
"type": "key",
|
|
"name": "app_key",
|
|
"columns": [
|
|
"app_key",
|
|
"last_sync"
|
|
]
|
|
}
|
|
},
|
|
"comment": "IN_DEV only. Store when the database schema was last synced."
|
|
}
|
|
]
|
|
},
|
|
"8": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"groups",
|
|
"core_groups"
|
|
]
|
|
},
|
|
"9": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_login_handlers",
|
|
"columns": {
|
|
"login_key": {
|
|
"name": "login_key",
|
|
"type": "VARCHAR",
|
|
"length": "32",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "",
|
|
"auto_increment": false,
|
|
"comment": "Key"
|
|
},
|
|
"login_settings": {
|
|
"name": "login_settings",
|
|
"type": "TEXT",
|
|
"length": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "NULL",
|
|
"auto_increment": false,
|
|
"comment": "Handler-specific settings"
|
|
},
|
|
"login_order": {
|
|
"name": "login_order",
|
|
"type": "SMALLINT",
|
|
"length": "2",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "NULL",
|
|
"auto_increment": false,
|
|
"comment": "Order to execute"
|
|
},
|
|
"login_acp": {
|
|
"name": "login_acp",
|
|
"type": "TINYINT",
|
|
"length": "1",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"auto_increment": false,
|
|
"comment": "Enabled for Admin CP?"
|
|
},
|
|
"login_enabled": {
|
|
"name": "login_enabled",
|
|
"type": "TINYINT",
|
|
"length": "1",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "1",
|
|
"auto_increment": false,
|
|
"comment": "Enabled?"
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"login_key"
|
|
]
|
|
},
|
|
"login_enabled": {
|
|
"type": "key",
|
|
"name": "login_enabled",
|
|
"columns": [
|
|
"login_enabled"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
},
|
|
"login_order": {
|
|
"type": "key",
|
|
"name": "login_order",
|
|
"columns": [
|
|
"login_order"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"10": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"validating",
|
|
"core_validating"
|
|
]
|
|
},
|
|
"10.5": {
|
|
"method": "delete",
|
|
"params": [
|
|
"core_sys_lang_words"
|
|
]
|
|
},
|
|
"11": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_sys_lang_words",
|
|
{
|
|
"name": "word_export",
|
|
"type": "TINYINT",
|
|
"length": "1",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "1",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"12": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_sys_lang_words",
|
|
"word_pack"
|
|
]
|
|
},
|
|
"13": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_sys_lang_words",
|
|
"word_default",
|
|
{
|
|
"name": "word_default",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": null,
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"14": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_sys_lang_words",
|
|
"word_default_version",
|
|
{
|
|
"name": "word_default_version",
|
|
"type": "VARCHAR",
|
|
"length": "10",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "NULL",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"15": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_groups",
|
|
"g_view_board",
|
|
{
|
|
"name": "g_view_board",
|
|
"type": "TINYINT",
|
|
"length": "1",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "1",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"16": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_groups",
|
|
"g_mem_info",
|
|
{
|
|
"name": "g_mem_info",
|
|
"type": "TINYINT",
|
|
"length": "1",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "1",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"17": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_groups",
|
|
"g_edit_profile",
|
|
{
|
|
"name": "g_edit_profile",
|
|
"type": "TINYINT",
|
|
"length": "1",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "1",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"18": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_groups",
|
|
"g_max_bgimg_upload",
|
|
{
|
|
"name": "g_max_bgimg_upload",
|
|
"type": "INT",
|
|
"length": "10",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "1024",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"19": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_groups",
|
|
"g_use_search",
|
|
{
|
|
"name": "g_use_search",
|
|
"type": "TINYINT",
|
|
"length": "1",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "1",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"20": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_groups",
|
|
"g_use_pm",
|
|
{
|
|
"name": "g_use_pm",
|
|
"type": "TINYINT",
|
|
"length": "1",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "1",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"21": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_groups",
|
|
"g_max_messages",
|
|
{
|
|
"name": "g_max_messages",
|
|
"type": "INT",
|
|
"length": "5",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "0",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"22": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"reputation_levels",
|
|
"core_reputation_levels"
|
|
]
|
|
},
|
|
"23": {
|
|
"method": "dropIndex",
|
|
"params": [
|
|
"core_sys_conf_settings",
|
|
"conf_group"
|
|
]
|
|
},
|
|
"24": {
|
|
"method": "dropIndex",
|
|
"params": [
|
|
"core_sys_conf_settings",
|
|
"conf_add_cache"
|
|
]
|
|
},
|
|
"25": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_sys_conf_settings",
|
|
[
|
|
"conf_title",
|
|
"conf_description",
|
|
"conf_group",
|
|
"conf_type",
|
|
"conf_extra",
|
|
"conf_evalphp",
|
|
"conf_protected",
|
|
"conf_position",
|
|
"conf_start_group",
|
|
"conf_add_cache"
|
|
]
|
|
]
|
|
},
|
|
"26": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_sys_lang_words",
|
|
"lang_id",
|
|
{
|
|
"name": "lang_id",
|
|
"type": "MEDIUMINT",
|
|
"length": "4",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"27": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_sys_lang_words",
|
|
"word_app",
|
|
{
|
|
"name": "word_app",
|
|
"type": "VARCHAR",
|
|
"length": "255",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"28": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_sys_lang_words",
|
|
"word_key",
|
|
{
|
|
"name": "word_key",
|
|
"type": "VARCHAR",
|
|
"length": "64",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"29": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_reputation_levels",
|
|
"level_id",
|
|
{
|
|
"name": "level_id",
|
|
"type": "MEDIUMINT",
|
|
"length": "8",
|
|
"unsigned": "1",
|
|
"zerofill": "1",
|
|
"binary": "1",
|
|
"allow_null": false,
|
|
"default": "",
|
|
"auto_increment": true,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"30": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_reputation_levels",
|
|
"level_points",
|
|
{
|
|
"name": "level_points",
|
|
"type": "INT",
|
|
"length": "10",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"31": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_reputation_levels",
|
|
"level_image",
|
|
{
|
|
"name": "level_image",
|
|
"type": "VARCHAR",
|
|
"length": "255",
|
|
"unsigned": "1",
|
|
"zerofill": "1",
|
|
"binary": "1",
|
|
"allow_null": "1",
|
|
"default": "NULL",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"32": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"admin_permission_rows",
|
|
"core_admin_permission_rows"
|
|
]
|
|
},
|
|
"33": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"titles",
|
|
"core_member_ranks"
|
|
]
|
|
},
|
|
"34": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"banfilters",
|
|
"core_banfilters"
|
|
]
|
|
},
|
|
"35": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"skin_collections",
|
|
"core_skin_sets"
|
|
]
|
|
},
|
|
"36": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_skin_sets",
|
|
"set_parent_id",
|
|
{
|
|
"name": "set_parent_id",
|
|
"type": "INT",
|
|
"length": "5",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"37": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"skin_templates",
|
|
"core_skin_templates"
|
|
]
|
|
},
|
|
"38": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"skin_css",
|
|
"core_skin_css"
|
|
]
|
|
},
|
|
"39": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_skin_css",
|
|
{
|
|
"name": "css_path",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"40": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_skin_css",
|
|
"css_group",
|
|
{
|
|
"name": "css_location",
|
|
"type": "VARCHAR",
|
|
"length": "255",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"41": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_skin_css",
|
|
{
|
|
"name": "css_name",
|
|
"type": "VARCHAR",
|
|
"length": "255",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"42": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_banfilters",
|
|
"ban_content",
|
|
{
|
|
"name": "ban_content",
|
|
"type": "VARCHAR",
|
|
"length": "255",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": null,
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"43": {
|
|
"method": "addIndex",
|
|
"params": [
|
|
"core_banfilters",
|
|
{
|
|
"type": "key",
|
|
"name": "ban_content",
|
|
"columns": [
|
|
"ban_content"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"44": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_skin_templates",
|
|
"template_group",
|
|
{
|
|
"name": "template_group",
|
|
"type": "VARCHAR",
|
|
"length": 80,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"45": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_skin_templates",
|
|
"template_name",
|
|
{
|
|
"name": "template_name",
|
|
"type": "VARCHAR",
|
|
"length": 80,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "NULL",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"46": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"admin_logs",
|
|
"core_admin_logs"
|
|
]
|
|
},
|
|
"47": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_admin_logs",
|
|
{
|
|
"name": "lang_key",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"null": true,
|
|
"default": null
|
|
}
|
|
]
|
|
},
|
|
"48": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_admin_logs",
|
|
"section",
|
|
{
|
|
"name": "controller",
|
|
"type": "VARCHAR",
|
|
"length": "255",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": null,
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"49": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_skin_templates",
|
|
{
|
|
"name": "template_app",
|
|
"type": "VARCHAR",
|
|
"length": "50",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "'core'",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"50": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"permission_index",
|
|
"core_permission_index"
|
|
]
|
|
},
|
|
"51": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_notification_defaults",
|
|
"columns": {
|
|
"notification_key": {
|
|
"name": "notification_key",
|
|
"type": "VARCHAR",
|
|
"length": "255",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "",
|
|
"auto_increment": false,
|
|
"comment": "Key"
|
|
},
|
|
"default": {
|
|
"name": "default",
|
|
"type": "SET",
|
|
"values": [
|
|
"email",
|
|
"inline"
|
|
],
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "",
|
|
"auto_increment": false,
|
|
"comment": "Default options"
|
|
},
|
|
"disabled": {
|
|
"name": "disabled",
|
|
"type": "SET",
|
|
"values": [
|
|
"email",
|
|
"inline"
|
|
],
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "",
|
|
"auto_increment": false,
|
|
"comment": "Disabled options"
|
|
},
|
|
"editable": {
|
|
"name": "editable",
|
|
"type": "BIT",
|
|
"length": "1",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": 1,
|
|
"auto_increment": false,
|
|
"comment": "Member can edit"
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"notification_key"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"52": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"members_warn_actions",
|
|
"core_members_warn_actions"
|
|
]
|
|
},
|
|
"53": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"members_warn_reasons",
|
|
"core_members_warn_reasons"
|
|
]
|
|
},
|
|
"54": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_moderators",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "BIGINT",
|
|
"length": "20",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"auto_increment": false,
|
|
"comment": "ID Number"
|
|
},
|
|
"perms": {
|
|
"name": "perms",
|
|
"type": "TEXT",
|
|
"length": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "NULL",
|
|
"auto_increment": false,
|
|
"comment": "Permissions"
|
|
},
|
|
"updated": {
|
|
"name": "updated",
|
|
"type": "INT",
|
|
"length": "10",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "NULL",
|
|
"auto_increment": false,
|
|
"comment": "Updated"
|
|
},
|
|
"type": {
|
|
"name": "type",
|
|
"type": "ENUM",
|
|
"length": 0,
|
|
"decimals": null,
|
|
"values": [
|
|
"m",
|
|
"g"
|
|
],
|
|
"allow_null": false,
|
|
"default": "m",
|
|
"comment": "Member or group",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"type",
|
|
"id"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"55": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"attachments",
|
|
"core_attachments"
|
|
]
|
|
},
|
|
"56": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"emoticons",
|
|
"core_emoticons"
|
|
]
|
|
},
|
|
"57": {
|
|
"method": "insert",
|
|
"params": [
|
|
"core_sys_lang_words",
|
|
{
|
|
"lang_id": 1,
|
|
"word_app": "core",
|
|
"word_key": "core_emoticon_group_default",
|
|
"word_default": "Emoticons",
|
|
"word_custom": "Emoticons",
|
|
"word_default_version": "NULL",
|
|
"word_custom_version": "NULL",
|
|
"word_js": 0,
|
|
"word_export": 0
|
|
}
|
|
]
|
|
},
|
|
"58": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"sessions",
|
|
"core_sessions"
|
|
]
|
|
},
|
|
"59": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_files",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "BIGINT",
|
|
"length": "20",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": 0,
|
|
"auto_increment": true,
|
|
"comment": "ID Number"
|
|
},
|
|
"filename": {
|
|
"name": "filename",
|
|
"type": "VARCHAR",
|
|
"length": "255",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "",
|
|
"auto_increment": false,
|
|
"comment": "Filename"
|
|
},
|
|
"salt": {
|
|
"name": "salt",
|
|
"type": "CHAR",
|
|
"length": "32",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"auto_increment": false,
|
|
"comment": "Secret salt"
|
|
},
|
|
"contents": {
|
|
"name": "contents",
|
|
"type": "LONGBLOB",
|
|
"length": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "NULL",
|
|
"auto_increment": false,
|
|
"comment": "Raw file contents"
|
|
},
|
|
"container": {
|
|
"name": "container",
|
|
"type": "VARCHAR",
|
|
"length": "255",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "NULL",
|
|
"auto_increment": false,
|
|
"comment": "Filename"
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"id"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"60": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_files_temp",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "BIGINT",
|
|
"length": "20",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": 0,
|
|
"auto_increment": true,
|
|
"comment": "ID Number"
|
|
},
|
|
"upload_key": {
|
|
"name": "upload_key",
|
|
"type": "CHAR",
|
|
"length": "32",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "NULL",
|
|
"auto_increment": false,
|
|
"comment": "Key for upload process"
|
|
},
|
|
"filename": {
|
|
"name": "filename",
|
|
"type": "VARCHAR",
|
|
"length": "255",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "NULL",
|
|
"auto_increment": false,
|
|
"comment": "Filename"
|
|
},
|
|
"mime": {
|
|
"name": "mime",
|
|
"type": "VARCHAR",
|
|
"length": "255",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "NULL",
|
|
"auto_increment": false,
|
|
"comment": "Mime Type"
|
|
},
|
|
"contents": {
|
|
"name": "contents",
|
|
"type": "LONGBLOB",
|
|
"length": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "NULL",
|
|
"auto_increment": false,
|
|
"comment": "Raw file contents"
|
|
},
|
|
"time": {
|
|
"name": "time",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "Unix timestamp of upload date",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"id"
|
|
]
|
|
},
|
|
"time": {
|
|
"type": "key",
|
|
"name": "time",
|
|
"columns": [
|
|
"time"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"61": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_store",
|
|
"columns": {
|
|
"store_key": {
|
|
"name": "store_key",
|
|
"type": "VARCHAR",
|
|
"length": "255",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": "",
|
|
"auto_increment": false,
|
|
"comment": "Key"
|
|
},
|
|
"store_value": {
|
|
"name": "store_value",
|
|
"type": "LONGBLOB",
|
|
"length": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "NULL",
|
|
"auto_increment": false,
|
|
"comment": "Value"
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"store_key"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"62": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_skin_sets",
|
|
"set_css_files"
|
|
]
|
|
},
|
|
"63": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_skin_sets",
|
|
{
|
|
"name": "set_template_settings",
|
|
"type": "MEDIUMTEXT",
|
|
"length": null,
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": null,
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"64": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_skin_sets",
|
|
{
|
|
"name": "set_editor_skin",
|
|
"type": "VARCHAR",
|
|
"length": "255",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": true,
|
|
"default": "NULL",
|
|
"auto_increment": false,
|
|
"comment": ""
|
|
}
|
|
]
|
|
},
|
|
"65": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"question_and_answer",
|
|
"core_question_and_answer"
|
|
]
|
|
},
|
|
"66": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_admin_logs",
|
|
"do",
|
|
{
|
|
"name": "do",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"67": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"badwords",
|
|
"core_profanity_filters"
|
|
]
|
|
},
|
|
"68": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"spam_service_log",
|
|
"core_spam_service_log"
|
|
]
|
|
},
|
|
"69": {
|
|
"method": "dropTable",
|
|
"params": [
|
|
"core_incoming_email_log",
|
|
true
|
|
]
|
|
},
|
|
"70": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"bulk_mail",
|
|
"core_bulk_mail"
|
|
]
|
|
},
|
|
"71": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_bulk_mail",
|
|
"mail_sentto",
|
|
{
|
|
"name": "mail_sentto",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": 0,
|
|
"comment": "The number of users the bulk mail has been sent to",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"72": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_bulk_mail",
|
|
"mail_active",
|
|
{
|
|
"name": "mail_active",
|
|
"type": "TINYINT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": 0,
|
|
"comment": "Whether the bulk mail is currently active or not",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"73": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_bulk_mail",
|
|
"mail_start",
|
|
{
|
|
"name": "mail_start",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "Timestamp the bulk mail was created",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"74": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_bulk_mail",
|
|
"mail_updated",
|
|
{
|
|
"name": "mail_updated",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "Timestamp last bulk mail batch was sent",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"75": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_theme_settings_values",
|
|
"columns": {
|
|
"sv_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "sv_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"sv_value": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 255,
|
|
"name": "sv_value",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
},
|
|
"indexes": []
|
|
}
|
|
]
|
|
},
|
|
"76": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_theme_settings_fields",
|
|
"columns": {
|
|
"sc_id": {
|
|
"allow_null": false,
|
|
"auto_increment": true,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 10,
|
|
"name": "sc_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"sc_set_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "sc_set_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"sc_key": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 255,
|
|
"name": "sc_key",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"sc_type": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 255,
|
|
"name": "sc_type",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"sc_multiple": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 1,
|
|
"name": "sc_multiple",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"sc_content": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "sc_content",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"sc_updated": {
|
|
"name": "sc_updated",
|
|
"type": "INT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "0",
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"sc_app": {
|
|
"name": "sc_app",
|
|
"type": "VARCHAR",
|
|
"length": 100,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "core",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"sc_default": {
|
|
"name": "sc_default",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"sc_tab_key": {
|
|
"name": "sc_tab_key",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "custom",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"sc_show_in_vse": {
|
|
"name": "sc_show_in_vse",
|
|
"type": "INT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "0",
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"sc_id"
|
|
]
|
|
},
|
|
"sc_set_id": {
|
|
"type": "key",
|
|
"name": "sc_set_id",
|
|
"columns": [
|
|
"sc_set_id"
|
|
]
|
|
},
|
|
"replace_key": {
|
|
"type": "unique",
|
|
"name": "replace_key",
|
|
"columns": [
|
|
"sc_set_id",
|
|
"sc_key"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"77": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_tasks",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "BIGINT",
|
|
"length": "20",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": null,
|
|
"auto_increment": true,
|
|
"comment": "ID Number"
|
|
},
|
|
"key": {
|
|
"name": "key",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The task key.",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"frequency": {
|
|
"name": "frequency",
|
|
"type": "VARCHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "DateInterval specification for the frequency the task runs.",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"next_run": {
|
|
"name": "next_run",
|
|
"type": "BIGINT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": 0,
|
|
"comment": "Next run timestamp.",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"running": {
|
|
"name": "running",
|
|
"type": "BIT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "Indicates if task is currently running (to prevent duplicate runs).",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"enabled": {
|
|
"name": "enabled",
|
|
"type": "BIT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "1",
|
|
"comment": "Some tasks may set this automatically when they do\/don't have things to do.",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"plugin": {
|
|
"name": "plugin",
|
|
"type": "BIGINT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The plugin ID number which owns the task.",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"app": {
|
|
"name": "app",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The application key which owns the task.",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"id"
|
|
]
|
|
},
|
|
"key": {
|
|
"type": "unique",
|
|
"name": "key",
|
|
"columns": [
|
|
"key"
|
|
]
|
|
},
|
|
"next_run": {
|
|
"type": "key",
|
|
"name": "next_run",
|
|
"columns": [
|
|
"enabled",
|
|
"next_run"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"78": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_tasks_log",
|
|
"columns": {
|
|
"task": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "Task ID number",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 20,
|
|
"name": "task",
|
|
"type": "BIGINT",
|
|
"unsigned": true,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"error": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "b'0'",
|
|
"length": 1,
|
|
"name": "error",
|
|
"type": "BIT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"log": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "log",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"time": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 10,
|
|
"name": "time",
|
|
"type": "INT",
|
|
"unsigned": true,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"lookup": {
|
|
"type": "key",
|
|
"name": "lookup",
|
|
"columns": [
|
|
"task",
|
|
"time"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"79": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"seo_acronyms",
|
|
"core_acronyms"
|
|
]
|
|
},
|
|
"80": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_theme_images",
|
|
"columns": {
|
|
"image_id": {
|
|
"allow_null": false,
|
|
"auto_increment": true,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 10,
|
|
"name": "image_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"image_set_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "image_set_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"image_app": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 32,
|
|
"name": "image_app",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"image_location": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 32,
|
|
"name": "image_location",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"image_path": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 255,
|
|
"name": "image_path",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"image_name": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 255,
|
|
"name": "image_name",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"image_added": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "image_added",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"image_filename": {
|
|
"name": "image_filename",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "File object URI",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"image_plugin": {
|
|
"name": "image_plugin",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The plugin ID, if created by a plugin",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"image_data": {
|
|
"name": "image_data",
|
|
"type": "MEDIUMBLOB",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Stores the image data so the images can be re-written if the file object is lost",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"image_id"
|
|
]
|
|
},
|
|
"image_set_id": {
|
|
"type": "key",
|
|
"name": "image_set_id",
|
|
"columns": [
|
|
"image_set_id"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"81": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_email_templates",
|
|
"columns": {
|
|
"template_id": {
|
|
"name": "template_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
|
|
},
|
|
"template_app": {
|
|
"name": "template_app",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"template_name": {
|
|
"name": "template_name",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"template_parent": {
|
|
"name": "template_parent",
|
|
"type": "BIGINT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "This column holds the template_id of the original un-edited version of the template",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"template_data": {
|
|
"name": "template_data",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"template_content_html": {
|
|
"name": "template_content_html",
|
|
"type": "MEDIUMTEXT",
|
|
"length": 0,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"template_content_plaintext": {
|
|
"name": "template_content_plaintext",
|
|
"type": "MEDIUMTEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"template_edited": {
|
|
"name": "template_edited",
|
|
"type": "BIT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "0",
|
|
"comment": "Flag to indicate if there is a customized version of the template",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"template_key": {
|
|
"name": "template_key",
|
|
"type": "CHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"template_id"
|
|
]
|
|
},
|
|
"template_key": {
|
|
"type": "unique",
|
|
"name": "template_key",
|
|
"columns": [
|
|
"template_key",
|
|
"template_parent"
|
|
]
|
|
},
|
|
"template_parent": {
|
|
"type": "key",
|
|
"name": "template_parent",
|
|
"columns": [
|
|
"template_parent"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"82": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"message_topics",
|
|
"core_message_topics"
|
|
]
|
|
},
|
|
"83": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"message_posts",
|
|
"core_message_posts"
|
|
]
|
|
},
|
|
"84": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"dnames_change",
|
|
"core_dnames_change"
|
|
]
|
|
},
|
|
"85": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_skin_css",
|
|
{
|
|
"name": "css_version",
|
|
"type": "VARCHAR",
|
|
"length": 100,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"86": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"message_topic_user_map",
|
|
"core_message_topic_user_map"
|
|
]
|
|
},
|
|
"87": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_skin_templates",
|
|
{
|
|
"name": "template_version",
|
|
"type": "VARCHAR",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"88": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"mail_error_logs",
|
|
"core_mail_error_logs"
|
|
]
|
|
},
|
|
"89": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_mail_error_logs",
|
|
"mlog_content",
|
|
{
|
|
"name": "mlog_content",
|
|
"type": "TEXT",
|
|
"length": 250,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"90": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_mail_error_logs",
|
|
[
|
|
"mlog_code",
|
|
"mlog_smtp_msg"
|
|
]
|
|
]
|
|
},
|
|
"91": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_mail_error_logs",
|
|
"mlog_to",
|
|
{
|
|
"name": "mlog_to",
|
|
"type": "TEXT",
|
|
"length": 250,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"92": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_mail_error_logs",
|
|
{
|
|
"name": "mlog_smtp_log",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"93": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_skin_css",
|
|
{
|
|
"name": "css_hidden",
|
|
"type": "TINYINT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Skip this file when compiling",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"94": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_skin_templates",
|
|
"template_location",
|
|
{
|
|
"name": "template_location",
|
|
"type": "VARCHAR",
|
|
"length": 80,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"95": {
|
|
"method": "addIndex",
|
|
"params": [
|
|
"core_skin_css",
|
|
{
|
|
"type": "unique",
|
|
"name": "css_unique",
|
|
"columns": [
|
|
"css_app",
|
|
"css_location",
|
|
"css_name",
|
|
"css_path",
|
|
"css_set_id"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"96": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"rc_comments",
|
|
"core_rc_comments"
|
|
]
|
|
},
|
|
"97": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"rc_reports",
|
|
"core_rc_reports"
|
|
]
|
|
},
|
|
"98": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_rc_index",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "BIGINT",
|
|
"length": "20",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": null,
|
|
"auto_increment": true,
|
|
"comment": "ID Number"
|
|
},
|
|
"class": {
|
|
"name": "class",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "Indicates the type of content that was reported",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"content_id": {
|
|
"name": "content_id",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The ID number of the content that was reported.",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"perm_id": {
|
|
"name": "perm_id",
|
|
"type": "BIGINT",
|
|
"length": 29,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The ID number from the core_permission_index table which indicates who can view this report.",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"status": {
|
|
"name": "status",
|
|
"type": "ENUM",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [
|
|
"1",
|
|
"2",
|
|
"3"
|
|
],
|
|
"allow_null": false,
|
|
"default": "1",
|
|
"comment": "1 = New report. 2 = Under Review. 3 = Complete.",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"num_reports": {
|
|
"name": "num_reports",
|
|
"type": "INT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "1",
|
|
"comment": "Number of reports received.",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"num_comments": {
|
|
"name": "num_comments",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "Number of comments moderators have made on this report.",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"first_report_by": {
|
|
"name": "first_report_by",
|
|
"type": "MEDIUMINT",
|
|
"length": 8,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The ID number of the member who submitted the first report.",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"first_report_date": {
|
|
"name": "first_report_date",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "Unix timestamp of when the first report was submitted.",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"last_updated": {
|
|
"name": "last_updated",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Unix timestamp of the last time a comment or report was made (for read\/unread marking)",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"author": {
|
|
"name": "author",
|
|
"type": "MEDIUMINT",
|
|
"length": 8,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The ID number of the user who submitted the reported content.",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"id"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"99": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_skin_sets",
|
|
{
|
|
"name": "set_logo_data",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "JSON data of logo url, width, height",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"100": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"upgrade_history",
|
|
"core_upgrade_history"
|
|
]
|
|
},
|
|
"101": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_upgrade_history",
|
|
"upgrade_notes"
|
|
]
|
|
},
|
|
"102": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_applications",
|
|
[
|
|
"app_global_caches",
|
|
"app_description",
|
|
"app_location",
|
|
"app_tab_groups",
|
|
"app_tab_attributes",
|
|
"app_tab_description"
|
|
]
|
|
]
|
|
},
|
|
"103": {
|
|
"method": "update",
|
|
"params": [
|
|
"core_applications",
|
|
{
|
|
"app_author": "Invision Power Services, Inc.",
|
|
"app_website": "https:\/\/www.invisioncommunity.com"
|
|
},
|
|
"app_directory='core'"
|
|
]
|
|
},
|
|
"104": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"members_warn_logs",
|
|
"core_members_warn_logs"
|
|
]
|
|
},
|
|
"105": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_members_warn_logs",
|
|
"wl_mq",
|
|
{
|
|
"name": "wl_mq",
|
|
"type": "VARCHAR",
|
|
"length": 128,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"106": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_members_warn_logs",
|
|
"wl_rpa",
|
|
{
|
|
"name": "wl_rpa",
|
|
"type": "VARCHAR",
|
|
"length": 128,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"107": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_members_warn_logs",
|
|
"wl_suspend",
|
|
{
|
|
"name": "wl_suspend",
|
|
"type": "VARCHAR",
|
|
"length": 128,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"108": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_members_warn_logs",
|
|
[
|
|
"wl_ban_group",
|
|
"wl_expire",
|
|
"wl_expire_unit"
|
|
]
|
|
]
|
|
},
|
|
"109": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_members_warn_actions",
|
|
"wa_ban_group"
|
|
]
|
|
},
|
|
"110": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_members_warn_logs",
|
|
{
|
|
"name": "wl_content_module",
|
|
"type": "VARCHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"111": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_skin_sets",
|
|
[
|
|
"set_output_format",
|
|
"set_locked_uagent",
|
|
"set_minify",
|
|
"set_image_dir"
|
|
]
|
|
]
|
|
},
|
|
"112": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_skin_sets",
|
|
{
|
|
"name": "skin_version",
|
|
"type": "VARCHAR",
|
|
"length": 100,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Human skin set version",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"113": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_skin_sets",
|
|
{
|
|
"name": "set_long_version",
|
|
"type": "INT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Integer version",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"114": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_theme_content_history",
|
|
"columns": {
|
|
"content_id": {
|
|
"allow_null": false,
|
|
"auto_increment": true,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 10,
|
|
"name": "content_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"content_set_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "content_set_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"content_type": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "html",
|
|
"length": 10,
|
|
"name": "content_type",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"content_app": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 100,
|
|
"name": "content_app",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"content_location": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 255,
|
|
"name": "content_location",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"content_path": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 255,
|
|
"name": "content_path",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"content_name": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 255,
|
|
"name": "content_name",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"content_data": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "content_data",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"content_content": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "content_content",
|
|
"type": "MEDIUMTEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"content_long_version": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "content_long_version",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"content_date": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "content_date",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"content_id"
|
|
]
|
|
},
|
|
"content_set_id": {
|
|
"type": "key",
|
|
"name": "content_set_id",
|
|
"columns": [
|
|
"content_set_id",
|
|
"content_type"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"115": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_skin_css",
|
|
{
|
|
"name": "css_user_edited",
|
|
"type": "TINYINT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "0",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"116": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_skin_sets",
|
|
"skin_version",
|
|
{
|
|
"name": "set_version",
|
|
"type": "VARCHAR",
|
|
"length": 100,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Human skin set version",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"117": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_theme_conflict",
|
|
"columns": {
|
|
"conflict_id": {
|
|
"allow_null": false,
|
|
"auto_increment": true,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 10,
|
|
"name": "conflict_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"conflict_set_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "conflict_set_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"conflict_item_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "conflict_item_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"conflict_type": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "html",
|
|
"length": 10,
|
|
"name": "conflict_type",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"conflict_app": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 100,
|
|
"name": "conflict_app",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"conflict_location": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 255,
|
|
"name": "conflict_location",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"conflict_path": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 255,
|
|
"name": "conflict_path",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"conflict_name": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 255,
|
|
"name": "conflict_name",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"conflict_data": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "conflict_data",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"conflict_content": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "conflict_content",
|
|
"type": "MEDIUMTEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"conflict_long_version": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "conflict_long_version",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"conflict_date": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "conflict_date",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"conflict_id"
|
|
]
|
|
},
|
|
"conflict_set_id": {
|
|
"type": "key",
|
|
"name": "conflict_set_id",
|
|
"columns": [
|
|
"conflict_set_id",
|
|
"conflict_type"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"118": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_applications",
|
|
{
|
|
"name": "app_update_last_check",
|
|
"type": "INT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"119": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_applications",
|
|
{
|
|
"name": "app_update_version",
|
|
"type": "TEXT",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Json array of the latest version info returned by the update check URL",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"120": {
|
|
"method": "addIndex",
|
|
"params": [
|
|
"core_modules",
|
|
{
|
|
"type": "unique",
|
|
"name": "identifier",
|
|
"columns": [
|
|
"sys_module_application",
|
|
"sys_module_key",
|
|
"sys_module_area"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"121": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_plugins",
|
|
"columns": {
|
|
"plugin_id": {
|
|
"name": "plugin_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
|
|
},
|
|
"plugin_name": {
|
|
"name": "plugin_name",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "Name",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"plugin_update_check": {
|
|
"name": "plugin_update_check",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "URL to check for updates",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"plugin_author": {
|
|
"name": "plugin_author",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Author name",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"plugin_website": {
|
|
"name": "plugin_website",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Author website URL",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"plugin_location": {
|
|
"name": "plugin_location",
|
|
"type": "VARCHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "",
|
|
"comment": "Folder name for IN_DEV mode",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"plugin_version_long": {
|
|
"name": "plugin_version_long",
|
|
"type": "MEDIUMINT",
|
|
"length": 8,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "10000",
|
|
"comment": "Currently installed version (system)",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"plugin_version_human": {
|
|
"name": "plugin_version_human",
|
|
"type": "VARCHAR",
|
|
"length": 8,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "1.0.0",
|
|
"comment": "Currently installed version (human-readable)",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"plugin_update_check_last": {
|
|
"name": "plugin_update_check_last",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Unix timestamp that the plugin was last checked for updates",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"plugin_update_check_data": {
|
|
"name": "plugin_update_check_data",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "JSON data returned in last update check",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"plugin_enabled": {
|
|
"name": "plugin_enabled",
|
|
"type": "BINARY",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "1",
|
|
"comment": "Plugin is enabled?",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"plugin_order": {
|
|
"name": "plugin_order",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "The order plugins are executed",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"plugin_diagnostic_url": {
|
|
"name": "plugin_diagnostic_url",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The URL to send diagnostic reports to.",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"plugin_id"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"122": {
|
|
"method": "dropTable",
|
|
"params": [
|
|
"core_hooks",
|
|
true
|
|
]
|
|
},
|
|
"123": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_hooks",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "BIGINT",
|
|
"length": "20",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": null,
|
|
"auto_increment": true,
|
|
"comment": "ID Number"
|
|
},
|
|
"type": {
|
|
"name": "type",
|
|
"type": "CHAR",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "C for code, S for skin",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"class": {
|
|
"name": "class",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The class the hook overrides",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"filename": {
|
|
"name": "filename",
|
|
"type": "VARCHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The filename on disk",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"plugin": {
|
|
"name": "plugin",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Plugin ID, if belongs to a plugin",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"app": {
|
|
"name": "app",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Application key, if belongs to app",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"id"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"124": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_modules",
|
|
"sys_module_default_section"
|
|
]
|
|
},
|
|
"125": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_modules",
|
|
{
|
|
"name": "sys_module_default",
|
|
"type": "TINYINT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"126": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_modules",
|
|
{
|
|
"name": "sys_module_default_controller",
|
|
"type": "VARCHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"127": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_applications",
|
|
{
|
|
"name": "app_disabled_groups",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"128": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_applications",
|
|
{
|
|
"name": "app_disabled_message",
|
|
"type": "MEDIUMTEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"129": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"core_skin_sets",
|
|
"core_themes"
|
|
]
|
|
},
|
|
"130": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"core_skin_templates",
|
|
"core_theme_templates"
|
|
]
|
|
},
|
|
"131": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"core_skin_css",
|
|
"core_theme_css"
|
|
]
|
|
},
|
|
"132": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_mail_error_logs",
|
|
{
|
|
"name": "mlog_resend_data",
|
|
"type": "MEDIUMTEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"133": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"error_logs",
|
|
"core_error_logs"
|
|
]
|
|
},
|
|
"134": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_sessions",
|
|
"current_controller",
|
|
{
|
|
"name": "current_controller",
|
|
"type": "VARCHAR",
|
|
"length": 100,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"135": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"admin_login_logs",
|
|
"core_admin_login_logs"
|
|
]
|
|
},
|
|
"136": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_themes",
|
|
[
|
|
"set_css_inline",
|
|
"set_css_groups"
|
|
]
|
|
]
|
|
},
|
|
"137": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_themes",
|
|
{
|
|
"name": "set_update_check",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Remote URL to retrieve update data",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"138": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_themes",
|
|
{
|
|
"name": "set_update_last_check",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "0",
|
|
"comment": "Unix timestamp of last check",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"139": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_themes",
|
|
{
|
|
"name": "set_update_data",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "JSON update data retrieved from remote URL.",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"140": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_admin_login_logs",
|
|
"admin_post_details",
|
|
{
|
|
"name": "admin_request",
|
|
"type": "TEXT",
|
|
"length": 0,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"141": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_sys_lang_words",
|
|
{
|
|
"name": "word_plugin",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"142": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_sys_conf_settings",
|
|
{
|
|
"name": "conf_app",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"143": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_sys_conf_settings",
|
|
{
|
|
"name": "conf_plugin",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"144": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_theme_templates",
|
|
{
|
|
"name": "template_plugin",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The plugin ID, if created by a plugin",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"145": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_theme_css",
|
|
{
|
|
"name": "css_plugin",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The plugin ID, if created by a plugin",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"146": {
|
|
"method": "changeIndex",
|
|
"params": [
|
|
"core_sys_conf_settings",
|
|
"conf_key",
|
|
{
|
|
"type": "unique",
|
|
"name": "conf_key",
|
|
"columns": [
|
|
"conf_key"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"147": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_javascript",
|
|
"columns": {
|
|
"javascript_id": {
|
|
"allow_null": false,
|
|
"auto_increment": true,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 10,
|
|
"name": "javascript_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"javascript_plugin": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 100,
|
|
"name": "javascript_plugin",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"javascript_type": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 100,
|
|
"name": "javascript_type",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"javascript_content": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "javascript_content",
|
|
"type": "MEDIUMTEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"javascript_version": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "javascript_version",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"javascript_app": {
|
|
"name": "javascript_app",
|
|
"type": "VARCHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"javascript_path": {
|
|
"name": "javascript_path",
|
|
"type": "VARCHAR",
|
|
"length": 100,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"javascript_location": {
|
|
"name": "javascript_location",
|
|
"type": "VARCHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"javascript_position": {
|
|
"name": "javascript_position",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "0",
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"javascript_name": {
|
|
"name": "javascript_name",
|
|
"type": "VARCHAR",
|
|
"length": 150,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"javascript_key": {
|
|
"name": "javascript_key",
|
|
"type": "CHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "Look up key ",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"javascript_id"
|
|
]
|
|
},
|
|
"look_up_key": {
|
|
"type": "key",
|
|
"name": "look_up_key",
|
|
"columns": [
|
|
"javascript_key"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"148": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"ignored_users",
|
|
"core_ignored_users"
|
|
]
|
|
},
|
|
"149": {
|
|
"method": "dropTable",
|
|
"params": [
|
|
"search_visitors",
|
|
true
|
|
]
|
|
},
|
|
"150": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_sessions",
|
|
[
|
|
"uagent_bypass",
|
|
"location_1_type",
|
|
"location_1_id",
|
|
"location_2_type",
|
|
"location_2_id",
|
|
"location_3_type",
|
|
"location_3_id",
|
|
"session_msg_id"
|
|
]
|
|
]
|
|
},
|
|
"151": {
|
|
"method": "delete",
|
|
"params": [
|
|
"core_sessions"
|
|
]
|
|
},
|
|
"152": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_sessions",
|
|
{
|
|
"name": "location_url",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"153": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_sessions",
|
|
{
|
|
"name": "location_lang",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"154": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_sessions",
|
|
{
|
|
"name": "location_data",
|
|
"type": "VARCHAR",
|
|
"length": 1024,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"155": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_sessions",
|
|
{
|
|
"name": "location_permissions",
|
|
"type": "VARCHAR",
|
|
"length": 1024,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"156": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"announcements",
|
|
"core_announcements"
|
|
]
|
|
},
|
|
"157": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_announcements",
|
|
[
|
|
"announce_forum",
|
|
"announce_html_enabled",
|
|
"announce_nlbr_enabled"
|
|
]
|
|
]
|
|
},
|
|
"158": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_announcements",
|
|
"announce_post",
|
|
{
|
|
"name": "announce_content",
|
|
"type": "TEXT",
|
|
"length": 0,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"159": {
|
|
"method": "addIndex",
|
|
"params": [
|
|
"core_announcements",
|
|
{
|
|
"type": "key",
|
|
"name": "announce_start",
|
|
"columns": [
|
|
"announce_start"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"160": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_applications",
|
|
{
|
|
"name": "app_diagnostic_url",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The URL to send diagnostic reports to",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"161": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"seo_meta",
|
|
"core_seo_meta"
|
|
]
|
|
},
|
|
"162": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_seo_meta",
|
|
{
|
|
"name": "meta_id",
|
|
"type": "INT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"primary": true,
|
|
"auto_increment": true,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"163": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_notification_preferences",
|
|
"columns": {
|
|
"member_id": {
|
|
"name": "member_id",
|
|
"type": "MEDIUMINT",
|
|
"length": 8,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "Member ID Number",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"notification_key": {
|
|
"name": "notification_key",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "Key",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"preference": {
|
|
"name": "preference",
|
|
"type": "SET",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [
|
|
"email",
|
|
"inline"
|
|
],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The chosen notification method(s)",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"member_id",
|
|
"notification_key"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"164": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_validating",
|
|
[
|
|
"real_group",
|
|
"temp_group"
|
|
]
|
|
]
|
|
},
|
|
"165": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_seo_meta",
|
|
"name"
|
|
]
|
|
},
|
|
"166": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_seo_meta",
|
|
"content",
|
|
{
|
|
"name": "meta_tags",
|
|
"type": "TEXT",
|
|
"length": 0,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"167": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_seo_meta",
|
|
"url",
|
|
{
|
|
"name": "meta_url",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"168": {
|
|
"method": "addIndex",
|
|
"params": [
|
|
"core_seo_meta",
|
|
{
|
|
"type": "key",
|
|
"name": "meta_url",
|
|
"columns": [
|
|
"meta_url"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"169": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_seo_meta",
|
|
{
|
|
"name": "meta_title",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"170": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_notifications",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "BIGINT",
|
|
"length": "20",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": null,
|
|
"auto_increment": true,
|
|
"comment": "ID Number"
|
|
},
|
|
"member": {
|
|
"name": "member",
|
|
"type": "MEDIUMINT",
|
|
"length": 8,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The member ID",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"notification_key": {
|
|
"name": "notification_key",
|
|
"type": "VARCHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The notification key",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"item_class": {
|
|
"name": "item_class",
|
|
"type": "VARCHAR",
|
|
"length": 128,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The class for the item the notification is about",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"item_id": {
|
|
"name": "item_id",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The ID number for the item the notification is about",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"member_data": {
|
|
"name": "member_data",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "JSON-encoded merge data",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"sent_time": {
|
|
"name": "sent_time",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "Unix timestamp of the time the notification was sent.",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"read_time": {
|
|
"name": "read_time",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Unix timestamp of the time the notification was read.",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"notification_app": {
|
|
"name": "notification_app",
|
|
"type": "VARCHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The application that owns this type of notification",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"updated_time": {
|
|
"name": "updated_time",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "Unix timestamp of when the notification was last updated (or sent)",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"item_sub_class": {
|
|
"name": "item_sub_class",
|
|
"type": "VARCHAR",
|
|
"length": 128,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Item Sub Class for Comments and Reviews",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"item_sub_id": {
|
|
"name": "item_sub_id",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Item Sub ID",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"id"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"171": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_attachments",
|
|
[
|
|
"attach_pid",
|
|
"attach_msg"
|
|
]
|
|
]
|
|
},
|
|
"172": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_attachments_map",
|
|
"columns": {
|
|
"attachment_id": {
|
|
"name": "attachment_id",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The attachment ID",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"location_key": {
|
|
"name": "location_key",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The editor location the content claiming this attachment has come from",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"id1": {
|
|
"name": "id1",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Primary ID number for content claiming attachment",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"id2": {
|
|
"name": "id2",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Secondary ID number for content claiming attachment",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"temp": {
|
|
"name": "temp",
|
|
"type": "BINARY",
|
|
"length": 16,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Temporary key for content claiming attachment",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"id3": {
|
|
"name": "id3",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Arbitrary data for content claiming attachment",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"attachment_id"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"173": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_leaders_groups",
|
|
"columns": {
|
|
"group_id": {
|
|
"name": "group_id",
|
|
"type": "MEDIUMINT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "ID Number",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": true,
|
|
"binary": false
|
|
},
|
|
"group_name": {
|
|
"name": "group_name",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"group_template": {
|
|
"name": "group_template",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"group_position": {
|
|
"name": "group_position",
|
|
"type": "MEDIUMINT",
|
|
"length": 0,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"group_id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"174": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_file_storage",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "BIGINT",
|
|
"length": "20",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": null,
|
|
"auto_increment": true,
|
|
"comment": "ID Number"
|
|
},
|
|
"method": {
|
|
"name": "method",
|
|
"type": "VARCHAR",
|
|
"length": 128,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The storage method",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"configuration": {
|
|
"name": "configuration",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "JSON object of configuration options",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"175": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_advertisements",
|
|
"columns": {
|
|
"ad_id": {
|
|
"allow_null": false,
|
|
"auto_increment": true,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 20,
|
|
"name": "ad_id",
|
|
"type": "BIGINT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_location": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "Stores the location for the advertisement to display",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 255,
|
|
"name": "ad_location",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_html": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "ad_html",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_images": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "Stores a JSON array of images to use for this ad (small, medium and large)",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "ad_images",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_link": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "Link used by image advertisements",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "ad_link",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_impressions": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "The number of impressions for this ad, only tracked with image ads",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 20,
|
|
"name": "ad_impressions",
|
|
"type": "BIGINT",
|
|
"unsigned": true,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_clicks": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "The number of clicks for this ad, only tracked with image ads",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 11,
|
|
"name": "ad_clicks",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_exempt": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "JSON array of group IDs exempt from this ad",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "ad_exempt",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_active": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 4,
|
|
"name": "ad_active",
|
|
"type": "TINYINT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_html_https": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "Optional HTTPS version of ad",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "ad_html_https",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_start": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "Starting timestamp for this ad",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 11,
|
|
"name": "ad_start",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_end": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "Ending timestamp for this ad",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 11,
|
|
"name": "ad_end",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_maximum_value": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "Maximum number of clicks or impressions allowed (for image ads only)",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 11,
|
|
"name": "ad_maximum_value",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_maximum_unit": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "Type of maximum value (for image ads only)",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 1,
|
|
"name": "ad_maximum_unit",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_additional_settings": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "JSON array of additional settings",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 0,
|
|
"name": "ad_additional_settings",
|
|
"type": "TEXT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_html_https_set": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "This column flags if https was \"set\", even if ad_html_https is empty",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 1,
|
|
"name": "ad_html_https_set",
|
|
"type": "TINYINT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"ad_member": {
|
|
"name": "ad_member",
|
|
"type": "MEDIUMINT",
|
|
"length": 8,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "If created by Nexus, the customer ID",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"ad_id"
|
|
]
|
|
},
|
|
"ad_show": {
|
|
"type": "key",
|
|
"name": "ad_show",
|
|
"length": [
|
|
null,
|
|
null,
|
|
null
|
|
],
|
|
"columns": [
|
|
"ad_active",
|
|
"ad_start",
|
|
"ad_end"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"176": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"pfields_data",
|
|
"core_pfields_data"
|
|
]
|
|
},
|
|
"177": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"pfields_content",
|
|
"core_pfields_content"
|
|
]
|
|
},
|
|
"178": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"pfields_groups",
|
|
"core_pfields_groups"
|
|
]
|
|
},
|
|
"179": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_pfields_groups",
|
|
{
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 4,
|
|
"name": "pf_group_order",
|
|
"type": "MEDIUMINT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
]
|
|
},
|
|
"180": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_pfields_data",
|
|
"pf_topic_format",
|
|
{
|
|
"name": "pf_format",
|
|
"type": "TEXT",
|
|
"length": 0,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"181": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_pfields_data",
|
|
"pf_content",
|
|
{
|
|
"name": "pf_content",
|
|
"type": "TEXT",
|
|
"length": 0,
|
|
"decimals": null,
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"182": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_edit_history",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "BIGINT",
|
|
"length": "20",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": null,
|
|
"auto_increment": true,
|
|
"comment": "ID Number"
|
|
},
|
|
"class": {
|
|
"name": "class",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The comment class",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"comment_id": {
|
|
"name": "comment_id",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The comment ID",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"member": {
|
|
"name": "member",
|
|
"type": "MEDIUMINT",
|
|
"length": 8,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The ID number of the member making the edit",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"time": {
|
|
"name": "time",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "Unix timestamp of the date the edit was made",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"old": {
|
|
"name": "old",
|
|
"type": "MEDIUMTEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The previous comment text",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"new": {
|
|
"name": "new",
|
|
"type": "MEDIUMTEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The new comment text",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"public": {
|
|
"name": "public",
|
|
"type": "BIT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "1",
|
|
"comment": "Indicates if the log should display publicly",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"reason": {
|
|
"name": "reason",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "User-provided reason for editing",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"183": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_acp_search_index",
|
|
"columns": {
|
|
"url": {
|
|
"name": "url",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The query string",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"app": {
|
|
"name": "app",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The application key",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"lang_key": {
|
|
"name": "lang_key",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The language key to use for the result link",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"restriction": {
|
|
"name": "restriction",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "If applicable, the ACP restriction key that should be checked for this result",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"keyword": {
|
|
"name": "keyword",
|
|
"type": "VARCHAR",
|
|
"length": 250,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "The keyword",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"keyword": {
|
|
"type": "key",
|
|
"name": "keyword",
|
|
"columns": [
|
|
"keyword"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"184": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_ipsconnect_slaves",
|
|
"columns": {
|
|
"slave_id": {
|
|
"name": "slave_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
|
|
},
|
|
"slave_url": {
|
|
"name": "slave_url",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"slave_last_access": {
|
|
"name": "slave_last_access",
|
|
"type": "INT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"slave_key": {
|
|
"name": "slave_key",
|
|
"type": "VARCHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"slave_id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"185": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_widgets",
|
|
"columns": {
|
|
"id": {
|
|
"name": "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
|
|
},
|
|
"key": {
|
|
"name": "key",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "The widget key",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"app": {
|
|
"name": "app",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The application which owns the widget (if applicable)",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"plugin": {
|
|
"name": "plugin",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The plugin which owns the widget (if applicable)",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"class": {
|
|
"name": "class",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "What type of widget is this? e.g. \\IPS\\Widget\\StaticCache",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"caches": {
|
|
"name": "caches",
|
|
"type": "TEXT",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "JSON encoded array of cache keys to be referenced when deleting caches",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"restrict": {
|
|
"name": "restrict",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "JSON array of owner app restrictions (e.g. core restricts to sidebar only, content restricts to IP.Content only)",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"default_area": {
|
|
"name": "default_area",
|
|
"type": "VARCHAR",
|
|
"length": 80,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "sidebar",
|
|
"comment": "If no sidebar configuration is available for a page, all of the widgets for that app are loaded. This field determines which area on the page the default will show.",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"allow_reuse": {
|
|
"name": "allow_reuse",
|
|
"type": "TINYINT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "If 1, the widget can be re-used instead of having the block vanish from the manager's block list.",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"menu_style": {
|
|
"name": "menu_style",
|
|
"type": "SET",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [
|
|
"menu",
|
|
"modal"
|
|
],
|
|
"allow_null": false,
|
|
"default": "menu",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"embeddable": {
|
|
"name": "embeddable",
|
|
"type": "TINYINT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "Determines if Pages can embed this widget in a custom block.",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
},
|
|
"widget_key": {
|
|
"type": "unique",
|
|
"name": "widget_key",
|
|
"columns": [
|
|
"key"
|
|
],
|
|
"length": [
|
|
250
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"186": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_widget_areas",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "BIGINT",
|
|
"length": "20",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": null,
|
|
"auto_increment": true,
|
|
"comment": "ID Number"
|
|
},
|
|
"widgets": {
|
|
"name": "widgets",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"app": {
|
|
"name": "app",
|
|
"type": "VARCHAR",
|
|
"length": 80,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"module": {
|
|
"name": "module",
|
|
"type": "VARCHAR",
|
|
"length": 80,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"controller": {
|
|
"name": "controller",
|
|
"type": "VARCHAR",
|
|
"length": 80,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"area": {
|
|
"name": "area",
|
|
"type": "VARCHAR",
|
|
"length": 80,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "sidebar",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
},
|
|
"controller": {
|
|
"type": "unique",
|
|
"name": "controller",
|
|
"columns": [
|
|
"app",
|
|
"module",
|
|
"controller",
|
|
"area"
|
|
],
|
|
"length": [
|
|
null,
|
|
null,
|
|
null,
|
|
null
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"187": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_sessions",
|
|
{
|
|
"name": "current_id",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"188": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"reputation_index",
|
|
"core_reputation_index"
|
|
]
|
|
},
|
|
"189": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"core_like",
|
|
"core_follow"
|
|
]
|
|
},
|
|
"190": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_ipsconnect_queue",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "BIGINT",
|
|
"length": "20",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": null,
|
|
"auto_increment": true,
|
|
"comment": "ID Number"
|
|
},
|
|
"slave_id": {
|
|
"name": "slave_id",
|
|
"type": "BIGINT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"request_url": {
|
|
"name": "request_url",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"fail_count": {
|
|
"name": "fail_count",
|
|
"type": "BIGINT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
},
|
|
"slave_id": {
|
|
"type": "key",
|
|
"name": "slave_id",
|
|
"columns": [
|
|
"slave_id"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"191": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_share_links",
|
|
{
|
|
"name": "share_autoshare",
|
|
"type": "TINYINT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "Flag to denote whether to show this service as an auto share option when creating content.",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"192": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_share_links",
|
|
{
|
|
"name": "share_autoshare",
|
|
"type": "TINYINT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "Flag to denote whether to show this service as an auto share option when creating content.",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"193": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"polls",
|
|
"core_polls"
|
|
]
|
|
},
|
|
"194": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_theme_templates",
|
|
{
|
|
"name": "template_unique_key",
|
|
"type": "CHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Unique key to ensure duplicates are not stored",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"195": {
|
|
"method": "addIndex",
|
|
"params": [
|
|
"core_theme_templates",
|
|
{
|
|
"type": "unique",
|
|
"name": "template_unique_key",
|
|
"columns": [
|
|
"template_unique_key"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"196": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_theme_css",
|
|
{
|
|
"name": "css_unique_key",
|
|
"type": "CHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Unique key to prevent duplicate records",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"197": {
|
|
"method": "dropIndex",
|
|
"params": [
|
|
"core_theme_css",
|
|
"css_unique"
|
|
]
|
|
},
|
|
"198": {
|
|
"method": "addIndex",
|
|
"params": [
|
|
"core_theme_css",
|
|
{
|
|
"type": "unique",
|
|
"name": "css_unique_key",
|
|
"columns": [
|
|
"css_unique_key"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"199": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_groups",
|
|
{
|
|
"name": "g_post_polls",
|
|
"type": "TINYINT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Can create polls?",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"200": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_groups",
|
|
{
|
|
"name": "g_vote_polls",
|
|
"type": "TINYINT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "1",
|
|
"comment": "Can vote in polls?",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"201": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_groups",
|
|
"g_post_polls",
|
|
{
|
|
"name": "g_post_polls",
|
|
"type": "TINYINT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "1",
|
|
"comment": "Can create polls?",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"202": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_ratings",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "BIGINT",
|
|
"length": "20",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": null,
|
|
"auto_increment": true,
|
|
"comment": "ID Number"
|
|
},
|
|
"class": {
|
|
"name": "class",
|
|
"type": "VARCHAR",
|
|
"length": 100,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The content item classname",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"item_id": {
|
|
"name": "item_id",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The content item ID",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"member": {
|
|
"name": "member",
|
|
"type": "MEDIUMINT",
|
|
"length": 8,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The member ID",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"rating": {
|
|
"name": "rating",
|
|
"type": "TINYINT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The rating",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"ip": {
|
|
"name": "ip",
|
|
"type": "VARCHAR",
|
|
"length": 46,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "IP address",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
},
|
|
"member_lookup": {
|
|
"type": "unique",
|
|
"name": "member_lookup",
|
|
"columns": [
|
|
"class",
|
|
"item_id",
|
|
"member"
|
|
]
|
|
},
|
|
"lookup": {
|
|
"type": "key",
|
|
"name": "lookup",
|
|
"columns": [
|
|
"class",
|
|
"item_id"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"203": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_groups",
|
|
{
|
|
"name": "g_topic_rate_setting",
|
|
"type": "SMALLINT",
|
|
"length": 2,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"204": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_applications",
|
|
"app_directory",
|
|
{
|
|
"name": "app_directory",
|
|
"type": "VARCHAR",
|
|
"length": 250,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"205": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_banfilters",
|
|
"ban_content",
|
|
{
|
|
"name": "ban_content",
|
|
"type": "VARCHAR",
|
|
"length": 250,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"206": {
|
|
"method": "changeIndex",
|
|
"params": [
|
|
"core_seo_meta",
|
|
"url",
|
|
{
|
|
"type": "key",
|
|
"name": "url",
|
|
"columns": [
|
|
"meta_url"
|
|
],
|
|
"length": [
|
|
250
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"207": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_sys_lang_words",
|
|
"word_app",
|
|
{
|
|
"name": "word_app",
|
|
"type": "VARCHAR",
|
|
"length": 80,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "",
|
|
"comment": "The application key, if word belongs to an application",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"208": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_tags_perms",
|
|
"tag_perm_text",
|
|
{
|
|
"name": "tag_perm_text",
|
|
"type": "VARCHAR",
|
|
"length": 245,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"209": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_applications",
|
|
{
|
|
"name": "app_default",
|
|
"type": "TINYINT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "0",
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"210": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"member_status_updates",
|
|
"core_member_status_updates"
|
|
]
|
|
},
|
|
"211": {
|
|
"method": "renameTable",
|
|
"params": [
|
|
"member_status_replies",
|
|
"core_member_status_replies"
|
|
]
|
|
},
|
|
"212": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_member_status_replies",
|
|
{
|
|
"name": "reply_approved",
|
|
"type": "TINYINT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"213": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_member_status_replies",
|
|
{
|
|
"name": "reply_ip_address",
|
|
"type": "VARCHAR",
|
|
"length": 46,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"214": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_groups",
|
|
"g_can_add_friends"
|
|
]
|
|
},
|
|
"215": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_acronyms",
|
|
"a_semantic"
|
|
]
|
|
},
|
|
"216": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_sys_social_groups",
|
|
"columns": {
|
|
"group_id": {
|
|
"name": "group_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
|
|
},
|
|
"owner_id": {
|
|
"name": "owner_id",
|
|
"type": "MEDIUMINT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"group_id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
},
|
|
"owner_id": {
|
|
"type": "key",
|
|
"name": "owner_id",
|
|
"columns": [
|
|
"owner_id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"217": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_sys_social_group_members",
|
|
"columns": {
|
|
"group_id": {
|
|
"name": "group_id",
|
|
"type": "BIGINT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"member_id": {
|
|
"name": "member_id",
|
|
"type": "MEDIUMINT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"member_id": {
|
|
"type": "key",
|
|
"name": "member_id",
|
|
"columns": [
|
|
"member_id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
},
|
|
"group": {
|
|
"type": "key",
|
|
"name": "group",
|
|
"columns": [
|
|
"group_id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"218": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_leaders",
|
|
"columns": {
|
|
"leader_id": {
|
|
"allow_null": false,
|
|
"auto_increment": true,
|
|
"binary": false,
|
|
"comment": "Primary ID",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 20,
|
|
"name": "leader_id",
|
|
"type": "BIGINT",
|
|
"unsigned": true,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"leader_type": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "Record is for member (m) or group (g)",
|
|
"decimals": null,
|
|
"default": "m",
|
|
"length": 0,
|
|
"name": "leader_type",
|
|
"type": "ENUM",
|
|
"unsigned": false,
|
|
"values": [
|
|
"m",
|
|
"g"
|
|
],
|
|
"zerofill": false
|
|
},
|
|
"leader_type_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "Member or group ID",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 8,
|
|
"name": "leader_type_id",
|
|
"type": "MEDIUMINT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"leader_group_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "The group to display in (core_leaders_group.group_id)",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 8,
|
|
"name": "leader_group_id",
|
|
"type": "MEDIUMINT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"leader_position": {
|
|
"allow_null": true,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "Position",
|
|
"decimals": null,
|
|
"default": null,
|
|
"length": 20,
|
|
"name": "leader_position",
|
|
"type": "BIGINT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"leader_id"
|
|
]
|
|
},
|
|
"leader_type": {
|
|
"type": "unique",
|
|
"name": "leader_type",
|
|
"length": [
|
|
null,
|
|
null
|
|
],
|
|
"columns": [
|
|
"leader_type",
|
|
"leader_type_id"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"219": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_announcements",
|
|
{
|
|
"name": "announce_ids",
|
|
"type": "VARCHAR",
|
|
"length": 245,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"220": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_announcements",
|
|
{
|
|
"name": "announce_app",
|
|
"type": "VARCHAR",
|
|
"length": 45,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "*",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"221": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_announcements",
|
|
{
|
|
"name": "announce_location",
|
|
"type": "VARCHAR",
|
|
"length": 45,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "*",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"222": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_queue",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "BIGINT",
|
|
"length": "20",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"binary": false,
|
|
"allow_null": false,
|
|
"default": null,
|
|
"auto_increment": true,
|
|
"comment": "ID Number"
|
|
},
|
|
"data": {
|
|
"name": "data",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"offset": {
|
|
"name": "offset",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"date": {
|
|
"name": "date",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"app": {
|
|
"name": "app",
|
|
"type": "VARCHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"key": {
|
|
"name": "key",
|
|
"type": "VARCHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"223": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_sys_lang",
|
|
{
|
|
"name": "lang_order",
|
|
"type": "MEDIUMINT",
|
|
"length": 5,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"224": {
|
|
"method": "delete",
|
|
"params": [
|
|
"core_sys_lang"
|
|
]
|
|
},
|
|
"225": {
|
|
"method": "insert",
|
|
"params": [
|
|
"core_sys_lang",
|
|
{
|
|
"lang_id": 1,
|
|
"lang_short": "en_US",
|
|
"lang_title": "English (USA)",
|
|
"lang_default": 1,
|
|
"lang_isrtl": 0,
|
|
"lang_protected": 1,
|
|
"lang_order": 1
|
|
}
|
|
]
|
|
},
|
|
"227": {
|
|
"method": "addIndex",
|
|
"params": [
|
|
"core_sys_lang",
|
|
{
|
|
"type": "key",
|
|
"name": "lang_order",
|
|
"columns": [
|
|
"lang_order"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"228": {
|
|
"method": "addIndex",
|
|
"params": [
|
|
"core_applications",
|
|
{
|
|
"type": "key",
|
|
"name": "app_position",
|
|
"columns": [
|
|
"app_position"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"229": {
|
|
"method": "dropIndex",
|
|
"params": [
|
|
"core_members_warn_logs",
|
|
"wl_member"
|
|
]
|
|
},
|
|
"230": {
|
|
"method": "dropIndex",
|
|
"params": [
|
|
"core_members_warn_logs",
|
|
"wl_expire_date"
|
|
]
|
|
},
|
|
"231": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_reputation_index",
|
|
{
|
|
"name": "member_received",
|
|
"type": "MEDIUMINT",
|
|
"length": 8,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"232": {
|
|
"method": "addIndex",
|
|
"params": [
|
|
"core_reputation_index",
|
|
{
|
|
"type": "key",
|
|
"name": "member_received",
|
|
"columns": [
|
|
"member_received",
|
|
"rep_date"
|
|
],
|
|
"length": [
|
|
null,
|
|
null
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"233": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_themes",
|
|
{
|
|
"name": "set_css_map",
|
|
"type": "MEDIUMTEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"234": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_themes",
|
|
{
|
|
"name": "set_image_map",
|
|
"type": "MEDIUMTEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"235": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_item_markers",
|
|
[
|
|
"item_last_saved",
|
|
"item_unread_count",
|
|
"item_is_deleted",
|
|
"item_last_update"
|
|
]
|
|
]
|
|
},
|
|
"236": {
|
|
"method": "changeIndex",
|
|
"params": [
|
|
"core_item_markers",
|
|
"item_member_id",
|
|
{
|
|
"type": "key",
|
|
"name": "item_member_id",
|
|
"length": {
|
|
"1": null
|
|
},
|
|
"columns": {
|
|
"1": "item_member_id"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"237": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_reputation_index",
|
|
"rep_msg"
|
|
]
|
|
},
|
|
"238": {
|
|
"method": "addIndex",
|
|
"params": [
|
|
"core_applications",
|
|
{
|
|
"type": "key",
|
|
"name": "app_default",
|
|
"columns": [
|
|
"app_default"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"239": {
|
|
"method": "addIndex",
|
|
"params": [
|
|
"core_banfilters",
|
|
{
|
|
"type": "key",
|
|
"name": "ban_type",
|
|
"columns": [
|
|
"ban_type"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"240": {
|
|
"method": "dropColumn",
|
|
"params": [
|
|
"core_message_topics",
|
|
[
|
|
"mt_invited_members",
|
|
"mt_last_msg_id"
|
|
]
|
|
]
|
|
},
|
|
"241": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_search_index",
|
|
"columns": {
|
|
"index_class": {
|
|
"name": "index_class",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Content type class e.g. \\IPS\\forums\\Topic",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"index_id": {
|
|
"name": "index_id",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "Primary key",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": true,
|
|
"binary": false
|
|
},
|
|
"index_object_id": {
|
|
"name": "index_object_id",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "The ID of the object. pid for posts, tid for topics etc",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"index_item_id": {
|
|
"name": "index_item_id",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "For comments and reviews, the ID of the item it pertains to. For \\IPS\\Content\\Item this would just be NULL",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"index_container_id": {
|
|
"name": "index_container_id",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "The id of the container for items\/comments\/reviews",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"index_content": {
|
|
"name": "index_content",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The plain-text content to search",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"index_permissions": {
|
|
"name": "index_permissions",
|
|
"type": "VARCHAR",
|
|
"length": 45,
|
|
"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
|
|
},
|
|
"index_author": {
|
|
"name": "index_author",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "The object author id",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"index_title": {
|
|
"name": "index_title",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Content title",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"index_date_created": {
|
|
"name": "index_date_created",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "The object creation date",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"index_date_updated": {
|
|
"name": "index_date_updated",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Object last updated date",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"index_tags": {
|
|
"name": "index_tags",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "A comma-delimited list of tags",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"index_hidden": {
|
|
"name": "index_hidden",
|
|
"type": "TINYINT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "0 = visible, 1 = hidden (previously visible), -1 = unapproved",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"index_id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
},
|
|
"object": {
|
|
"type": "unique",
|
|
"name": "object",
|
|
"columns": [
|
|
"index_class",
|
|
"index_object_id"
|
|
],
|
|
"length": [
|
|
250,
|
|
null
|
|
]
|
|
},
|
|
"index_content": {
|
|
"type": "fulltext",
|
|
"name": "index_content",
|
|
"columns": [
|
|
"index_content",
|
|
"index_title"
|
|
],
|
|
"length": [
|
|
250,
|
|
250
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"242": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_sessions",
|
|
"id",
|
|
{
|
|
"name": "id",
|
|
"type": "VARCHAR",
|
|
"length": 64,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"243": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_sys_cp_sessions",
|
|
"session_id",
|
|
{
|
|
"name": "session_id",
|
|
"type": "VARCHAR",
|
|
"length": 64,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"244": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_sessions",
|
|
"location_data",
|
|
{
|
|
"name": "location_data",
|
|
"type": "VARCHAR",
|
|
"length": 1024,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"245": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_sessions",
|
|
"location_permissions",
|
|
{
|
|
"name": "location_permissions",
|
|
"type": "VARCHAR",
|
|
"length": 1024,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"246": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_plugin_hooks",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": true,
|
|
"binary": false
|
|
},
|
|
"plugin": {
|
|
"name": "plugin",
|
|
"type": "BIGINT",
|
|
"length": 20,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "Plugin ID",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"type": {
|
|
"name": "type",
|
|
"type": "CHAR",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "C for code, S for skin",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"class": {
|
|
"name": "class",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "The class the hook overrides",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"filename": {
|
|
"name": "filename",
|
|
"type": "VARCHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "The filename on disk",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"247": {
|
|
"method": "dropTable",
|
|
"params": [
|
|
"search_keywords",
|
|
true
|
|
]
|
|
},
|
|
"248": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_sys_cp_sessions",
|
|
"session_location",
|
|
{
|
|
"name": "session_location",
|
|
"type": "VARCHAR",
|
|
"length": 255,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"249": {
|
|
"method": "addIndex",
|
|
"params": [
|
|
"core_sys_lang_words",
|
|
{
|
|
"type": "unique",
|
|
"name": "word_key",
|
|
"columns": [
|
|
"word_key",
|
|
"word_app",
|
|
"lang_id",
|
|
"word_js"
|
|
],
|
|
"length": [
|
|
null,
|
|
null,
|
|
null,
|
|
null
|
|
]
|
|
},
|
|
true
|
|
]
|
|
},
|
|
"250": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_widget_trash",
|
|
"columns": {
|
|
"id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "Widgets unique ID",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 100,
|
|
"name": "id",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"data": {
|
|
"name": "data",
|
|
"type": "MEDIUMTEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"date": {
|
|
"name": "date",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": "0",
|
|
"comment": "Date trash was added",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"251": {
|
|
"method": "dropTable",
|
|
"params": [
|
|
"core_attachments_type",
|
|
true
|
|
]
|
|
},
|
|
"252": {
|
|
"method": "insert",
|
|
"params": [
|
|
"core_widget_areas",
|
|
{
|
|
"id": 1,
|
|
"app": "core",
|
|
"module": "system",
|
|
"controller": "register",
|
|
"widgets": "[]",
|
|
"area": "header"
|
|
}
|
|
]
|
|
},
|
|
"253": {
|
|
"method": "insert",
|
|
"params": [
|
|
"core_widget_areas",
|
|
{
|
|
"id": 2,
|
|
"app": "core",
|
|
"module": "system",
|
|
"controller": "register",
|
|
"widgets": "[]",
|
|
"area": "footer"
|
|
}
|
|
]
|
|
},
|
|
"254": {
|
|
"method": "update",
|
|
"params": [
|
|
"core_member_status_replies",
|
|
{
|
|
"reply_approved": 1
|
|
}
|
|
]
|
|
},
|
|
"255": {
|
|
"method": "update",
|
|
"params": [
|
|
"core_seo_meta",
|
|
"meta_tags=concat('{\"keywords\":\"',meta_tags,'\"}')"
|
|
]
|
|
}
|
|
} |