{
    "global.events": {
        "type": 0,
        "object": {}
    },
    "global.runtimes": {
        "type": 0,
        "object": {}
    },
    "global.storages": {
        "type": 0,
        "object": {}
    },
    "global.loadrules": {
        "type": 0,
        "object": {
            "userinfo": {
                "device-type": "pc_server",
                "device-ability": [
                    "wlan-interface"
                ],
                "device-group": "",
                "runtime-group": ""
            }
        }
    },
    "global.log": {
        "type": 0,
        "object": {
            "host": ""
        }
    },
    "global.mysql.instances": {
        "type": 0,
        "object": {
            "user_exp_1": {
                "schema": "user_exp_schema"
            },
            "datablock":{
				"schema":"datablock"
			}
        }
    },
    "global.mysql.schemas": {
        "type": 0,
        "object": {
            "user_exp_schema": {
                "onCreate": [
                    "CREATE TABLE IF NOT EXISTS `users` (`username` VARCHAR( 100 ) NOT NULL ,`password` VARCHAR( 100 ) NOT NULL, UNIQUE KEY (username, password)) ENGINE=InnoDB DEFAULT CHARSET=utf8;"
                ]
            },
            "datablock":{
				"onCreate":[
					"CREATE TABLE IF NOT EXISTS `DataBlock`(`hash` VARCHAR(64) NOT NULL PRIMARY KEY,`file_id` INT NOT NULL,`create_time` BIGINT UNSIGNED NOT NULL,`time_to_live` BIGINT UNSIGNED NOT NULL,`length` BIGINT UNSIGNED NOT NULL,`range_count` INT NOT NULL)ENGINE=InnoDB DEFAULT CHARSET=utf8;",
					"CREATE TABLE IF NOT EXISTS `DataRange`(`hash` VARCHAR(64) NOT NULL PRIMARY KEY,`seq` INT NOT NULL,`file_id` INT NOT NULL,`pos` BIGINT UNSIGNED NOT NULL,`length` BIGINT UNSIGNED NOT NULL)ENGINE=InnoDB DEFAULT CHARSET=utf8;",
					"CREATE TABLE IF NOT EXISTS `File`(`file_id` INT NOT NULL PRIMARY KEY,`path` VARCHAR(256) NOT NULL,`hash` VARCHAR(64) NOT NULL,`create_time` BIGINT UNSIGNED NOT NULL,`last_scan_time` BIGINT UNSIGNED NOT NULL,`flag` INT NOT NULL)ENGINE=InnoDB DEFAULT CHARSET=utf8;",
					"INSERT INTO DataBlock (hash,file_id,create_time,tome_to_live,length,range_count) VALUES ('test',1,0,1000,10)"
				]
			}
        }
    },
    "global.mysql.configs": {
        "type": 0,
        "object": {}
    }

    
}
