Split into multiple changelogs

This commit is contained in:
P0nk
2025-07-07 19:24:44 +02:00
parent e2ac5e448b
commit 97ed3d2da5
43 changed files with 179 additions and 151 deletions

View File

@@ -0,0 +1,17 @@
CREATE TABLE monsterbook
(
charid INT NOT NULL,
cardid INT NOT NULL,
level INT NOT NULL DEFAULT '1',
PRIMARY KEY (charid, cardid),
FOREIGN KEY (charid) REFERENCES characters (id) ON UPDATE CASCADE ON DELETE CASCADE
);
CREATE TABLE monstercarddata
(
id INT NOT NULL AUTO_INCREMENT,
cardid INT NOT NULL DEFAULT '0',
mobid INT NOT NULL DEFAULT '0',
PRIMARY KEY (id) USING BTREE,
UNIQUE KEY id (id)
);