-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpost (1).sql
More file actions
150 lines (123 loc) · 4.39 KB
/
Copy pathpost (1).sql
File metadata and controls
150 lines (123 loc) · 4.39 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
-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 24, 2023 at 03:04 AM
-- Server version: 10.4.28-MariaDB
-- PHP Version: 8.2.4
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: `post`
--
-- --------------------------------------------------------
--
-- Table structure for table `news`
--
CREATE TABLE `news` (
`id` int(11) NOT NULL,
`name` varchar(100) NOT NULL,
`news` varchar(500) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
--
-- Dumping data for table `news`
--
INSERT INTO `news` (`id`, `name`, `news`) VALUES
(8, 'S8UL E-Sport Award', 'We won an award for best content creater organization. in this nomination from all of the world team we be partisipated in the webeat 100theavs and won the award.'),
(13, 'New roster update', 'we wiil be announcening new updated roste for pubg new state.new roster player will be mortal, scout,omega,viper,aman. for the roster our menter wil be sid.'),
(15, 'Welcome S8ul snax', 'we welcome our new member s8ul snax as a content creater.');
-- --------------------------------------------------------
--
-- Table structure for table `post`
--
CREATE TABLE `post` (
`id` int(100) NOT NULL,
`name` varchar(100) NOT NULL,
`email` varchar(50) NOT NULL,
`number` bigint(10) NOT NULL,
`Shippingaddress` varchar(700) NOT NULL,
`p_name` varchar(20) NOT NULL,
`p_offerprice` int(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
--
-- Dumping data for table `post`
--
INSERT INTO `post` (`id`, `name`, `email`, `number`, `Shippingaddress`, `p_name`, `p_offerprice`) VALUES
(11, 'PRIYANSHU THAKAR', 'priyanshu24@gmail.com', 9265009925, '34, SHALIN-2, K-ROAD,', 'pinku', 700),
(12, 'PRIYANSHU THAKAR', 'priyanshu24@gmail.com', 9265009925, '34, SHALIN-2, K-ROAD,', 'pinku2', 400),
(13, 'PRIYANSHU THAKAR777', 'priyanshu24@gmail.com', 9265009925, '34, SHALIN-2, K-ROAD,', '', 0);
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(11) NOT NULL,
`role` varchar(15) NOT NULL DEFAULT 'Customer',
`name` varchar(15) NOT NULL,
`username` varchar(10) NOT NULL,
`password` varchar(16) NOT NULL,
`contact` bigint(11) NOT NULL,
`verified` tinyint(1) NOT NULL DEFAULT 0,
`deleted` tinyint(4) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `role`, `name`, `username`, `password`, `contact`, `verified`, `deleted`) VALUES
(1, 'Administrator', 'Admin 1', 'root', 'toor', 9898000000, 1, 0),
(2, 'Customer', 'Customer 1', 'user1', 'pass1', 9898000001, 1, 0),
(3, 'Customer', 'Customer 2', 'user2', 'pass2', 9898000002, 1, 0),
(4, 'Customer', 'Customer 3', 'user3', 'pass3', 9898000003, 0, 0),
(5, 'Customer', 'Customer 4', 'user4', 'pass4', 9898000004, 0, 1),
(6, 'Customer', 'jigisha ', 'jigisha123', 'jigisha123', 7980358250, 0, 0),
(7, 'Customer', 'hsjsjd', 'user6', 'pass6', 9408523751, 0, 0),
(8, 'Customer', 'jigisha surani', 'jigisha1', 'jigisha1', 7780358055, 0, 0),
(9, 'Customer', 'jigisha ', 'jigisha12', 'jigisha12', 6547383773, 0, 0);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `news`
--
ALTER TABLE `news`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `post`
--
ALTER TABLE `post`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `username` (`username`),
ADD UNIQUE KEY `id` (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `news`
--
ALTER TABLE `news`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;
--
-- AUTO_INCREMENT for table `post`
--
ALTER TABLE `post`
MODIFY `id` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
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 */;