-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog_project1.sql
119 lines (100 loc) · 4.95 KB
/
blog_project1.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
-- phpMyAdmin SQL Dump
-- version 4.5.4.1deb2ubuntu2.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Dec 18, 2018 at 09:51 AM
-- Server version: 10.2.19-MariaDB-10.2.19+maria~xenial-log
-- PHP Version: 7.2.13-1+ubuntu16.04.1+deb.sury.org+1
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 utf8mb4 */;
--
-- Database: `blog_project1`
--
-- --------------------------------------------------------
--
-- Table structure for table `confirm_emails`
--
CREATE TABLE `confirm_emails` (
`id` int(11) NOT NULL,
`token` varchar(255) NOT NULL,
`email` varchar(72) NOT NULL,
`date_expires` timestamp NOT NULL DEFAULT current_timestamp
) ;
--
-- Dumping data for table `confirm_emails`
--
INSERT INTO `confirm_emails` (`id`, `token`, `email`, `date_expires`) VALUES
(12, '$2y$10$cWzzoImOaLAXwaaDHBQM1OkQzi54cI8n8Ci/aryslIT5wbWd9w3pC', '[email protected]', '2018-12-18 11:26:55'),
(14, '$2y$10$x1s7I4SWaIUgd9sVLmYSWO2tGbXWRqphkUGFgX37N.WPvlEirqASq', '[email protected]', '2018-12-18 11:44:03'),
(15, '$2y$10$dn2ItwzlZA4raz4NQqCdHeU58.C1klNs38B1e.deSwF5O8/5aI276', '[email protected]', '2018-12-18 13:20:23'),
(16, '$2y$10$VV5V5odc38qKdH.rXVtJKevHjl.lWZ9zRoZuNRU/nqPcGin2sQ7cy', '[email protected]', '2018-12-18 13:23:21'),
(17, '$2y$10$fVXG.bGZog3iMTJnrhuGYO8bc2BGtt9lMg254pGum3EsqKt.J8G.q', '[email protected]', '2018-12-18 13:24:47'),
(18, '$2y$10$aW5E5THX/Mb9HUyq0pT17.igQ/USIR73s0j6f4Hn3s9Ew/I5BJYfm', '[email protected]', '2018-12-18 13:27:16'),
(19, '$2y$10$lZj.gKPxLZXBrBLdGTS45OnuctnplT0vHZ55DD0q3.5MLpz4808Vu', '[email protected]', '2018-12-19 09:13:52'),
(20, '$2y$10$dTIUY8OFO3zaVPiVKpORwuJpfaYgaWJn44IZTCkuWgxmdgnOPjYt.', '[email protected]', '2018-12-19 09:40:37'),
(21, '$2y$10$qjXGua7ob0QfSIEyd4XbZe0ObvkxDCGlfyFiPJf3jf4NrnvmlUADi', '[email protected]', '2018-12-19 09:45:09');
-- --------------------------------------------------------
--
-- Table structure for table `posts`
--
CREATE TABLE `posts` (
`id` int(10) NOT NULL,
`header` varchar(51) NOT NULL,
`body` text NOT NULL,
`login_author` varchar(100) NOT NULL,
`time_created` timestamp NOT NULL DEFAULT current_timestamp
) ;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(10) NOT NULL,
`login` varchar(100) NOT NULL,
`email` varchar(100) NOT NULL,
`password` text NOT NULL,
`first_name` text NOT NULL,
`last_name` text NOT NULL,
`created` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`updated` timestamp NOT NULL DEFAULT current_timestamp
) ;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `login`, `email`, `password`, `first_name`, `last_name`, `created`, `updated`, `email_confirmed`) VALUES
(36, 'erdeni', '[email protected]', '$2y$10$BO/0CIE4LLTW66WC/aZeBuYNqFmbbz6rvXwSdV.HHBngY1V0/5NHW', 'e', 'e', '2018-12-17 11:26:55', '2018-12-17 11:26:55', 1),
(39, 'dog', '[email protected]', '$2y$10$s.3qmEUKpTV6YLs9lunkvO89niTVOwwbtIVFaife9MoZnom6J6gka', 'dj', 'dj', '2018-12-17 11:44:03', '2018-12-17 11:44:03', 1),
(41, 'erdenirf', '[email protected]', '$2y$10$8EOweMgNonEImrOwOr0H6udyVSkxn8MmAM8BAj6ZJuwJnSlDs1Qhm', 'dj', 'dj', '2018-12-17 13:23:21', '2018-12-17 13:23:21', 0),
(42, 'jest', '[email protected]', '$2y$10$8RWXjxdbClWbHhyP4nQ4Bur3lb7XNnvSfTifx6AJQ0LVIHoF.klBy', 'dj', 'dj', '2018-12-17 13:24:47', '2018-12-17 13:24:47', 0),
(43, 'kk', '[email protected]', '$2y$10$x67CmSMx68XrCKagO8XMfeEt9nFQ62f421cCifNszNGsjfCUfIovW', 'kk', 'kk', '2018-12-17 13:27:16', '2018-12-17 13:27:16', 1),
(44, 'dd', '[email protected]', '$2y$10$DDCHIqplhOSJj2hSrzNSUeqQQnSR9DXWJFw7AUPDNAr.WM6/AQNza', 'djk', 'dd', '2018-12-18 09:13:52', '2018-12-18 09:13:52', 1),
(45, 'dj', '[email protected]', '$2y$10$03H9TJpfN3OdfFmQf7VrYOc3KNciVL9tOsSI7SVOAhzPkyhm8ExBS', 'dj', 'dj', '2018-12-18 09:40:37', '2018-12-18 09:40:37', 1),
(46, 'hh', '[email protected]', '$2y$10$G6nYMcG6h0cpjGx4x5e7fu6Fb46fraUawEY0/DbbkvfTDx9ysqqRG', 'hh', 'hh', '2018-12-18 09:45:09', '2018-12-18 09:45:09', 1),
(47, 'hh1', '[email protected]', '$2y$10$hU/48uvdnP.f5YtnC..6BuMfPx3uDKLkr57vTORZ3boxiVVagOcD6', 'dj', 'dj', '2018-12-18 09:47:49', '2018-12-18 09:47:49', 1),
(48, 'gg', '[email protected]', '$2y$10$RudPZg5KXwfLHJhgSLl3julQisDnPFcYxWli9bK75aefzJNhbH1.y', 'gg', 'gg', '2018-12-18 09:50:47', '2018-12-18 09:50:47', 1);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `confirm_emails`
--
ALTER TABLE `confirm_emails`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `posts`
--
ALTER TABLE `posts`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
/*!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 */;