Add cash shop changeset
This commit is contained in:
46
src/main/resources/db/013-cash-shop.sql
Normal file
46
src/main/resources/db/013-cash-shop.sql
Normal 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)
|
||||
)
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user