Postado Junho 30, 2014 10 anos Isso resolve um dos problemas: Se for mysql: CREATE TABLE IF NOT EXISTS `player_advances` ( `id` int(11) NOT NULL AUTO_INCREMENT, `cid` int(11) DEFAULT NULL, `skill` int(11) DEFAULT NULL, `oldlevel` int(11) DEFAULT NULL, `newlevel` int(11) DEFAULT NULL, `time` int(11) DEFAULT NULL, UNIQUE KEY `id` (`id`), KEY `cid` (`cid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3337 ; Se for sqlite: CREATE TABLE IF NOT EXISTS `player_advances` ( `id` int(11) NOT NULL AUTO_INCREMENT, `cid` int(11) DEFAULT NULL, `skill` int(11) DEFAULT NULL, `oldlevel` int(11) DEFAULT NULL, `newlevel` int(11) DEFAULT NULL, `time` int(11) DEFAULT NULL, UNIQUE KEY `id` (`id`), KEY `cid` (`cid`) ); Editado Junho 30, 2014 10 anos por danihcv (veja o histórico de edições)
Postado Junho 30, 2014 10 anos Tenta: ALTER TABLE 'players' ADD 'onlinetimetoday' INT(11) NOT NULL DEFAULT 0;
Postado Junho 30, 2014 10 anos Autor ñao funcao onlinetimetoday Editado Junho 30, 2014 10 anos por mori2005 (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.