Advertisement
Lenny

LennyRace schema

Jun 16th, 2011
754
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 1.59 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 2.11.11.3
  3. -- http://www.phpmyadmin.net
  4. --
  5. -- Värd: localhost
  6. -- Skapad: 16 juni 2011 kl 13:29
  7. -- Serverversion: 5.0.77
  8. -- PHP-version: 5.1.6
  9.  
  10. SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
  11.  
  12. --
  13. -- Databas: `training`
  14. --
  15.  
  16. -- --------------------------------------------------------
  17.  
  18. --
  19. -- Struktur för tabell `races`
  20. --
  21.  
  22. CREATE TABLE IF NOT EXISTS `races` (
  23.   `id` int(11) NOT NULL auto_increment,
  24.   `name` varchar(20) NOT NULL,
  25.   `vehicles` varchar(40) NOT NULL,
  26.   `creator` varchar(24) NOT NULL,
  27.   `fastest` varchar(24) NOT NULL default 'Noone',
  28.   `record` int(11) NOT NULL default '36000',
  29.   PRIMARY KEY  (`id`)
  30. ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=42 ;
  31.  
  32. -- --------------------------------------------------------
  33.  
  34. --
  35. -- Struktur för tabell `race_checkpoints`
  36. --
  37.  
  38. CREATE TABLE IF NOT EXISTS `race_checkpoints` (
  39.   `id` int(11) NOT NULL auto_increment,
  40.   `raceid` int(11) NOT NULL,
  41.   `x` float NOT NULL,
  42.   `y` float NOT NULL,
  43.   `z` float NOT NULL,
  44.   `type` int(11) NOT NULL default '0',
  45.   `size` float NOT NULL default '5',
  46.   PRIMARY KEY  (`id`)
  47. ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=599 ;
  48.  
  49. -- --------------------------------------------------------
  50.  
  51. --
  52. -- Struktur för tabell `race_times`
  53. --
  54.  
  55. CREATE TABLE IF NOT EXISTS `race_times` (
  56.   `id` int(11) NOT NULL auto_increment,
  57.   `raceid` int(11) NOT NULL,
  58.   `playerid` int(11) NOT NULL,
  59.   `name` varchar(24) NOT NULL,
  60.   `time` int(11) NOT NULL,
  61.   `vehicle` int(11) NOT NULL,
  62.   PRIMARY KEY  (`id`)
  63. ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement