-
Notifications
You must be signed in to change notification settings - Fork 0
/
student_society_portal.sql
194 lines (159 loc) · 6.31 KB
/
student_society_portal.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
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
-- phpMyAdmin SQL Dump
-- version 5.2.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 13, 2023 at 09:14 AM
-- Server version: 10.4.27-MariaDB
-- PHP Version: 8.1.12
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: `student_society_portal`
--
-- --------------------------------------------------------
--
-- Table structure for table `event`
--
CREATE TABLE `event` (
`id` int(11) NOT NULL,
`name` varchar(50) NOT NULL,
`date` varchar(20) NOT NULL,
`time` varchar(20) NOT NULL,
`speaker` varchar(50) NOT NULL,
`venue` varchar(100) NOT NULL,
`description` varchar(200) NOT NULL,
`image` varchar(200) NOT NULL,
`hide` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `event`
--
INSERT INTO `event` (`id`, `name`, `date`, `time`, `speaker`, `venue`, `description`, `image`, `hide`) VALUES
(18, 'Ice Breaking Ceremony', '26/01/2023', '10:30 am', 'Society Excom', 'G08', 'An Ice Breaking Session for the new volunteers', 'nothing_to_display.png', 1),
(19, 'Devops Workshop', '15/02/2023', '11:00 am', 'Sir Qasim Malik', 'EE Seminar Hall', 'Interactive and informative workshop on DevOps', 'devops event.png', 0);
-- --------------------------------------------------------
--
-- Table structure for table `event_highlights`
--
CREATE TABLE `event_highlights` (
`id` int(11) NOT NULL,
`name` varchar(50) NOT NULL,
`image` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `event_highlights`
--
INSERT INTO `event_highlights` (`id`, `name`, `image`) VALUES
(10, 'Expo', 'expo (4).jpg'),
(11, 'Interviews', '1st_sem3.jpg'),
(12, 'Arbisoft - Info Session', '57059880_1234013646757965_3527788357708939264_n.jpg'),
(13, 'Devsinc - Info Session', 'DSC_0250.JPG'),
(14, 'Devsinc - Info Session', 'DSC_0186.JPG'),
(15, 'Expo', '1st_sem3.jpg');
-- --------------------------------------------------------
--
-- Table structure for table `executive`
--
CREATE TABLE `executive` (
`id` int(6) NOT NULL,
`name` varchar(50) NOT NULL,
`registration_no` varchar(12) NOT NULL,
`role` varchar(20) NOT NULL,
`email` varchar(50) NOT NULL,
`contact` varchar(13) NOT NULL,
`password` varchar(50) NOT NULL,
`image` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `executive`
--
INSERT INTO `executive` (`id`, `name`, `registration_no`, `role`, `email`, `contact`, `password`, `image`) VALUES
(1, 'Arham Khan', 'FA18-BCS-023', 'President', '[email protected]', '+923365109825', 'arham123', 'president (2).png'),
(2, 'Alina Amir', 'FA21-BCS-063', 'Vice-President', '[email protected]', '+923365109825', 'alina123', 'vicePresident (3).png'),
(3, 'Hasan Asif', 'FA22-BCS-093', 'HR', '[email protected]', '+923325396542', 'hasan123', 'hr (2).png'),
(4, 'Hunia Nadeem', 'FA20-BCS-024', 'Media Lead', '[email protected]', '+923325396542', 'hun123', 'team-3 (2).jpg'),
(5, 'Fatima Tuzzahra', 'FA20-BCS-019', 'Content Lead', '[email protected]', '+923365109825', 'fatima123', '1650446049625 (2).jpg'),
(6, 'Amna Khan', 'FA20-BSE-100', 'Graphics Lead', '[email protected]', '+923365109825', '63c0f6573c1d6', 'media (4).png');
-- --------------------------------------------------------
--
-- Table structure for table `volunteer`
--
CREATE TABLE `volunteer` (
`id` int(6) NOT NULL,
`name` varchar(50) NOT NULL,
`registration_no` varchar(12) NOT NULL,
`email` varchar(50) NOT NULL,
`contact` varchar(13) NOT NULL,
`team` varchar(30) NOT NULL,
`goodfit_description` varchar(500) NOT NULL,
`pending` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `volunteer`
--
INSERT INTO `volunteer` (`id`, `name`, `registration_no`, `email`, `contact`, `team`, `goodfit_description`, `pending`) VALUES
(9, 'Emma Neil', 'FA19-BCS-033', '[email protected]', '03325396542', 'Media', 'ededw', 1),
(13, 'Ahmed Ali', 'FA20-BCS-032', '[email protected]', '+923454322123', 'Graphics', 'some answer', 0),
(14, 'Afnan Khan', 'FA21-BAF-098', '[email protected]', '+923098744579', 'Media', 'I want to join media team', 0),
(15, 'Usama Ahmed', 'SP19-BDS-078', '[email protected]', '+923098746623', 'Media', 'I want to join media team', 1),
(17, 'Ayan Khan', 'FA20-BCS-018', '[email protected]', '+923477652178', 'Graphics', 'I am good at graphic designing', 0),
(18, 'Eesha Shahid', 'FA20-BCS-014', '[email protected]', '+923098744523', 'Graphics', 'I am good at graphic designing', 1),
(19, 'Vania Majid', 'FA20-BCS-092', '[email protected]', '+923098744783', 'Content', 'I am a content writer', 0),
(20, 'Malaika Zafar', 'FA20-BCS-034', '[email protected]', '+923098744411', 'Content', 'I am good at content writing', 1),
(21, 'Hasan Reza', 'FA22-BDS-016', '[email protected]', '+923340101052', 'Content', 'I am good at content writing', 0);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `event`
--
ALTER TABLE `event`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `event_highlights`
--
ALTER TABLE `event_highlights`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `executive`
--
ALTER TABLE `executive`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `volunteer`
--
ALTER TABLE `volunteer`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `event`
--
ALTER TABLE `event`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;
--
-- AUTO_INCREMENT for table `event_highlights`
--
ALTER TABLE `event_highlights`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;
--
-- AUTO_INCREMENT for table `executive`
--
ALTER TABLE `executive`
MODIFY `id` int(6) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `volunteer`
--
ALTER TABLE `volunteer`
MODIFY `id` int(6) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;
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 */;