rathena/sql-files/upgrade_svn12975_log.sql
brianluau 9cc789d234 - Added svn:eol-style native for some conf/css/html/pl/sql/txt files.
- Added svn:executable property for several batch/shell scripts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-27 16:56:26 +00:00

21 lines
509 B
SQL

-- NOTE: change `ragnarok` and `log` to whatever your database names are.
START TRANSACTION;
CREATE TABLE `log`.`loginlog` (
`time` datetime NOT NULL default '0000-00-00 00:00:00',
`ip` varchar( 15 ) NOT NULL ,
`user` varchar( 23 ) NOT NULL default '',
`rcode` tinyint( 4 ) NOT NULL default '0',
`log` varchar( 255 ) NOT NULL default '',
KEY `ip` ( `ip` )
) ENGINE = MYISAM;
INSERT INTO `log`.`loginlog`
SELECT *
FROM `ragnarok`.`loginlog` ;
DROP TABLE `ragnarok`.`loginlog` ;
COMMIT;