-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.sql
More file actions
326 lines (263 loc) · 11.3 KB
/
Copy pathbase.sql
File metadata and controls
326 lines (263 loc) · 11.3 KB
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
-- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 02, 2021 at 10:23 PM
-- Server version: 10.4.17-MariaDB
-- PHP Version: 7.4.15
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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: `base`
--
-- --------------------------------------------------------
--
-- Table structure for table `education`
--
CREATE TABLE `education` (
`id` int(10) UNSIGNED NOT NULL,
`degree` varchar(255) DEFAULT NULL,
`year` varchar(255) DEFAULT NULL,
`percentage` tinyint(3) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `education`
--
INSERT INTO `education` (`id`, `degree`, `year`, `percentage`) VALUES
(1, 'Secondary School Certificate', '2012', 82),
(2, 'Higher Secondary School Certificate', '2014', 86),
(3, 'B. Sc. In Computer Science & Engineering', '2019', 62);
-- --------------------------------------------------------
--
-- Table structure for table `messages`
--
CREATE TABLE `messages` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`message` text NOT NULL,
`status` tinyint(4) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `messages`
--
INSERT INTO `messages` (`id`, `name`, `email`, `message`, `status`) VALUES
(1, 'Tariqul Islam Tuhin', 'shaque162094@bscse.uiu.ac.bd', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, ', 2);
-- --------------------------------------------------------
--
-- Table structure for table `partners`
--
CREATE TABLE `partners` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) NOT NULL,
`logo` varchar(255) NOT NULL,
`status` tinyint(4) NOT NULL DEFAULT 1 COMMENT '1=active, 2=inactive'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `partners`
--
INSERT INTO `partners` (`id`, `name`, `logo`, `status`) VALUES
(1, 'Dell Inc', 'dell inc.jpg', 1),
(2, 'New Sun', 'new sun.png', 1),
(3, 'Splash Event', 'splash event.png', 1),
(4, 'Pertu Poppers', 'pertu poppers.png', 1),
(5, 'HP', 'hp.png', 1),
(6, 'Ubuntu Linux', 'ubuntu linux.png', 1);
-- --------------------------------------------------------
--
-- Table structure for table `portfolios`
--
CREATE TABLE `portfolios` (
`id` int(10) UNSIGNED NOT NULL,
`title` varchar(255) NOT NULL,
`category` varchar(255) NOT NULL,
`thumbnail` varchar(255) NOT NULL,
`featured_image` varchar(255) NOT NULL,
`summary` text NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '1=Active,2=Inactive;'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `portfolios`
--
INSERT INTO `portfolios` (`id`, `title`, `category`, `thumbnail`, `featured_image`, `summary`, `status`) VALUES
(6, 'HAMBLE TRIANGLE', 'DESIGN ', 'thumnail36219_16_pm_Apr_2021.jpg', 'featured_image24919_16_pm_Apr_2021.jpg', '<p><strong>Express</strong> <em>dolor </em>sit amet, consectetur adipiscing elit. Cras sollicitudin, tellus vitae condimem egestliberos dolor auctor tellus, eu consectetur neque elit quis nunc. Cras elementum pretiumi Nullam justo efficitur, trist ligula pellentesque ipsum. Quisque thsr augue ipsum, vehicula tellus maximus. Was popularised in the 1960s withs the release of Letraset sheets containing Lorem Ipsum passags, and more recently with desktop publishing software like Aldus PageMaker including versions.</p>\r\n\r\n<p>Rxpress dolor sit amet, consectetur adipiscing elit. Cras sollicitudin, tellus vitae condimem egestlibers dolosr auctor tellus, eu consectetur neque elit quis nunc. Cras elementum pretiumi Nullam justo efficitur, trist ligula pellentesque ipsum. Quisque thsr augue ipsum, vehicula tellus maximus.</p>\r\n', 1),
(7, 'HAMBLE TRIANGLE', 'DESIGN ', 'thumnail210403_37_pm_Apr_2021.jpg', 'featured_image18203_37_pm_Apr_2021.jpg', '<p><strong>Express</strong> <em>dolor </em>sit amet, consectetur adipiscing elit. Cras sollicitudin, tellus vitae condimem egestliberos dolor auctor tellus, eu consectetur neque elit quis nunc. Cras elementum pretiumi Nullam justo efficitur, trist ligula pellentesque ipsum. Quisque thsr augue ipsum, vehicula tellus maximus. Was popularised in</p>\r\n', 1);
-- --------------------------------------------------------
--
-- Table structure for table `services`
--
CREATE TABLE `services` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(50) NOT NULL,
`icon` varchar(50) NOT NULL,
`summery` text NOT NULL,
`status` varchar(20) NOT NULL DEFAULT 'active' COMMENT 'Active or Inactive'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `services`
--
INSERT INTO `services` (`id`, `name`, `icon`, `summery`, `status`) VALUES
(1, 'Creative Design', 'fab fa-react', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum indust.', 'active'),
(2, 'Unlimited Features', 'fab fa-free-code-camp', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum indust.', 'active');
-- --------------------------------------------------------
--
-- Table structure for table `settings`
--
CREATE TABLE `settings` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`image` varchar(255) NOT NULL DEFAULT 'tuhin.png',
`logo` varchar(255) DEFAULT 'logo.png',
`copyright` varchar(255) DEFAULT NULL,
`tagline` varchar(255) DEFAULT NULL,
`office_address` varchar(255) DEFAULT NULL,
`email` varchar(50) DEFAULT NULL,
`phone` bigint(20) DEFAULT NULL,
`about` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `settings`
--
INSERT INTO `settings` (`id`, `name`, `image`, `logo`, `copyright`, `tagline`, `office_address`, `email`, `phone`, `about`) VALUES
(1, 'Tariqul Islam Tuhin', 'tuhin.png', 'logo.png', 'Hello Kufa', 'Professional Web Development with long experience in the field.', 'Dhanmondi, Dhaka, 1205.', 'tarequlislam105150@gmail.com', 8801718404051, 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.');
-- --------------------------------------------------------
--
-- Table structure for table `socials`
--
CREATE TABLE `socials` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(50) NOT NULL,
`icon` varchar(255) NOT NULL,
`link` varchar(255) NOT NULL,
`status` varchar(255) DEFAULT 'active' COMMENT 'Active = 1 Inactive = 2'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `socials`
--
INSERT INTO `socials` (`id`, `name`, `icon`, `link`, `status`) VALUES
(1, 'Facebook', 'fab fa-facebook-f', 'https://fb.com/tarequlislamtuhin', 'active'),
(2, 'Twitter', 'fab fa-twitter', 'https://twitter.com/tituhin_', 'active'),
(3, 'GitHub', 'fab fa-github', 'https://github.com/tariqulislamtuhin', 'active'),
(4, 'Instagram', 'fab fa-instagram', 'https://instagram.com/tituhin/', 'active'),
(5, 'GitHub', 'fab fa-github', 'https://github.com/tituhin', 'active'),
(12, 'Linkedin', 'fab fa-linkedin', 'https://www.linkedin.com/in/tariqulisamtuhin/', 'active');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(11) UNSIGNED NOT NULL,
`name` varchar(255) DEFAULT NULL,
`email` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`status` int(1) NOT NULL DEFAULT 1 COMMENT '1 = Active, 2 = Inactive',
`role` int(1) NOT NULL DEFAULT 1 COMMENT '1 = User, 2 = Admin, 3= Employee',
`profileImage` varchar(255) NOT NULL DEFAULT 'default.png'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `password`, `status`, `role`, `profileImage`) VALUES
(1, 'Tuhin Islam', 'tarequlislam105150@gmail.com', '$2y$10$ntGSyhbojqkiPvqsrVipDuKOnfglVl8Pw2y24kXZpeNnPgIT7CpJi', 1, 1, '1.jpg'),
(2, 'Tuhin', 'tituhin1@gmail.com', '$2y$10$RFQZ0AAIzkGR.RP.9mJeo.cyljOjQIwZcaQ7qPj.wYKkH3ls38NMO', 1, 1, '2.jpg'),
(3, 'Tuhin', 'tarequlislam103286@gmail.com', '$2y$10$wIVGldTTs/Yps53.Qzave.Z8nAp8rhMk5Lww7qkfVUmJIl7Co6NgS', 1, 2, '3.jpg'),
(35, 'Tariqul Islam', 'tarequlislam5150@gmail.com', '$2y$10$M.RZlTwFNVc9zOt7FzmffuVLYUMGd7wSr/vyMLMc6a6IhYbmdCRL6', 1, 3, '35.jpg'),
(36, 'Tariqul Islam', 'tarequlislam1050@gmail.com', '$2y$10$.kM5YQ/uxlzrgYnleorwMeGGXKPpfEX7ThCbsam4AZFv2LI0teDKK', 1, 1, '36.jpg');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `education`
--
ALTER TABLE `education`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `messages`
--
ALTER TABLE `messages`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `partners`
--
ALTER TABLE `partners`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `portfolios`
--
ALTER TABLE `portfolios`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `services`
--
ALTER TABLE `services`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `settings`
--
ALTER TABLE `settings`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `socials`
--
ALTER TABLE `socials`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `link` (`link`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `email` (`email`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `education`
--
ALTER TABLE `education`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `messages`
--
ALTER TABLE `messages`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `partners`
--
ALTER TABLE `partners`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `portfolios`
--
ALTER TABLE `portfolios`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `services`
--
ALTER TABLE `services`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `socials`
--
ALTER TABLE `socials`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=37;
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 */;