Add storage changeset
This commit is contained in:
19
src/main/resources/db/010-storage.sql
Normal file
19
src/main/resources/db/010-storage.sql
Normal 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)
|
||||
);
|
||||
@@ -41,4 +41,8 @@
|
||||
<sqlFile path="db/009-drops.sql"/>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="10" author="Ponk">
|
||||
<sqlFile path="db/010-storage.sql"/>
|
||||
</changeSet>
|
||||
|
||||
</databaseChangeLog>
|
||||
Reference in New Issue
Block a user