-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMyClients.sql
More file actions
84 lines (68 loc) · 1.68 KB
/
MyClients.sql
File metadata and controls
84 lines (68 loc) · 1.68 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
-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Apr 06, 2019 at 04:24 PM
-- Server version: 5.7.23
-- PHP Version: 7.2.10
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `MyClients`
--
-- --------------------------------------------------------
--
-- Table structure for table `Clients`
--
CREATE TABLE `Clients` (
`ID` int(11) NOT NULL,
`Name` varchar(255) NOT NULL,
`Email` varchar(255) NOT NULL,
`Phone` varchar(255) NOT NULL,
`Address` varchar(255) NOT NULL,
`Company` varchar(255) NOT NULL,
`Notes` text NOT NULL,
`Date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `Users`
--
CREATE TABLE `Users` (
`ID` int(11) NOT NULL,
`Name` varchar(255) NOT NULL,
`Email` varchar(255) NOT NULL,
`Password` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `Users`
--
INSERT INTO `Users` (`ID`, `Name`, `Email`, `Password`) VALUES
(1, 'MuhaddiMu', 'Ask@Muhaddis.Info', '$2y$10$CEcxiqO2Toxo8N9REIDrMep/JsJs5qq8.PKtSHFAFrGpOj1nprNum');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `Clients`
--
ALTER TABLE `Clients`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `Users`
--
ALTER TABLE `Users`
ADD PRIMARY KEY (`ID`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `Clients`
--
ALTER TABLE `Clients`
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `Users`
--
ALTER TABLE `Users`
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;