-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSupPlanner.sql
93 lines (75 loc) · 2.68 KB
/
SupPlanner.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
-- phpMyAdmin SQL Dump
-- version 4.0.4
-- http://www.phpmyadmin.net
--
-- Client: localhost
-- Généré le: Mar 13 Mai 2014 à 12:59
-- Version du serveur: 5.6.12-log
-- Version de PHP: 5.4.12
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 */;
--
-- Base de données: `supplanner`
--
CREATE DATABASE IF NOT EXISTS `supplanner` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `supplanner`;
-- --------------------------------------------------------
--
-- Structure de la table `project`
--
CREATE TABLE IF NOT EXISTS `project` (
`id` int(32) NOT NULL DEFAULT '0',
`name` varchar(64) DEFAULT NULL,
`completion` int(16) DEFAULT NULL,
`enumber` int(16) DEFAULT NULL,
`datebegin` date DEFAULT NULL,
`dateend` date DEFAULT NULL,
`link` varchar(16) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `task`
--
CREATE TABLE IF NOT EXISTS `task` (
`id` int(16) NOT NULL DEFAULT '0',
`name` varchar(32) DEFAULT NULL,
`datebegin` date DEFAULT NULL,
`dateend` date DEFAULT NULL,
`author` varchar(32) DEFAULT NULL,
`description` varchar(512) DEFAULT NULL,
`status` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Contenu de la table `task`
--
INSERT INTO `task` (`id`, `name`, `datebegin`, `dateend`, `author`, `description`, `status`) VALUES
(0, 'test', '2014-05-12', '2014-05-13', 'iemsal', 'test', 0);
-- --------------------------------------------------------
--
-- Structure de la table `user`
--
CREATE TABLE IF NOT EXISTS `user` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`userType` varchar(16) DEFAULT NULL,
`name` varchar(64) NOT NULL,
`email` varchar(64) DEFAULT NULL,
`password` varchar(32) DEFAULT NULL,
`projectid` int(16) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=26 ;
--
-- Contenu de la table `user`
--
INSERT INTO `user` (`id`, `userType`, `name`, `email`, `password`, `projectid`) VALUES
(18, 'Manager', 'iemsal', '[email protected]', '4479172781424319839', NULL),
(24, 'Manager', 'vincent', '[email protected]', '4479172781424319839', NULL),
(25, 'Manager', 'wassim', '[email protected]', '4479172781424319839', NULL);
/*!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 */;