[Improved]:

- SQL upgrade file for the new loginlog. Thanks to ultramage.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6883 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Lance
2006-05-31 08:44:43 +00:00
parent 9a5c473607
commit bbf7f7d351
2 changed files with 4 additions and 1 deletions

View File

@@ -1 +1,2 @@
ALTER TABLE `loginlog` CHANGE `ip` `ip` INT( 10 ) UNSIGNED NOT NULL;
UPDATE `loginlog` SET `ip` = inet_aton(`ip`);
ALTER TABLE `loginlog` CHANGE `ip` `ip` INT( 10 ) UNSIGNED ZEROFILL NOT NULL DEFAULT '0';