diff --git a/src/main/resources/db/010-storage.sql b/src/main/resources/db/010-storage.sql new file mode 100644 index 0000000000..8c271e359b --- /dev/null +++ b/src/main/resources/db/010-storage.sql @@ -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) +); \ No newline at end of file diff --git a/src/main/resources/db/changelog.xml b/src/main/resources/db/changelog.xml index f8f5e8d9ea..f78175518e 100644 --- a/src/main/resources/db/changelog.xml +++ b/src/main/resources/db/changelog.xml @@ -41,4 +41,8 @@ + + + + \ No newline at end of file