Add storage changeset

This commit is contained in:
P0nk
2025-06-27 10:25:01 +02:00
parent 33e5ea5bdf
commit ddfac919cb
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
CREATE TABLE lb_storages
(
storageid INT UNSIGNED NOT NULL AUTO_INCREMENT,
accountid INT NOT NULL DEFAULT '0',
world INT NOT NULL,
slots INT NOT NULL DEFAULT '0',
meso INT NOT NULL DEFAULT '0',
PRIMARY KEY (storageid)
);
CREATE TABLE lb_fredstorage
(
id INT UNSIGNED NOT NULL AUTO_INCREMENT,
cid INT UNSIGNED NOT NULL,
daynotes INT UNSIGNED NOT NULL,
timestamp TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE KEY cid_2 (cid),
PRIMARY KEY (id)
);

View File

@@ -41,4 +41,8 @@
<sqlFile path="db/009-drops.sql"/>
</changeSet>
<changeSet id="10" author="Ponk">
<sqlFile path="db/010-storage.sql"/>
</changeSet>
</databaseChangeLog>