-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathblog.sql.bak
130 lines (102 loc) · 3.8 KB
/
blog.sql.bak
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
-- phpMyAdmin SQL Dump
-- version 3.5.8.2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Dec 08, 2013 at 04:41 AM
-- Server version: 5.5.33a-MariaDB
-- PHP Version: 5.5.6
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 */;
--
-- Database: `blog`
--
-- --------------------------------------------------------
--
-- Table structure for table `accountDetails`
--
CREATE TABLE IF NOT EXISTS `accountDetails` (
`uniqueID` varchar(5) NOT NULL,
`screenname` varchar(80) NOT NULL,
`email` varchar(80) NOT NULL,
`password` varchar(80) NOT NULL,
`status` int(11) NOT NULL DEFAULT '1',
`accessLevel` int(11) NOT NULL DEFAULT '2',
PRIMARY KEY (`uniqueID`),
UNIQUE KEY `screenname` (`screenname`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `accountDetails`
--
INSERT INTO `accountDetails` (`uniqueID`, `screenname`, `email`, `password`, `status`, `accessLevel`) VALUES
('C55VB', 'manuel', '[email protected]', '5f4dcc3b5aa765d61d8327deb882cf99', 1, 2),
('G67BA', 'admin', '[email protected]', '020763de46dfb2a37001c0f129b61104', 1, 0),
('Y6D2K', 'eebrah', '[email protected]', '5f4dcc3b5aa765d61d8327deb882cf99', 1, 2);
-- --------------------------------------------------------
--
-- Table structure for table `articleDetails`
--
CREATE TABLE IF NOT EXISTS `articleDetails` (
`uniqueID` varchar(5) NOT NULL,
`title` varchar(80) NOT NULL,
PRIMARY KEY (`uniqueID`),
UNIQUE KEY `title` (`title`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `articleDetails`
--
INSERT INTO `articleDetails` (`uniqueID`, `title`) VALUES
('Z31SQ', 'kujaribu tu'),
('E8CMV', 'title');
-- --------------------------------------------------------
--
-- Table structure for table `commentDetails`
--
CREATE TABLE IF NOT EXISTS `commentDetails` (
`uniqueID` varchar(5) NOT NULL,
`article` varchar(5) NOT NULL,
PRIMARY KEY (`uniqueID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `postDetails`
--
CREATE TABLE IF NOT EXISTS `postDetails` (
`uniqueID` varchar(5) NOT NULL,
`body` text NOT NULL,
`dateCreated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`datePublished` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`author` varchar(5) NOT NULL DEFAULT '00000',
`status` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`uniqueID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `postDetails`
--
INSERT INTO `postDetails` (`uniqueID`, `body`, `dateCreated`, `datePublished`, `author`, `status`) VALUES
('E8CMV', 'this is just a test', '2013-12-07 06:10:38', '0000-00-00 00:00:00', '00000', 0),
('Z31SQ', 'This is just a test to see if the interfaces work', '2013-12-07 06:50:37', '0000-00-00 00:00:00', '00000', 0);
-- --------------------------------------------------------
--
-- Table structure for table `userDetails`
--
CREATE TABLE IF NOT EXISTS `userDetails` (
`uniqueID` varchar(5) NOT NULL,
`name` varchar(80) NOT NULL,
`dateJoined` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`uniqueID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `userDetails`
--
INSERT INTO `userDetails` (`uniqueID`, `name`, `dateJoined`) VALUES
('C55VB', 'Emmanuel Ngeno', '2013-11-21 06:57:19'),
('G67BA', 'Administrator', '2013-09-17 21:00:00'),
('Y6D2K', 'Ibrahim Ngeno', '2013-09-20 14:54:44');
/*!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 */;