-
Notifications
You must be signed in to change notification settings - Fork 0
/
photo_gallery.sql
76 lines (61 loc) · 2.27 KB
/
photo_gallery.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
-- phpMyAdmin SQL Dump
-- version 3.5.2.2
-- http://www.phpmyadmin.net
--
-- Client: 127.0.0.1
-- Généré le: Jeu 27 Février 2020 à 15:41
-- Version du serveur: 5.5.27
-- Version de PHP: 5.4.7
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: `photo_gallery`
--
-- --------------------------------------------------------
--
-- Structure de la table `photographs`
--
CREATE TABLE IF NOT EXISTS `photographs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`filename` varchar(50) NOT NULL,
`type` varchar(50) NOT NULL,
`size` int(11) NOT NULL,
`caption` varchar(50) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=18 ;
--
-- Contenu de la table `photographs`
--
INSERT INTO `photographs` (`id`, `filename`, `type`, `size`, `caption`) VALUES
(11, 'chita.jpg', 'image/jpeg', 43267, 'Ùصل الشتاء'),
(13, 'nature.jpg', 'image/jpeg', 44768, 'farm'),
(14, 'a (12).jpg', 'image/jpeg', 76918, 'اندلس'),
(15, 'wood.jpg', 'image/jpeg', 564389, 'wood'),
(16, 'bamboo.jpg', 'image/jpeg', 455568, 'bamboo'),
(17, 'a (2).jpg', 'image/jpeg', 92304, 'قطيع الغنم');
-- --------------------------------------------------------
--
-- Structure de la table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(50) NOT NULL,
`password` varchar(50) NOT NULL,
`first_name` varchar(50) NOT NULL,
`last_name` varchar(50) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
--
-- Contenu de la table `users`
--
INSERT INTO `users` (`id`, `username`, `password`, `first_name`, `last_name`) VALUES
(1, 'doudou', 'doudou1994', 'abdellatif', 'boukernine'),
(2, 'bouk', 'doudou1994', 'habiba', 'boukernine'),
(3, 'bouk', 'doudou1994', 'habiba', 'boukernine');
/*!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 */;