home *** CD-ROM | disk | FTP | other *** search
/ Game Programming in C++ - Start to Finish / GameProgrammingS.iso / tools_install / cvsnt-2.5.03.2151.msi / cvsnt.cab / create_tables_mysql.sql < prev    next >
Encoding:
Text File  |  2005-11-14  |  1.2 KB  |  51 lines

  1. -- MySql specific configuration script
  2.  
  3. Create Table SessionLog (Id Integer Auto_Increment Primary Key Not Null,
  4.     Command varchar(32),
  5.     Date datetime,
  6.     Hostname varchar(255),
  7.     Username varchar(255),
  8.     SessionId varchar(32),
  9.     VirtRepos varchar(255),
  10.     PhysRepos varchar(255),
  11.     Client varchar(64));
  12.  
  13. Create Table CommitLog (Id Integer Auto_Increment Primary Key Not Null,
  14.     SessionId Integer,
  15.     Directory varchar(255),
  16.     Message text,
  17.     Type char(1),
  18.     Filename varchar(255),
  19.     Tag varchar(64),
  20.     BugId varchar(64),
  21.     OldRev varchar(64),
  22.     NewRev varchar(64),
  23.     Added Integer,
  24.     Removed Integer,
  25.     Diff text);
  26.  
  27. Create Index Commit_SessionId On CommitLog(SessionId);
  28.  
  29. Create Table HistoryLog (Id Integer Auto_Increment Primary Key Not Null,
  30.     SessionId Integer,
  31.     Type char(1),
  32.     WorkDir varchar(255),
  33.     Revs varchar(64),
  34.     Name varchar(255),
  35.     BugId varchar(64),
  36.     Message text);
  37.  
  38. Create Index History_SessionId on HistoryLog(SessionId);
  39.  
  40. Create Table TagLog (Id Integer Auto_Increment Primary Key Not Null,
  41.     SessionId Integer,
  42.     Directory varchar(255),
  43.     Filename varchar(255),
  44.     Tag varchar(64),
  45.     Revision varchar(64),
  46.     Message text,
  47.     Action varchar(32),
  48.     Type char(1));
  49.     
  50. Create Index Tag_SessionId on TagLog(SessionId);
  51.