Created
November 23, 2014 13:34
-
-
Save FreakDev/2cc228284b77a5e89afe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ************************************************************ | |
# Sequel Pro SQL dump | |
# Version 4096 | |
# | |
# http://www.sequelpro.com/ | |
# http://code.google.com/p/sequel-pro/ | |
# | |
# Host: 127.0.0.1 (MySQL 5.5.33) | |
# Database: sqlkart | |
# Generation Time: 2014-11-23 13:34:01 +0000 | |
# ************************************************************ | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8 */; | |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; | |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; | |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; | |
# Dump of table cups | |
# ------------------------------------------------------------ | |
DROP TABLE IF EXISTS `cups`; | |
CREATE TABLE `cups` ( | |
`id` int(11) unsigned NOT NULL AUTO_INCREMENT, | |
`name` varchar(50) DEFAULT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8; | |
LOCK TABLES `cups` WRITE; | |
/*!40000 ALTER TABLE `cups` DISABLE KEYS */; | |
INSERT INTO `cups` (`id`, `name`) | |
VALUES | |
(1,'Flower Cup'), | |
(2,'Star Cup'), | |
(3,'Shell Cup'), | |
(4,'Lightning Cup'); | |
/*!40000 ALTER TABLE `cups` ENABLE KEYS */; | |
UNLOCK TABLES; | |
# Dump of table players | |
# ------------------------------------------------------------ | |
DROP TABLE IF EXISTS `players`; | |
CREATE TABLE `players` ( | |
`id` int(11) unsigned NOT NULL AUTO_INCREMENT, | |
`name` varchar(50) DEFAULT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8; | |
LOCK TABLES `players` WRITE; | |
/*!40000 ALTER TABLE `players` DISABLE KEYS */; | |
INSERT INTO `players` (`id`, `name`, `created_at`) | |
VALUES | |
(1,'player_1','2014-11-22 00:00:00'), | |
(2,'player_2','2014-11-22 00:00:00'), | |
(3,'player_3','2014-11-22 00:00:00'), | |
(4,'player_4','2014-11-21 00:00:00'), | |
(5,'player_5','2014-11-21 00:00:00'), | |
(6,'player_6','2014-11-21 00:00:00'), | |
(7,'player_7','2014-11-20 00:00:00'), | |
(8,'player_8','2014-11-20 00:00:00'), | |
(10,'player_9','2014-11-20 00:00:00'); | |
/*!40000 ALTER TABLE `players` ENABLE KEYS */; | |
UNLOCK TABLES; | |
# Dump of table races | |
# ------------------------------------------------------------ | |
DROP TABLE IF EXISTS `races`; | |
CREATE TABLE `races` ( | |
`id` int(11) unsigned NOT NULL AUTO_INCREMENT, | |
`name` varchar(50) DEFAULT NULL, | |
`nb_slots` int(11) DEFAULT NULL, | |
`cup_id` int(11) DEFAULT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8; | |
LOCK TABLES `races` WRITE; | |
/*!40000 ALTER TABLE `races` DISABLE KEYS */; | |
INSERT INTO `races` (`id`, `name`, `nb_slots`, `cup_id`) | |
VALUES | |
(1,'Peach Beach',12,1), | |
(2,'Yoshi Falls',8,2), | |
(3,'Daisy Hills',12,3), | |
(4,'Toad Circuit',12,4), | |
(5,'Boo Lake',8,2), | |
(6,'DK Pass',8,4), | |
(7,'Mushroom City',12,3), | |
(8,'Bowser\'s Castle',12,1), | |
(9,'N64 Mario Raceway',12,4), | |
(10,'GCN Daisy Cruiser',8,2), | |
(11,'Wii Koopa Cape',8,1), | |
(12,'Sky Garden',12,3), | |
(13,'N64 D.K.\'s Jungle Parkway',12,2), | |
(14,'DS Waluigi Pinball',8,1), | |
(15,'DS Delfino Square',12,3), | |
(16,'N64 Frappe Snowland',12,4); | |
/*!40000 ALTER TABLE `races` ENABLE KEYS */; | |
UNLOCK TABLES; | |
# Dump of table run | |
# ------------------------------------------------------------ | |
DROP TABLE IF EXISTS `run`; | |
CREATE TABLE `run` ( | |
`id` int(11) unsigned NOT NULL AUTO_INCREMENT, | |
`race_id` int(11) unsigned NOT NULL, | |
`player_id` int(11) unsigned NOT NULL, | |
`chrono` int(11) DEFAULT NULL, | |
`created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8; | |
LOCK TABLES `run` WRITE; | |
/*!40000 ALTER TABLE `run` DISABLE KEYS */; | |
INSERT INTO `run` (`id`, `race_id`, `player_id`, `chrono`, `created_at`) | |
VALUES | |
(1,1,1,320,'2014-11-23 12:30:10'), | |
(2,1,2,540,'2014-11-23 12:30:10'), | |
(3,1,3,430,'2014-11-23 12:30:10'), | |
(4,1,4,552,'2014-11-23 12:30:10'), | |
(5,1,5,532,'2014-11-23 12:30:10'), | |
(6,1,6,435,'2014-11-23 12:30:10'), | |
(7,1,7,249,'2014-11-23 12:30:10'), | |
(8,1,8,346,'2014-11-23 12:30:10'), | |
(9,2,1,539,'2014-11-23 12:30:10'), | |
(10,2,2,546,'2014-11-23 12:30:10'), | |
(11,2,3,527,'2014-11-23 12:29:10'), | |
(12,2,4,418,'2014-11-23 12:29:10'), | |
(13,2,5,356,'2014-11-23 12:29:10'), | |
(14,2,6,547,'2014-11-23 12:29:10'), | |
(15,2,7,549,'2014-11-23 12:29:10'), | |
(16,2,8,236,'2014-11-23 12:29:10'), | |
(17,3,1,483,'2014-11-23 12:29:10'), | |
(18,3,2,384,'2014-11-23 12:29:10'), | |
(19,3,3,495,'2014-11-23 12:29:10'), | |
(20,3,4,596,'2014-11-23 12:29:10'), | |
(21,3,5,503,'2014-11-23 12:29:10'), | |
(22,3,6,405,'2014-11-23 12:29:10'), | |
(23,3,7,506,'2014-11-23 12:29:10'), | |
(24,3,8,384,'2014-11-23 12:29:10'), | |
(25,3,9,504,'2014-11-23 12:29:10'), | |
(26,3,10,483,'2014-11-23 12:29:10'), | |
(27,4,1,504,'2014-11-23 12:29:10'), | |
(28,4,2,483,'2014-11-23 12:29:10'), | |
(29,4,3,203,'2014-11-23 12:29:10'), | |
(30,4,4,495,'2014-11-23 12:29:10'), | |
(31,4,5,583,'2014-11-23 12:29:10'), | |
(32,4,6,945,'2014-11-23 12:29:10'), | |
(33,4,7,394,'2014-11-23 12:29:10'), | |
(34,4,8,403,'2014-11-23 12:29:10'), | |
(35,4,9,484,'2014-11-23 12:29:10'), | |
(36,4,10,548,'2014-11-23 12:29:10'), | |
(37,5,1,504,'2014-11-23 12:29:10'), | |
(38,5,2,475,'2014-11-23 12:29:10'), | |
(39,5,3,594,'2014-11-23 12:29:10'), | |
(40,5,4,394,'2014-11-23 12:29:10'), | |
(41,5,5,484,'2014-11-23 12:29:10'), | |
(42,5,6,473,'2014-11-23 12:29:10'), | |
(43,5,7,743,'2014-11-23 12:29:10'), | |
(44,5,8,495,'2014-11-23 12:29:10'), | |
(45,5,9,483,'2014-11-23 12:29:10'), | |
(46,5,10,504,'2014-11-23 12:29:10'), | |
(47,6,1,487,'2014-11-23 12:29:10'), | |
(48,6,2,594,'2014-11-23 12:29:10'), | |
(49,6,3,373,'2014-11-23 12:29:10'), | |
(50,6,4,493,'2014-11-23 12:29:10'), | |
(51,6,5,483,'2014-11-23 12:29:10'), | |
(52,6,6,405,'2014-11-23 12:29:10'), | |
(53,6,7,383,'2014-11-23 12:29:10'), | |
(54,6,8,485,'2014-11-23 12:29:10'), | |
(55,6,9,382,'2014-11-23 12:29:10'), | |
(56,6,10,493,'2014-11-23 12:29:10'), | |
(57,7,1,283,'2014-11-23 12:29:10'), | |
(58,7,2,403,'2014-11-23 12:29:10'), | |
(59,7,3,384,'2014-11-23 12:29:10'), | |
(60,7,4,382,'2014-11-23 12:29:10'), | |
(61,7,5,403,'2014-11-23 12:29:10'), | |
(62,7,6,384,'2014-11-23 12:29:10'), | |
(63,7,7,493,'2014-11-23 12:29:10'), | |
(64,7,8,283,'2014-11-23 12:29:10'), | |
(65,7,9,495,'2014-11-23 12:29:10'), | |
(66,7,10,392,'2014-11-23 12:29:10'), | |
(67,8,1,483,'2014-11-23 12:29:10'), | |
(68,8,2,493,'2014-11-23 12:29:10'), | |
(69,8,3,374,'2014-11-23 12:29:10'), | |
(70,8,4,495,'2014-11-23 12:29:10'), | |
(71,8,5,273,'2014-11-23 12:29:10'), | |
(72,8,6,403,'2014-11-23 12:29:10'), | |
(73,8,7,382,'2014-11-23 12:29:10'), | |
(74,8,8,584,'2014-11-23 12:29:10'), | |
(75,8,9,374,'2014-11-23 12:29:10'), | |
(76,8,10,304,'2014-11-23 12:29:10'), | |
(77,12,10,539,'2014-11-23 12:30:10'), | |
(78,12,10,356,'2014-11-23 12:29:10'), | |
(79,13,10,596,'2014-11-23 12:29:10'), | |
(80,13,10,504,'2014-11-23 12:29:10'), | |
(81,14,10,394,'2014-11-23 12:29:10'), | |
(82,15,10,504,'2014-11-23 12:29:10'), | |
(83,15,10,484,'2014-11-23 12:29:10'), | |
(84,15,10,495,'2014-11-23 12:29:10'), | |
(85,16,10,373,'2014-11-23 12:29:10'), | |
(86,16,10,382,'2014-11-23 12:29:10'), | |
(87,17,10,384,'2014-11-23 12:29:10'), | |
(88,17,10,493,'2014-11-23 12:29:10'); | |
/*!40000 ALTER TABLE `run` ENABLE KEYS */; | |
UNLOCK TABLES; | |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; | |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; | |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; | |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; | |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; | |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment