Add cash shop changeset

This commit is contained in:
P0nk
2025-06-30 22:09:59 +02:00
parent 307cb71023
commit 503c76ed34
2 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
CREATE TABLE lb_wishlists
(
id INT NOT NULL AUTO_INCREMENT,
charid INT NOT NULL,
sn INT NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE lb_specialcashitems
(
id INT NOT NULL,
sn INT NOT NULL,
modifier INT NOT NULL COMMENT '1024 is add/remove',
info INT NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE lb_nxcode
(
id INT NOT NULL AUTO_INCREMENT,
code VARCHAR(17) NOT NULL UNIQUE,
retriever VARCHAR(13) DEFAULT NULL,
expiration BIGINT UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (id)
);
CREATE TABLE lb_nxcode_items
(
id INT NOT NULL AUTO_INCREMENT,
codeid INT NOT NULL,
type INT NOT NULL DEFAULT '5',
item INT NOT NULL DEFAULT '4000000',
quantity INT NOT NULL DEFAULT '1',
PRIMARY KEY (id)
);
CREATE TABLE lb_nxcoupons
(
id INT NOT NULL AUTO_INCREMENT,
couponid INT NOT NULL DEFAULT '0',
rate INT NOT NULL DEFAULT '0',
activeday INT NOT NULL DEFAULT '0',
starthour INT NOT NULL DEFAULT '0',
endhour INT NOT NULL DEFAULT '0',
PRIMARY KEY (id)
)

View File

@@ -53,4 +53,8 @@
<sqlFile path="db/012-character-state.sql"/>
</changeSet>
<changeSet id="13" author="Ponk">
<sqlFile path="db/013-cash-shop.sql"/>
</changeSet>
</databaseChangeLog>