Deutschland United States United Kingdom
ContentLion - Open Source CMS

activate.php

Rev 5 | Blame | Compare with Previous | Last modification | View Log

<?php

DataBase::Current()->Execute("CREATE TABLE IF NOT EXISTS `{'dbprefix'}plugin_sshloginhelper` (
  `serverid` int(10) NOT NULL AUTO_INCREMENT,
  `ip` int(50) unsigned NOT NULL,
  `port` int(10) NOT NULL DEFAULT '22',
  `username` varchar(600) NOT NULL,
  `password` varchar(600) NOT NULL,
  `lastAccess` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `file` varchar(600) NOT NULL DEFAULT 'none',
  `activated` enum('YES','NO') NOT NULL DEFAULT 'YES',
  PRIMARY KEY (`serverid`),
  KEY `ix_ip` (`ip`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;"
);

?>