View file IPS Community Suite 4.7.8 NULLED/applications/blog/setup/install/queries.json

File size: 2.29Kb
{
    "1": {
        "method": "addColumn",
        "params": [
            "core_groups",
            {
                "name": "g_blog_allowlocal",
                "type": "TINYINT",
                "length": 1,
                "null": false,
                "default": 0,
                "comment": "Can create blogs?",
                "unsigned": true
            }
        ]
    },
    "2": {
        "method": "addColumn",
        "params": [
            "core_groups",
            {
                "name": "g_blog_maxblogs",
                "type": "INT",
                "length": 10,
                "null": false,
                "default": 0,
                "comment": "Maximum number of blogs",
                "unsigned": true
            }
        ]
    },
    "3": {
        "method": "addColumn",
        "params": [
            "core_groups",
            {
                "name": "g_blog_allowprivate",
                "type": "TINYINT",
                "length": 1,
                "null": false,
                "default": 0,
                "comment": "Can create private blogs?",
                "unsigned": true
            }
        ]
    },
    "4": {
        "method": "addColumn",
        "params": [
            "core_groups",
            {
                "name": "g_blog_allowownmod",
                "type": "TINYINT",
                "length": 1,
                "null": false,
                "default": 0,
                "comment": "Can moderate own blogs?",
                "unsigned": true
            }
        ]
    },
    "5": {
        "method": "addColumn",
        "params": [
            "core_groups",
            {
                "name": "g_blog_allowdelete",
                "type": "TINYINT",
                "length": 1,
                "null": false,
                "default": 0,
                "comment": "Can delete own blogs?",
                "unsigned": true
            }
        ]
    },
    "6": {
        "method": "addColumn",
        "params": [
            "core_groups",
            {
                "name": "g_blog_allowcomment",
                "type": "TINYINT",
                "length": 1,
                "null": false,
                "default": 0,
                "comment": "Can comment on blogs?",
                "unsigned": true
            }
        ]
    }
}