-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.sql
148 lines (120 loc) · 9.25 KB
/
blog.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Hôte : 127.0.0.1:3306
-- Généré le : sam. 12 jan. 2019 à 11:57
-- Version du serveur : 5.7.23
-- Version de PHP : 5.6.38
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
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 utf8mb4 */;
--
-- Base de données : `blog`
--
-- --------------------------------------------------------
--
-- Structure de la table `apps`
--
DROP TABLE IF EXISTS `apps`;
CREATE TABLE IF NOT EXISTS `apps` (
`id` int(255) NOT NULL AUTO_INCREMENT,
`titre` varchar(255) COLLATE utf8_bin NOT NULL,
`sous_titre` varchar(255) COLLATE utf8_bin NOT NULL,
`photo` varchar(255) COLLATE utf8_bin NOT NULL,
`categorie` varchar(10) COLLATE utf8_bin NOT NULL,
`contenu` varchar(5000) COLLATE utf8_bin NOT NULL,
`date_creation` date NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
--
-- Déchargement des données de la table `apps`
--
INSERT INTO `apps` (`id`, `titre`, `sous_titre`, `photo`, `categorie`, `contenu`, `date_creation`) VALUES
(1, 'Des app !', 'Des sous app !', 'myImage-1546979856634.jpg', 'Gadgets', 'Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro ', '2019-01-08'),
(2, 'Des app !', 'Un autre sous titre', 'myImage-1546979976840.jpg', 'Gadgets', 'Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro ', '2019-01-08'),
(3, 'Des app !', 'Un autre sous titre', 'myImage-1546979976840.jpg', 'Gadgets', 'Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro ', '2019-01-08'),
(4, 'Des app !', 'Un autre sous titre', 'myImage-1546979976840.jpg', 'Gadgets', 'Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro ', '2019-01-08'),
(5, 'Des app !', 'Un autre sous titre', 'myImage-1546979976840.jpg', 'Gadgets', 'Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro Lorem bro ', '2019-01-08');
-- --------------------------------------------------------
--
-- Structure de la table `gaming`
--
DROP TABLE IF EXISTS `gaming`;
CREATE TABLE IF NOT EXISTS `gaming` (
`id` int(255) NOT NULL AUTO_INCREMENT,
`titre` varchar(255) COLLATE utf8_bin NOT NULL,
`sous_titre` varchar(255) COLLATE utf8_bin NOT NULL,
`photo` varchar(255) COLLATE utf8_bin NOT NULL,
`categorie` varchar(10) COLLATE utf8_bin NOT NULL,
`contenu` varchar(5000) COLLATE utf8_bin NOT NULL,
`date_creation` date NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
--
-- Déchargement des données de la table `gaming`
--
INSERT INTO `gaming` (`id`, `titre`, `sous_titre`, `photo`, `categorie`, `contenu`, `date_creation`) VALUES
(1, 'Les demis finals des worlds !', 'Les Fnatics sont en route', 'myImage-1546979052729.jpg', 'Gaming', 'Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem ', '2019-01-08'),
(6, 'Les demis finals des worlds !', 'Les Fnatics sont en route', 'myImage-1546979052729.jpg', 'Gaming', 'Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem ', '2019-01-08'),
(7, 'Les demis finals des worlds !', 'Les Fnatics sont en route', 'myImage-1546979052729.jpg', 'Gaming', 'Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem ', '2019-01-08'),
(8, 'Les demis finals des worlds !', 'Les Fnatics sont en route', 'myImage-1546979052729.jpg', 'Gaming', 'Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem Lorem ', '2019-01-08');
-- --------------------------------------------------------
--
-- Structure de la table `mails`
--
DROP TABLE IF EXISTS `mails`;
CREATE TABLE IF NOT EXISTS `mails` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`mail_add` varchar(255) COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
-- --------------------------------------------------------
--
-- Structure de la table `mangas`
--
DROP TABLE IF EXISTS `mangas`;
CREATE TABLE IF NOT EXISTS `mangas` (
`id` int(255) NOT NULL AUTO_INCREMENT,
`titre` varchar(255) COLLATE utf8_bin NOT NULL,
`sous_titre` varchar(255) COLLATE utf8_bin NOT NULL,
`photo` varchar(255) COLLATE utf8_bin NOT NULL,
`categorie` varchar(10) COLLATE utf8_bin NOT NULL,
`contenu` varchar(5000) COLLATE utf8_bin NOT NULL,
`date_creation` date NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
--
-- Déchargement des données de la table `mangas`
--
INSERT INTO `mangas` (`id`, `titre`, `sous_titre`, `photo`, `categorie`, `contenu`, `date_creation`) VALUES
(1, 'Des mangas partout !', 'Manga sous titre', 'myImage-1546980090717.jpg', 'Mangas', 'Lorem bro ', '2019-01-08'),
(2, 'Des mangas partout !', 'Manga sous titre', 'myImage-1546980090717.jpg', 'Mangas', 'Lorem bro ', '2019-01-08'),
(3, 'Des mangas partout !', 'Manga sous titre', 'myImage-1546980090717.jpg', 'Mangas', 'Lorem bro ', '2019-01-08'),
(4, 'Des mangas partout !', 'Manga sous titre', 'myImage-1546980090717.jpg', 'Mangas', 'Lorem bro ', '2019-01-08');
-- --------------------------------------------------------
--
-- Structure de la table `users`
--
DROP TABLE IF EXISTS `users`;
CREATE TABLE IF NOT EXISTS `users` (
`id` int(255) NOT NULL AUTO_INCREMENT,
`username` varchar(20) COLLATE utf8_bin NOT NULL,
`password` varchar(255) COLLATE utf8_bin NOT NULL,
`statut` tinyint(2) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
--
-- Déchargement des données de la table `users`
--
INSERT INTO `users` (`id`, `username`, `password`, `statut`) VALUES
(1, 'admin', 'snowden', 1);
COMMIT;
/*!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 */;