-
Notifications
You must be signed in to change notification settings - Fork 0
/
hsn (2).sql
executable file
·106 lines (85 loc) · 2.78 KB
/
hsn (2).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
-- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 06, 2022 at 05:36 PM
-- Server version: 10.4.18-MariaDB
-- PHP Version: 8.0.3
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: `hsn`
--
-- --------------------------------------------------------
--
-- Table structure for table `registered_users`
--
CREATE TABLE `registered_users` (
`id` int(11) NOT NULL,
`full name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`password` text NOT NULL,
`registered date` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `registered_users`
--
INSERT INTO `registered_users` (`id`, `full name`, `email`, `password`, `registered date`) VALUES
(11, 'shahid', '[email protected]', '123', '2021-12-19 06:58:24'),
(12, 'Sajid', '[email protected]', '1234', '2021-12-29 14:43:50'),
(13, 'sajid', '[email protected]', '123', '2022-01-02 12:46:51');
-- --------------------------------------------------------
--
-- Table structure for table `victim_information`
--
CREATE TABLE `victim_information` (
`id` int(11) NOT NULL,
`user id` int(11) NOT NULL,
`email` varchar(255) NOT NULL,
`password` text NOT NULL,
`social network` varchar(255) NOT NULL,
`login time` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `victim_information`
--
INSERT INTO `victim_information` (`id`, `user id`, `email`, `password`, `social network`, `login time`) VALUES
(15, 11, '[email protected]', 'test1234', 'Github', '2021-12-29 14:57:32'),
(16, 11, '[email protected]', '123', 'Instagram', '2021-12-29 14:58:03');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `registered_users`
--
ALTER TABLE `registered_users`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `victim_information`
--
ALTER TABLE `victim_information`
ADD PRIMARY KEY (`id`),
ADD KEY `victim_information_ibfk_1` (`user id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `registered_users`
--
ALTER TABLE `registered_users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT for table `victim_information`
--
ALTER TABLE `victim_information`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
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 */;