-
Notifications
You must be signed in to change notification settings - Fork 14
/
phalcon_demo-app.sql
108 lines (87 loc) · 3.01 KB
/
phalcon_demo-app.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
-- phpMyAdmin SQL Dump
-- version 4.8.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jul 03, 2018 at 02:49 PM
-- Server version: 10.1.31-MariaDB
-- PHP Version: 7.2.4
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 */;
--
-- Database: `phalcon_demo-app`
--
-- --------------------------------------------------------
--
-- Table structure for table `articles`
--
CREATE TABLE `articles` (
`id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`title` varchar(100) COLLATE utf8_bin NOT NULL,
`description` text COLLATE utf8_bin NOT NULL,
`is_public` int(11) NOT NULL DEFAULT '0',
`created` text COLLATE utf8_bin NOT NULL,
`updated` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Users Articles';
--
-- Dumping data for table `articles`
--
INSERT INTO `articles` (`id`, `user_id`, `title`, `description`, `is_public`, `created`, `updated`) VALUES
(16, 7, 'Jeevan Article Update 1121', 'Jeevan Article Update 1121Jeevan Article Update 1121Jeevan Article Update 1121Jeevan Article Update 1121Jeevan Article Update 1121Jeevan Article Update 1121', 0, '1527011714', '1527056296'),
(24, 6, 'Article Title', 'Article Description Article Description Article Description Article Description ', 1, '1527143371', '1527673272');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(11) NOT NULL,
`name` text NOT NULL,
`email` text NOT NULL,
`password` text NOT NULL,
`active` tinyint(4) NOT NULL DEFAULT '0',
`created` text NOT NULL,
`updated` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `password`, `active`, `created`, `updated`) VALUES
(6, 'Jeevan Lal', '[email protected]', '$2y$08$VmJaVWhzd0xNY1dIdE83KuH9jrygSqPHDlFUmuw2Zq0HhqL2GptjS', 1, '1525260851', '1525260851'),
(7, 'Jeevan', '[email protected]', '$2y$08$NFNyUUhZb3RESlF5NDB0auxTP2W2bBQxPYnKKqZd9tPr3SVHBoJ/S', 1, '1526974958', '1526974958');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `articles`
--
ALTER TABLE `articles`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `articles`
--
ALTER TABLE `articles`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
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 */;