/**
scope(file)
timeout(3m)
**/
;

create class if not exists /test() with namespace="test"
;
	
create class if not exists /test/bucketpromdb (
    
    host varchar,
    
    prom  bucket {
                "type"  :  "promdb",
                "ttl"   :   7,
                "dict"	 :	 true,
                "version":	1,
                "slot"	 :   5
            } 'prom',
            
    pprom  bucket {
                "type"  :  "promdb",
                "ttl"   :   7,
                "dict"	 :	 true,
                "version":	1,
                "slot"	 :   5
            } 'pprom',

    keys(host),
    indexes(host)

) with key=manu, nickname='bucketpromdb'
;

create class if not exists /test/bucketpromdb/subpromdb () with nickname ='subpromdb' ;

create class if not exists /test/bucketpromdb/subpromdb2 () with nickname ='subpromdb2' ;
