-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebsite_users.sql
More file actions
116 lines (94 loc) · 3.16 KB
/
Copy pathwebsite_users.sql
File metadata and controls
116 lines (94 loc) · 3.16 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
-- phpMyAdmin SQL Dump
-- version 5.3.0-dev+20220511.c3fb567b13
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: May 30, 2022 at 09:58 PM
-- Server version: 10.4.24-MariaDB
-- PHP Version: 8.1.5
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: `website_users`
--
-- --------------------------------------------------------
--
-- Table structure for table `reported_cases`
--
CREATE TABLE `reported_cases` (
`Case_number` int(11) NOT NULL,
`Name` varchar(30) NOT NULL,
`Reporting_as` varchar(100) NOT NULL,
`Address` varchar(100) NOT NULL,
`Case` varchar(100) NOT NULL,
`Comment` longtext NOT NULL,
`Method_of_contact` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(11) NOT NULL,
`user_id` bigint(20) NOT NULL,
`Name` varchar(255) NOT NULL,
`Surname` varchar(255) NOT NULL,
`Email` varchar(255) NOT NULL,
`Cell_No` varchar(13) NOT NULL,
`Password` varchar(18) NOT NULL,
`Confirmed_Password` varchar(18) NOT NULL,
`Gender` varchar(7) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `user_id`, `Name`, `Surname`, `Email`, `Cell_No`, `Password`, `Confirmed_Password`, `Gender`) VALUES
(1, 4387, 'Jessica', 'Simmons', 'jessica@gmail.com', '0732459852', '1234', '1234', 'Female'),
(2, 7811, 'Jessica', 'Simmons', 'jessica@gmail.com', '0732459852', '1234', '1234', 'Female'),
(3, 43911, 'John', 'Swartz', 'John@gmail.com', '0738845625', '2022', '2022', 'Male'),
(4, 23764, 'David', 'Mhlongo', 'david@gmail.com', '0347856324', '3698', '3698', 'Male'),
(5, 849, 'Thapelo', 'Mokwana', 'TP@gmail.com', '0839985412', '0123', '0123', 'Male'),
(6, 63722, 'Maria', 'Mbatha', 'maria@gmail.com', '021145585', '4562', '4562', 'Female'),
(7, 386, 'LEO', 'MMMMM', 'jjjj@kjk', '0118546985', '4523', '4523', 'Male');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `reported_cases`
--
ALTER TABLE `reported_cases`
ADD PRIMARY KEY (`Case_number`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD KEY `id` (`id`),
ADD KEY `Name` (`Name`),
ADD KEY `Surname` (`Surname`),
ADD KEY `id_2` (`id`),
ADD KEY `Password` (`Password`),
ADD KEY `Confirmed_Password` (`Confirmed_Password`),
ADD KEY `user_id` (`user_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `reported_cases`
--
ALTER TABLE `reported_cases`
MODIFY `Case_number` int(11) NOT NULL AUTO_INCREMENT;
--
-- 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 */;