Add quest changeset

This commit is contained in:
P0nk
2025-06-27 09:25:06 +02:00
parent be1ba7229c
commit 203f4bf34f
2 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
CREATE TABLE lb_questactions
(
questactionid INT UNSIGNED NOT NULL AUTO_INCREMENT,
questid INT NOT NULL DEFAULT '0',
status INT NOT NULL DEFAULT '0',
data BLOB NOT NULL,
PRIMARY KEY (questactionid)
);
CREATE TABLE lb_questprogress
(
id INT UNSIGNED NOT NULL AUTO_INCREMENT,
characterid INT NOT NULL,
queststatusid INT UNSIGNED NOT NULL DEFAULT '0',
progressid INT NOT NULL DEFAULT '0',
progress VARCHAR(15) CHARACTER SET latin1 COLLATE latin1_german1_ci NOT NULL DEFAULT '',
PRIMARY KEY (id)
);
CREATE TABLE lb_questrequirements
(
questrequirementid INT UNSIGNED NOT NULL AUTO_INCREMENT,
questid INT NOT NULL DEFAULT '0',
status INT NOT NULL DEFAULT '0',
data BLOB NOT NULL,
PRIMARY KEY (questrequirementid)
);
CREATE TABLE lb_queststatus
(
queststatusid INT UNSIGNED NOT NULL AUTO_INCREMENT,
characterid INT NOT NULL DEFAULT '0',
quest INT NOT NULL DEFAULT '0',
status INT NOT NULL DEFAULT '0',
time INT NOT NULL DEFAULT '0',
expires BIGINT NOT NULL DEFAULT '0',
forfeited INT NOT NULL DEFAULT '0',
completed INT NOT NULL DEFAULT '0',
info TINYINT NOT NULL DEFAULT '0',
PRIMARY KEY (queststatusid)
);

View File

@@ -25,4 +25,8 @@
<sqlFile path="db/005-pet.sql"/>
</changeSet>
<changeSet id="6" author="Ponk">
<sqlFile path="db/006-quest.sql"/>
</changeSet>
</databaseChangeLog>