mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
Artifacts fixing part 1
+Added a new table in the database, called "artefacts_chrono" which stores the chronology of all artifacts +Added the support for the artifacts chronology in 27_show.tpl +Added the support for interacting with the artifacts chronology table in Database.php +Cleaned the code in 27_show.tpl +Some minor improovements and bug fixing
This commit is contained in:
@@ -212,6 +212,25 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%artefacts` (
|
||||
--
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for `%PREFIX%artefacts_chrono`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `%PREFIX%artefacts_chrono` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`artefactid` int(11) NULL,
|
||||
`uid` int(11) NULL,
|
||||
`vref` int(11) NULL,
|
||||
`conqueredtime` int(11) NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `artefactid-conqueredtime` (`artefactid`,`conqueredtime`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
|
||||
|
||||
--
|
||||
-- Table structure for table `%PREFIX%artefacts_chrono`
|
||||
--
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `%PREFIX%alidata`
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user