Skip to content

Commit d1b048a

Browse files
committed
Initial commit
1 parent dba33f6 commit d1b048a

File tree

1 file changed

+189
-0
lines changed

1 file changed

+189
-0
lines changed

Diff for: schoolapp.sql

+189
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,189 @@
1+
-- phpMyAdmin SQL Dump
2+
-- version 4.9.0.1
3+
-- https://www.phpmyadmin.net/
4+
--
5+
-- Host: 127.0.0.1
6+
-- Generation Time: Jul 02, 2019 at 07:36 PM
7+
-- Server version: 10.3.15-MariaDB
8+
-- PHP Version: 7.3.6
9+
10+
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
11+
SET AUTOCOMMIT = 0;
12+
START TRANSACTION;
13+
SET time_zone = "+00:00";
14+
15+
16+
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
17+
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
18+
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
19+
/*!40101 SET NAMES utf8mb4 */;
20+
21+
--
22+
-- Database: `schoolapp`
23+
--
24+
25+
-- --------------------------------------------------------
26+
27+
--
28+
-- Table structure for table `migrations`
29+
--
30+
31+
CREATE TABLE `migrations` (
32+
`id` int(10) UNSIGNED NOT NULL,
33+
`migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
34+
`batch` int(11) NOT NULL
35+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
36+
37+
--
38+
-- Dumping data for table `migrations`
39+
--
40+
41+
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
42+
(1, '2014_10_12_000000_create_users_table', 1),
43+
(2, '2014_10_12_100000_create_password_resets_table', 1),
44+
(3, '2018_05_29_081348_create_verify_users_table', 1),
45+
(4, '2019_06_16_075207_create_students_table', 1);
46+
47+
-- --------------------------------------------------------
48+
49+
--
50+
-- Table structure for table `password_resets`
51+
--
52+
53+
CREATE TABLE `password_resets` (
54+
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
55+
`token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
56+
`created_at` timestamp NULL DEFAULT NULL
57+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
58+
59+
-- --------------------------------------------------------
60+
61+
--
62+
-- Table structure for table `students`
63+
--
64+
65+
CREATE TABLE `students` (
66+
`id` int(11) NOT NULL,
67+
`studname` varchar(30) NOT NULL,
68+
`dob` date NOT NULL,
69+
`class` int(2) NOT NULL,
70+
`gender` varchar(10) NOT NULL COMMENT '1=male, 0=female',
71+
`status` varchar(20) NOT NULL COMMENT 'sponsered or unsponsered',
72+
`district` varchar(35) NOT NULL,
73+
`state` varchar(50) NOT NULL,
74+
`donor` varchar(30) DEFAULT NULL,
75+
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
76+
`updated_at` timestamp NOT NULL DEFAULT current_timestamp()
77+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
78+
79+
--
80+
-- Dumping data for table `students`
81+
--
82+
83+
INSERT INTO `students` (`id`, `studname`, `dob`, `class`, `gender`, `status`, `district`, `state`, `donor`, `created_at`, `updated_at`) VALUES
84+
(2, 'Amit Kumar', '2011-05-06', 10, 'Male', 'Unsponsered', 'Thane', 'Maharashtra', 'Ajay Rane', '2019-07-02 09:23:07', '2019-06-30 03:07:09'),
85+
(3, 'Amit Jaiwal', '2012-12-23', 9, 'Male', 'Sponsered', 'Thane', 'Kerala', 'Maitali Chitre', '2019-07-02 09:23:27', '2019-06-30 03:03:40'),
86+
(4, 'Rahul Pandey', '2013-12-12', 8, 'Male', 'Unsponsered', 'Thane', 'Gujarat', 'Ashish Triwedi', '2019-07-02 09:23:35', '2019-06-30 10:57:27'),
87+
(5, 'Smriti Rane', '2008-05-08', 10, 'Female', 'Sponsered', 'Thane', 'Maharashtra', 'Amit Rahane', '2019-07-02 09:22:30', '2019-06-30 10:57:27'),
88+
(6, 'Angelica Ramos', '2011-02-26', 10, 'Female', 'Sponsered', 'Kota', 'Rajasthan', 'Caesar Vance ', '2019-07-02 09:33:06', '2019-07-02 09:26:42'),
89+
(7, 'Brenden Wagner ', '2014-02-22', 5, 'Male', 'Sponsered', 'Maharashtra', 'Pune', 'Ashton Cox ', '2019-07-02 09:26:42', '2019-07-02 09:26:42'),
90+
(8, 'Charde Marshall', '2009-06-05', 11, 'Male', 'Sponsered', 'Kochin', 'Tamil Nadu', 'Garrett Winters', '2019-07-02 09:32:11', '2019-07-02 09:32:11'),
91+
(9, 'Donna Snider', '2009-08-29', 10, 'Male', 'Unsponsered', 'Mumbai', 'Maharashtra', 'Fiona Green', '2019-07-02 09:32:11', '2019-07-02 09:32:11'),
92+
(10, 'Hermione Butler', '2015-01-31', 2, 'Female', 'Unsponsered', 'Hubli', 'Kolkata', 'Jena Gaines ', '2019-07-02 09:33:24', '2019-07-02 09:32:11'),
93+
(11, 'Jenette Caldwell ', '2010-12-23', 10, 'Male', 'Sponsered', 'Noida', 'Delhi', 'Howard Hatfield ', '2019-07-02 09:32:11', '2019-07-02 09:32:11'),
94+
(12, 'Christina Milan', '2013-12-01', 8, 'Male', 'Unsponsered', 'Delhi', 'Gurgaon', 'Paul Sandy', '2019-07-02 09:36:30', '2019-07-02 09:36:30'),
95+
(13, 'Siddhesh Patel', '2014-02-28', 4, 'Male', 'Sponserd', 'Maharashtra', 'Pune', 'Michael Silva ', '2019-07-02 09:36:30', '2019-07-02 09:36:30');
96+
97+
-- --------------------------------------------------------
98+
99+
--
100+
-- Table structure for table `users`
101+
--
102+
103+
CREATE TABLE `users` (
104+
`id` int(10) UNSIGNED NOT NULL,
105+
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
106+
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
107+
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
108+
`verified` tinyint(1) NOT NULL DEFAULT 0,
109+
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
110+
`created_at` timestamp NULL DEFAULT NULL,
111+
`updated_at` timestamp NULL DEFAULT NULL
112+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
113+
114+
-- --------------------------------------------------------
115+
116+
--
117+
-- Table structure for table `verify_users`
118+
--
119+
120+
CREATE TABLE `verify_users` (
121+
`user_id` int(11) NOT NULL,
122+
`token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
123+
`created_at` timestamp NULL DEFAULT NULL,
124+
`updated_at` timestamp NULL DEFAULT NULL
125+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
126+
127+
--
128+
-- Dumping data for table `verify_users`
129+
--
130+
131+
INSERT INTO `verify_users` (`user_id`, `token`, `created_at`, `updated_at`) VALUES
132+
(1, 'c33cae393e9da70a9657a846dfe214acdf513a11', '2019-06-14 07:35:23', '2019-06-14 07:35:23'),
133+
(2, 'c5c2ad41f7428ca8fcdac11a8af7094c73947383', '2019-06-14 07:39:13', '2019-06-14 07:39:13');
134+
135+
--
136+
-- Indexes for dumped tables
137+
--
138+
139+
--
140+
-- Indexes for table `migrations`
141+
--
142+
ALTER TABLE `migrations`
143+
ADD PRIMARY KEY (`id`);
144+
145+
--
146+
-- Indexes for table `password_resets`
147+
--
148+
ALTER TABLE `password_resets`
149+
ADD KEY `password_resets_email_index` (`email`);
150+
151+
--
152+
-- Indexes for table `students`
153+
--
154+
ALTER TABLE `students`
155+
ADD PRIMARY KEY (`id`);
156+
157+
--
158+
-- Indexes for table `users`
159+
--
160+
ALTER TABLE `users`
161+
ADD PRIMARY KEY (`id`),
162+
ADD UNIQUE KEY `users_email_unique` (`email`);
163+
164+
--
165+
-- AUTO_INCREMENT for dumped tables
166+
--
167+
168+
--
169+
-- AUTO_INCREMENT for table `migrations`
170+
--
171+
ALTER TABLE `migrations`
172+
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
173+
174+
--
175+
-- AUTO_INCREMENT for table `students`
176+
--
177+
ALTER TABLE `students`
178+
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
179+
180+
--
181+
-- AUTO_INCREMENT for table `users`
182+
--
183+
ALTER TABLE `users`
184+
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
185+
COMMIT;
186+
187+
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
188+
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
189+
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

0 commit comments

Comments
 (0)