From 8f7068c55b74cfdc9fceef999d2b5047eb5d7834 Mon Sep 17 00:00:00 2001 From: P0nk Date: Tue, 1 Jul 2025 07:58:09 +0200 Subject: [PATCH] Add mts changeset --- src/main/resources/db/019-mts.sql | 52 +++++++++++++++++++++++++++++ src/main/resources/db/changelog.xml | 4 +++ 2 files changed, 56 insertions(+) create mode 100644 src/main/resources/db/019-mts.sql diff --git a/src/main/resources/db/019-mts.sql b/src/main/resources/db/019-mts.sql new file mode 100644 index 0000000000..f6339f2018 --- /dev/null +++ b/src/main/resources/db/019-mts.sql @@ -0,0 +1,52 @@ +CREATE TABLE lb_mts_cart +( + id INT NOT NULL AUTO_INCREMENT, + cid INT NOT NULL, + itemid INT NOT NULL, + PRIMARY KEY (id) +); + +CREATE TABLE lb_mts_items +( + id INT UNSIGNED NOT NULL AUTO_INCREMENT, + tab INT NOT NULL DEFAULT '0', + type INT NOT NULL DEFAULT '0', + itemid INT UNSIGNED NOT NULL DEFAULT '0', + quantity INT NOT NULL DEFAULT '1', + seller INT NOT NULL DEFAULT '0', + price INT NOT NULL DEFAULT '0', + bid_incre INT DEFAULT '0', + buy_now INT DEFAULT '0', + position INT DEFAULT '0', + upgradeslots INT DEFAULT '0', + level INT DEFAULT '0', + itemlevel INT NOT NULL DEFAULT '1', + itemexp INT UNSIGNED NOT NULL DEFAULT '0', + ringid INT NOT NULL DEFAULT '-1', + str INT DEFAULT '0', + dex INT DEFAULT '0', + `int` INT DEFAULT '0', + luk INT DEFAULT '0', + hp INT DEFAULT '0', + mp INT DEFAULT '0', + watk INT DEFAULT '0', + matk INT DEFAULT '0', + wdef INT DEFAULT '0', + mdef INT DEFAULT '0', + acc INT DEFAULT '0', + avoid INT DEFAULT '0', + hands INT DEFAULT '0', + speed INT DEFAULT '0', + jump INT DEFAULT '0', + locked INT DEFAULT '0', + isequip INT DEFAULT '0', + owner VARCHAR(16) DEFAULT '', + sellername VARCHAR(16) NOT NULL, + sell_ends VARCHAR(16) NOT NULL, + transfer INT DEFAULT '0', + vicious INT UNSIGNED NOT NULL DEFAULT '0', + flag INT UNSIGNED NOT NULL DEFAULT '0', + expiration BIGINT NOT NULL DEFAULT '-1', + giftFrom VARCHAR(26) NOT NULL, + PRIMARY KEY (id) +); \ No newline at end of file diff --git a/src/main/resources/db/changelog.xml b/src/main/resources/db/changelog.xml index bf7ba28792..8aa0aa2588 100644 --- a/src/main/resources/db/changelog.xml +++ b/src/main/resources/db/changelog.xml @@ -77,4 +77,8 @@ + + + + \ No newline at end of file