home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / bale / cbstartsql.txt < prev    next >
Text File  |  2002-09-24  |  1KB  |  61 lines

  1.  
  2. # phpMyAdmin MySQL-Dump
  3. # http://phpwizard.net/phpMyAdmin/
  4. #
  5. # Host: localhost Database : events
  6.  
  7. # --------------------------------------------------------
  8. #
  9. # Table structure for table 'events'
  10. #
  11.  
  12. CREATE TABLE events (
  13.    eventid int(11) NOT NULL auto_increment,
  14.    ename varchar(40),
  15.    ecity varchar(40),
  16.    ecounty varchar(40),
  17.    edate varchar(40),
  18.    starttime int(11),
  19.    endtime int(11),
  20.    description text,
  21.    egroup int(11) NOT NULL,
  22.    PRIMARY KEY (eventid)
  23. );
  24.  
  25.  
  26. # --------------------------------------------------------
  27. #
  28. # Table structure for table 'eventtemplate'
  29. #
  30.  
  31. CREATE TABLE eventtemplate (
  32.    eventtid int(11) NOT NULL auto_increment,
  33.    ename varchar(40),
  34.    ecity varchar(40),
  35.    ecounty varchar(40),
  36.    weekday int(11),
  37.    weekofmonth int(11),
  38.    starttime int(11),
  39.    endtime int(11),
  40.    description text,
  41.    PRIMARY KEY (eventtid)
  42. );
  43.  
  44.  
  45. # --------------------------------------------------------
  46. #
  47. # Table structure for table 'groups'
  48. #
  49.  
  50. CREATE TABLE groups (
  51.    gname varchar(40),
  52.    gcity varchar(40),
  53.    gcounty varchar(40),
  54.    description text,
  55.    gcode varchar(25) NOT NULL,
  56.    active tinyint(4) DEFAULT '1' NOT NULL,
  57.    outofarea tinyint(4) NOT NULL,
  58.    PRIMARY KEY (gcode)
  59. );
  60.  
  61.