Ignore:
Timestamp:
Aug 4, 2009, 7:21:15 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Zobrazení souboru realmlist.wtf pro servery.
  • Opraveno: Třídy pro zpracování realmů.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/sql/updates/54.sql

    r54 r58  
    22  `Id` int(11) NOT NULL auto_increment,
    33  `Name` varchar(255) NOT NULL,
     4  `Database` int(11) NOT NULL,
    45  `Server` int(11) NOT NULL,
    56  `NetworkPortWorldd` int(11) NOT NULL,
     
    2324ALTER TABLE `Realm` ADD FOREIGN KEY ( `Database` ) REFERENCES `Database` (`Id`);
    2425
    25 INSERT INTO `Realm` (SELECT 0 AS `Id`, "" AS `Name`, `Server`.`Id` AS `Server`, `NetworkPortWorldd`, `Motd`, "" AS `Description`, `Type`, "" AS `Homepage`, `TimeCreate`, 0 AS `Online`, `CharacterOnlineCount`, `CharacterCount`, `AccountCount`, 0 AS `Lock` FROM `Server`);
     26INSERT INTO `Realm` (SELECT 0 AS `Id`, "" AS `Name`, `Server`.`Database` AS `Database`, `Server`.`Id` AS `Server`, `NetworkPortWorldd`, `Motd`, "" AS `Description`, `Type`, "" AS `Homepage`, `TimeCreate`, 0 AS `Online`, `CharacterOnlineCount`, `CharacterCount`, `AccountCount`, 0 AS `Lock` FROM `Server`);
    2627
    2728ALTER TABLE `Server` DROP `NetworkPortWorldd` , DROP `Motd` , DROP `Type` ;
Note: See TracChangeset for help on using the changeset viewer.