Add mts changeset

This commit is contained in:
P0nk
2025-07-01 07:58:09 +02:00
parent c28182c5a2
commit 8f7068c55b
2 changed files with 56 additions and 0 deletions

View File

@@ -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)
);

View File

@@ -77,4 +77,8 @@
<sqlFile path="db/018-transfer.sql"/>
</changeSet>
<changeSet id="19" author="Ponk">
<sqlFile path="db/019-mts.sql"/>
</changeSet>
</databaseChangeLog>