Changeset 124 for trunk/sql


Ignore:
Timestamp:
Feb 22, 2009, 9:41:58 PM (15 years ago)
Author:
maron
Message:

Překladatelské týmy (změna struktury)

Location:
trunk/sql
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sql/structure.sql

    r118 r124  
    498498  PRIMARY KEY  (`ID`)
    499499) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=551 ;
     500
     501ALTER TABLE `user` ADD `team` INT NOT NULL ;
     502
     503ALTER TABLE `user` ADD INDEX ( `team` ) ;
     504
     505
     506-- --------------------------------------------------------
     507
     508--
     509-- Struktura tabulky `team`
     510--
     511
     512CREATE TABLE IF NOT EXISTS `team` (
     513  `ID` int(11) NOT NULL auto_increment,
     514  `name` text NOT NULL,
     515  `description` text NOT NULL,
     516  PRIMARY KEY  (`ID`)
     517) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
     518
     519
Note: See TracChangeset for help on using the changeset viewer.