Changeset 471 for trunk/sql


Ignore:
Timestamp:
Apr 22, 2010, 8:58:41 AM (15 years ago)
Author:
george
Message:
  • Upraveno: Zobrazení odkazu na původní text při překládání i pro anglické originály.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sql/updates/470.sql

    r470 r471  
    22UPDATE  `DbVersion` SET  `Version` =  'Rev. 470' WHERE  `DbVersion`.`Id` =1;
    33
    4 ALTER TABLE  `ShoutBox` CHANGE  `User`  `UserName` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NUL;
     4ALTER TABLE  `ShoutBox` CHANGE  `User`  `UserName` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
    55ALTER TABLE  `ShoutBox` ADD  `User` INT NOT NULL AFTER  `ID`;
    66ALTER TABLE  `ShoutBox` ADD INDEX (  `User` );
    77
    8 UPDATE `ShoutBox` SET `User` = (SELECT `ID` FROM `User` WHERE `User`.`Name` = `ShoutBox`.`UserName`)
     8UPDATE `ShoutBox` SET `User` = (SELECT `ID` FROM `User` WHERE `User`.`Name` = `ShoutBox`.`UserName`);
    99
Note: See TracChangeset for help on using the changeset viewer.