ALTER TABLE `team` ADD `URL` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `team` CHANGE `ID` `Id` INT( 11 ) NOT NULL AUTO_INCREMENT ;
ALTER TABLE `team` CHANGE `name` `Name` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_czech_ci NOT NULL;
ALTER TABLE `team` CHANGE `description` `Description` TEXT CHARACTER SET utf8 COLLATE utf8_czech_ci NOT NULL ;

CREATE TABLE `Team` (
`Id` int( 11 ) NOT NULL AUTO_INCREMENT ,
`Name` varchar( 255 ) CHARACTER SET utf8 COLLATE utf8_czech_ci NOT NULL ,
`Description` text CHARACTER SET utf8 COLLATE utf8_czech_ci NOT NULL ,
`URL` varchar( 255 ) NOT NULL ,
PRIMARY KEY ( `Id` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =15;

INSERT INTO `Team`
SELECT *
FROM `team` ;

DROP TABLE `team`;

ALTER TABLE `Team`  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

ALTER TABLE `Team` CHANGE `URL` `URL` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ;

ALTER TABLE `Team` ADD `TimeCreate` DATETIME NOT NULL ;

UPDATE `Team` SET `TimeCreate`= NOW();

ALTER TABLE `Team` ADD `Leader` INT NOT NULL ;