{ "1": { "method": "addColumn", "params": [ "gallery_albums", { "name": "album_submit_type", "type": "INT", "length": 10, "decimals": null, "values": null, "allow_null": false, "default": "0", "comment": "Submission type. 0=owner only, 1=anyone, 2=specific groups, 3=specific members, 4=club", "unsigned": false, "zerofill": false, "auto_increment": false, "binary": false } ] }, "2": { "method": "addColumn", "params": [ "gallery_albums", { "name": "album_submit_access", "type": "TEXT", "length": null, "decimals": null, "values": null, "allow_null": true, "default": null, "comment": "", "unsigned": false, "zerofill": false, "auto_increment": false, "binary": false } ] }, "3": { "method": "addColumn", "params": [ "gallery_album_reviews", { "name": "review_author_response", "type": "MEDIUMTEXT", "length": null, "decimals": null, "values": null, "allow_null": true, "default": null, "comment": "", "unsigned": false, "zerofill": false, "auto_increment": false, "binary": false } ] }, "4": { "method": "addColumn", "params": [ "gallery_images_uploads", { "name": "upload_order", "type": "INT", "length": 10, "decimals": null, "values": null, "allow_null": true, "default": null, "comment": "", "unsigned": true, "zerofill": false, "auto_increment": false, "binary": false } ] }, "5": { "method": "addColumn", "params": [ "gallery_reviews", { "name": "review_author_response", "type": "MEDIUMTEXT", "length": null, "decimals": null, "values": null, "allow_null": true, "default": null, "comment": "", "unsigned": false, "zerofill": false, "auto_increment": false, "binary": false } ] }, "6": { "method": "changeIndex", "params": [ "gallery_images_uploads", "upload_session", { "type": "key", "name": "upload_session", "columns": [ "upload_session", "upload_order" ], "length": [ null, null ] } ] }, "7": { "method": "addColumn", "params": [ "gallery_categories", { "name": "category_sort_options_img", "type": "VARCHAR", "length": 255, "decimals": null, "values": null, "allow_null": true, "default": null, "comment": "", "unsigned": false, "zerofill": false, "auto_increment": false, "binary": false } ] }, "8": { "method": "addIndex", "params": [ "gallery_album_reviews", { "type": "key", "name": "review_album_id", "columns": [ "review_album_id" ], "length": [ null ] } ] }, "9": { "method": "addIndex", "params": [ "gallery_reviews", { "type": "key", "name": "review_image", "columns": [ "review_image_id", "review_approved" ], "length": [ null, null ] } ] } }