DROP TABLE payback;

CREATE TABLE payback (

id integer NOT NULL,

server_id text DEFAULT ''::text,

group_id integer,

group_name integer DEFAULT 0,

group_banner_index integer DEFAULT 0,

type integer NOT NULL,

item_id integer DEFAULT 0,

iap_id text DEFAULT '',

item_num integer NOT NULL,

money_unit integer NOT NULL,

point_tw integer NOT NULL,

point_us integer NOT NULL,

point_jp integer NOT NULL,

num_limit integer DEFAULT 0,

level_limit integer NOT NULL,

gender integer DEFAULT 0,

not_sell_time integer DEFAULT 0,

back_item_id integer NOT NULL,

back_item_num integer NOT NULL,

back_due_time integer NOT NULL,

back_end_date bigint NOT NULL,

display_model text DEFAULT '',

model_scale float NOT NULL,

model_high float NOT NULL,

note text DEFAULT ''

);

REVOKE ALL on payback from PUBLIC;

GRANT ALL on payback to postgres;

GRANT ALL on payback to spiritking;

INSERT INTO payback VALUES (1,'-1',1,1,1,1,40241,'',1,1,99,99,99,1,0,-1,0,55181,3,1,202409110600,'3 40241',0,0,'');
INSERT INTO payback VALUES (2,'-1',1,1,1,1,42336,'',1,1,199,199,199,1,0,-1,0,42334,1,2,202409110600,'6 42336',0,0,'');
INSERT INTO payback VALUES (3,'-1',1,1,1,1,53123,'',1,1,499,499,499,1,0,-1,0,40233,1,3,202409110600,'2 462010',0,0,'');
