DROP TABLE sky_fortune_bag;

CREATE TABLE sky_fortune_bag (

id integer NOT NULL,

sequence smallint NOT NULL,

set smallint NOT NULL,

item_id integer NOT NULL,

item_num integer NOT NULL,

probability integer NOT NULL,

item_consume integer NOT NULL,

reward_level integer NOT NULL,

bulletin smallint NOT NULL,

open_times integer NOT NULL,

note text DEFAULT ''

);

REVOKE ALL on sky_fortune_bag from PUBLIC;

GRANT ALL on sky_fortune_bag to postgres;

GRANT ALL on sky_fortune_bag to spiritking;



INSERT INTO sky_fortune_bag VALUES (55530,1,1,55162,1,1,1,1,1,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,2,1,55163,1,10,2,1,1,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,3,1,55164,1,10,3,1,1,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,4,1,55165,1,100,4,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,5,1,55166,1,100,5,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,6,1,55167,1,100,6,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,7,1,55168,1,100,7,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,8,1,55169,1,100,8,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,9,1,55170,1,100,9,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,10,1,55171,1,100,10,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,11,1,55172,1,100,11,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,12,1,55173,1,100,12,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,1,98,55315,1,100,1,3,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,2,98,55316,1,100,1,6,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,3,98,55317,1,100,1,9,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,4,98,55318,1,100,1,12,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55530,1,99,55233,1,100,1,1,0,999,'');
INSERT INTO sky_fortune_bag VALUES (55532,1,1,55069,1,1,1,1,1,1,'');
INSERT INTO sky_fortune_bag VALUES (55532,2,1,55070,1,10,2,1,1,1,'');
INSERT INTO sky_fortune_bag VALUES (55532,3,1,55071,1,10,3,1,1,1,'');
INSERT INTO sky_fortune_bag VALUES (55532,4,1,55072,1,100,4,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55532,5,1,55073,1,100,5,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55532,6,1,55074,1,100,6,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55532,7,1,55075,1,100,7,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55532,8,1,55076,1,100,8,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55532,9,1,55077,1,100,9,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55532,10,1,55078,1,100,10,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55532,11,1,55079,1,100,11,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55532,12,1,55080,1,100,12,1,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55532,1,98,55083,1,100,1,3,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55532,2,98,55084,1,100,1,6,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55532,3,98,55085,1,100,1,9,0,1,'');
INSERT INTO sky_fortune_bag VALUES (55532,4,98,55086,1,100,1,12,0,1,'');
