DROP TABLE IF EXISTS item_details_marketplace;
CREATE TABLE item_details_marketplace (
	id                   INTEGER PRIMARY KEY,
	marketplace_item_id  INTEGER NOT NULL DEFAULT 0,
	item_id              INTEGER NOT NULL DEFAULT 0,
	item_icon            INTEGER NOT NULL DEFAULT 0,
	UNIQUE(marketplace_item_id, item_id),
	FOREIGN KEY (marketplace_item_id) REFERENCES items(id) ON UPDATE CASCADE
);

INSERT INTO item_details_marketplace VALUES
(1,20000,730880832,4046),
(2,20000,-1668431471,3943),
(3,20000,1166897608,3853),
(4,20000,1510514381,4024),
(5,20000,-419760943,3859),
(6,20000,1718030559,2247),
(7,20000,1497518716,3172),
(8,20000,2082670967,3088),
(9,20000,1425614046,3851),
(10,20000,379866960,2994),
(11,20000,-1664171850,3172),
(12,20000,485028761,3549),
(13,20000,-1476230455,4019),
(14,20000,1331855102,3850),
(15,20000,1208090260,2246),
(16,20000,1386660328,4023),
(17,20000,-1545231618,3172),
(18,20000,-1635330295,4024),
(19,20000,-897246596,3848),
(20,20000,-1290346163,4023),
(21,20000,1942650400,2698),
(22,20000,-541309346,3550),
(23,20000,-1734708506,3929),
(24,20000,956759499,3059),
(25,20000,-1609585551,3059),
(26,20000,-687301401,3059),
(27,20000,785032794,2708),
(28,20000,-286370727,2247),
(29,20000,55459849,3172),
(30,20000,-1953425035,2247),
(31,20000,-2018989466,3862);
