mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-16 08:11:00 +00:00
fix db
This commit is contained in:
+55
-55
@@ -189,10 +189,10 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%artefacts` (
|
|||||||
`effect` varchar(100) NULL,
|
`effect` varchar(100) NULL,
|
||||||
`img` varchar(20) NULL,
|
`img` varchar(20) NULL,
|
||||||
`active` tinyint(1) NULL,
|
`active` tinyint(1) NULL,
|
||||||
`kind` tinyint(1) NULL,
|
`kind` tinyint(1) NULL DEFAULT '0',
|
||||||
`bad_effect` tinyint(1) NULL,
|
`bad_effect` tinyint(1) NULL DEFAULT '0',
|
||||||
`effect2` tinyint(2) NULL,
|
`effect2` tinyint(2) NULL DEFAULT '0',
|
||||||
`lastupdate` int(11) NULL,
|
`lastupdate` int(11) NULL DEFAULT '0',
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=MYISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
|
) ENGINE=MYISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
|
||||||
|
|
||||||
@@ -1459,51 +1459,51 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%users` (
|
|||||||
`oldrank` bigint(255) NULL DEFAULT '0',
|
`oldrank` bigint(255) NULL DEFAULT '0',
|
||||||
`regtime` int(11) NULL DEFAULT '0',
|
`regtime` int(11) NULL DEFAULT '0',
|
||||||
`invited` int(11) NULL DEFAULT '0',
|
`invited` int(11) NULL DEFAULT '0',
|
||||||
`friend0` int(11) NULL,
|
`friend0` int(11) NULL DEFAULT '0',
|
||||||
`friend1` int(11) NULL,
|
`friend1` int(11) NULL DEFAULT '0',
|
||||||
`friend2` int(11) NULL,
|
`friend2` int(11) NULL DEFAULT '0',
|
||||||
`friend3` int(11) NULL,
|
`friend3` int(11) NULL DEFAULT '0',
|
||||||
`friend4` int(11) NULL,
|
`friend4` int(11) NULL DEFAULT '0',
|
||||||
`friend5` int(11) NULL,
|
`friend5` int(11) NULL DEFAULT '0',
|
||||||
`friend6` int(11) NULL,
|
`friend6` int(11) NULL DEFAULT '0',
|
||||||
`friend7` int(11) NULL,
|
`friend7` int(11) NULL DEFAULT '0',
|
||||||
`friend8` int(11) NULL,
|
`friend8` int(11) NULL DEFAULT '0',
|
||||||
`friend9` int(11) NULL,
|
`friend9` int(11) NULL DEFAULT '0',
|
||||||
`friend10` int(11) NULL,
|
`friend10` int(11) NULL DEFAULT '0',
|
||||||
`friend11` int(11) NULL,
|
`friend11` int(11) NULL DEFAULT '0',
|
||||||
`friend12` int(11) NULL,
|
`friend12` int(11) NULL DEFAULT '0',
|
||||||
`friend13` int(11) NULL,
|
`friend13` int(11) NULL DEFAULT '0',
|
||||||
`friend14` int(11) NULL,
|
`friend14` int(11) NULL DEFAULT '0',
|
||||||
`friend15` int(11) NULL,
|
`friend15` int(11) NULL DEFAULT '0',
|
||||||
`friend16` int(11) NULL,
|
`friend16` int(11) NULL DEFAULT '0',
|
||||||
`friend17` int(11) NULL,
|
`friend17` int(11) NULL DEFAULT '0',
|
||||||
`friend18` int(11) NULL,
|
`friend18` int(11) NULL DEFAULT '0',
|
||||||
`friend19` int(11) NULL,
|
`friend19` int(11) NULL DEFAULT '0',
|
||||||
`friend0wait` int(11) NULL,
|
`friend0wait` int(11) NULL DEFAULT '0',
|
||||||
`friend1wait` int(11) NULL,
|
`friend1wait` int(11) NULL DEFAULT '0',
|
||||||
`friend2wait` int(11) NULL,
|
`friend2wait` int(11) NULL DEFAULT '0',
|
||||||
`friend3wait` int(11) NULL,
|
`friend3wait` int(11) NULL DEFAULT '0',
|
||||||
`friend4wait` int(11) NULL,
|
`friend4wait` int(11) NULL DEFAULT '0',
|
||||||
`friend5wait` int(11) NULL,
|
`friend5wait` int(11) NULL DEFAULT '0',
|
||||||
`friend6wait` int(11) NULL,
|
`friend6wait` int(11) NULL DEFAULT '0',
|
||||||
`friend7wait` int(11) NULL,
|
`friend7wait` int(11) NULL DEFAULT '0',
|
||||||
`friend8wait` int(11) NULL,
|
`friend8wait` int(11) NULL DEFAULT '0',
|
||||||
`friend9wait` int(11) NULL,
|
`friend9wait` int(11) NULL DEFAULT '0',
|
||||||
`friend10wait` int(11) NULL,
|
`friend10wait` int(11) NULL DEFAULT '0',
|
||||||
`friend11wait` int(11) NULL,
|
`friend11wait` int(11) NULL DEFAULT '0',
|
||||||
`friend12wait` int(11) NULL,
|
`friend12wait` int(11) NULL DEFAULT '0',
|
||||||
`friend13wait` int(11) NULL,
|
`friend13wait` int(11) NULL DEFAULT '0',
|
||||||
`friend14wait` int(11) NULL,
|
`friend14wait` int(11) NULL DEFAULT '0',
|
||||||
`friend15wait` int(11) NULL,
|
`friend15wait` int(11) NULL DEFAULT '0',
|
||||||
`friend16wait` int(11) NULL,
|
`friend16wait` int(11) NULL DEFAULT '0',
|
||||||
`friend17wait` int(11) NULL,
|
`friend17wait` int(11) NULL DEFAULT '0',
|
||||||
`friend18wait` int(11) NULL,
|
`friend18wait` int(11) NULL DEFAULT '0',
|
||||||
`friend19wait` int(11) NULL,
|
`friend19wait` int(11) NULL DEFAULT '0',
|
||||||
`maxevasion` mediumint(3) NULL,
|
`maxevasion` mediumint(3) NULL DEFAULT '0',
|
||||||
`village_select` bigint(20) DEFAULT NULL,
|
`village_select` bigint(20) DEFAULT NULL,
|
||||||
`vac_time` varchar(255) NULL,
|
`vac_time` varchar(255) NULL DEFAULT '0',
|
||||||
`vac_mode` int(2) NULL DEFAULT '0',
|
`vac_mode` int(2) NULL DEFAULT '0',
|
||||||
`vactwoweeks` varchar(255) NULL,
|
`vactwoweeks` varchar(255) NULL DEFAULT '0',
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
|
||||||
|
|
||||||
@@ -1539,16 +1539,16 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%vdata` (
|
|||||||
`crop` float(12,2) NULL,
|
`crop` float(12,2) NULL,
|
||||||
`maxcrop` int(11) NULL,
|
`maxcrop` int(11) NULL,
|
||||||
`lastupdate` int(11) NULL,
|
`lastupdate` int(11) NULL,
|
||||||
`lastupdate2` int(11) NULL,
|
`lastupdate2` int(11) NULL DEFAULT '0',
|
||||||
`loyalty` float(9,6) NULL DEFAULT '100',
|
`loyalty` float(9,6) NULL DEFAULT '100',
|
||||||
`exp1` int(11) NULL,
|
`exp1` int(11) NULL DEFAULT '0',
|
||||||
`exp2` int(11) NULL,
|
`exp2` int(11) NULL DEFAULT '0',
|
||||||
`exp3` int(11) NULL,
|
`exp3` int(11) NULL DEFAULT '0',
|
||||||
`created` int(11) NULL,
|
`created` int(11) NULL,
|
||||||
`natar` tinyint(1) NULL,
|
`natar` tinyint(1) NULL DEFAULT '0',
|
||||||
`starv` int(11) NULL,
|
`starv` int(11) NULL DEFAULT '0',
|
||||||
`starvupdate` int(11) NULL,
|
`starvupdate` int(11) NULL DEFAULT '0',
|
||||||
`evasion` tinyint(1) NULL,
|
`evasion` tinyint(1) NULL DEFAULT '0',
|
||||||
PRIMARY KEY (`wref`)
|
PRIMARY KEY (`wref`)
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user