Changeset 58 for trunk/www/sql/updates/54.sql
- Timestamp:
- Aug 4, 2009, 7:21:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/sql/updates/54.sql
r54 r58 2 2 `Id` int(11) NOT NULL auto_increment, 3 3 `Name` varchar(255) NOT NULL, 4 `Database` int(11) NOT NULL, 4 5 `Server` int(11) NOT NULL, 5 6 `NetworkPortWorldd` int(11) NOT NULL, … … 23 24 ALTER TABLE `Realm` ADD FOREIGN KEY ( `Database` ) REFERENCES `Database` (`Id`); 24 25 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`);26 INSERT 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`); 26 27 27 28 ALTER TABLE `Server` DROP `NetworkPortWorldd` , DROP `Motd` , DROP `Type` ;
Note:
See TracChangeset
for help on using the changeset viewer.