This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bigbang.sql
111 lines (94 loc) · 3.22 KB
/
bigbang.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
-- phpMyAdmin SQL Dump
-- version 4.0.10deb1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jul 20, 2017 at 10:43 AM
-- Server version: 5.5.55-0ubuntu0.14.04.1
-- PHP Version: 5.5.9-1ubuntu4.21
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!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 */;
--
-- Database: `perso`
--
-- --------------------------------------------------------
--
-- Table structure for table `Lifeforms`
--
CREATE TABLE IF NOT EXISTS `Lifeforms` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(200) DEFAULT NULL,
`originPlanet` int(11) NOT NULL,
`originSystem` int(11) NOT NULL,
`sensPrincipal` varchar(50) NOT NULL,
`appendice` varchar(50) DEFAULT NULL,
`nombreMembres` int(11) NOT NULL,
`epiderme` tinyint(4) NOT NULL,
`regime` tinyint(2) NOT NULL,
`governement` varchar(100) DEFAULT NULL,
`dureeVie` int(11) DEFAULT NULL,
`milieu` varchar(50) NOT NULL,
`avancement` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `originSystem` (`originSystem`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=980 ;
-- --------------------------------------------------------
--
-- Table structure for table `Planetes`
--
CREATE TABLE IF NOT EXISTS `Planetes` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`systeme` int(11) NOT NULL,
`objectOrbited` int(11) DEFAULT NULL,
`type` varchar(3) NOT NULL,
`sousType` int(11) NOT NULL,
`masse` float NOT NULL,
`particularite` varchar(50) DEFAULT NULL,
`distanceEtoile` float NOT NULL,
`inclinaisonOrbite` float NOT NULL,
`dureeAnnee` float NOT NULL COMMENT '(en jours)',
`dureeJour` float DEFAULT NULL,
`albedo` float NOT NULL,
`rayonnement` float DEFAULT NULL,
`hydrometrie` int(11) DEFAULT NULL,
`eden` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=7835594 ;
-- --------------------------------------------------------
--
-- Table structure for table `Stars`
--
CREATE TABLE IF NOT EXISTS `Stars` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`systeme` int(11) DEFAULT NULL,
`distanceBarycentre` float NOT NULL DEFAULT '0',
`typeOrigine` varchar(1) NOT NULL,
`periode` varchar(100) DEFAULT NULL,
`typeSurcharge` varchar(2) DEFAULT NULL,
`age` float NOT NULL,
`masseOrigine` float NOT NULL,
`rayonnement` float DEFAULT NULL,
`rayon` float NOT NULL,
PRIMARY KEY (`id`),
KEY `systeme` (`systeme`),
KEY `systeme_2` (`systeme`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1801358 ;
-- --------------------------------------------------------
--
-- Table structure for table `Systemes`
--
CREATE TABLE IF NOT EXISTS `Systemes` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(150) NOT NULL,
`angle` float NOT NULL,
`distance` float NOT NULL,
`altitude` float NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1000001 ;
/*!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 */;