From 0e1de62ca3ed600bdcd88735f7f1594f260a6445 Mon Sep 17 00:00:00 2001 From: hecht Date: Tue, 21 Jul 2015 18:46:37 +0000 Subject: [PATCH] added database changes --- db/animegame_svn.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/db/animegame_svn.sql b/db/animegame_svn.sql index 0a5cd51..c1e3c05 100644 --- a/db/animegame_svn.sql +++ b/db/animegame_svn.sql @@ -1338,6 +1338,7 @@ CREATE TABLE `quests` ( `hp` int(11) NOT NULL, `mp` int(11) NOT NULL, `ortid` int(11) DEFAULT '13', + `std` INT NOT NULL DEFAULT 0, PRIMARY KEY (`charid`), KEY `fk_quests_ortid` (`ortid`), CONSTRAINT `fk_quests_charid` FOREIGN KEY (`charid`) REFERENCES `chars` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, @@ -1345,6 +1346,21 @@ CREATE TABLE `quests` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; +CREATE TABLE `test_ag`.`quest_stats` ( + `monster` INT NOT NULL, + `zeit` INT NOT NULL, + `anzahl` INT NOT NULL DEFAULT 1, + `status` TINYINT NOT NULL, + PRIMARY KEY (`monster`, `zeit`, `status`)); + + +CREATE TABLE `test_ag`.`quest_item_stats` ( + `id` INT NOT NULL, + `monster` INT NOT NULL, + `anzahl` INT NOT NULL DEFAULT 1, + PRIMARY KEY (`id`, `monster`)); + + -- -- Table structure for table `rassen` --