diff --git a/src/main/resources/db/008-keymap.sql b/src/main/resources/db/008-keymap.sql new file mode 100644 index 0000000000..ecb2503847 --- /dev/null +++ b/src/main/resources/db/008-keymap.sql @@ -0,0 +1,17 @@ +CREATE TABLE lb_keymap +( + id INT NOT NULL AUTO_INCREMENT, + characterid INT NOT NULL DEFAULT '0', + `key` INT NOT NULL DEFAULT '0', + type INT NOT NULL DEFAULT '0', + action INT NOT NULL DEFAULT '0', + PRIMARY KEY (id) +); + +CREATE TABLE lb_quickslotkeymapped +( + accountid INT NOT NULL, + keymap BIGINT NOT NULL DEFAULT 0, + PRIMARY KEY (accountid), + CONSTRAINT lb_quickslotkeymapped_accountid_fk FOREIGN KEY (accountid) REFERENCES lb_accounts (id) ON DELETE CASCADE +); \ No newline at end of file diff --git a/src/main/resources/db/changelog.xml b/src/main/resources/db/changelog.xml index f104980445..767e073fab 100644 --- a/src/main/resources/db/changelog.xml +++ b/src/main/resources/db/changelog.xml @@ -33,4 +33,8 @@ + + + + \ No newline at end of file