Skip to content

Commit

Permalink
Database Changed
Browse files Browse the repository at this point in the history
  • Loading branch information
adyprajwal committed Jan 14, 2018
1 parent b7718d0 commit e391f9f
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 41 deletions.
48 changes: 7 additions & 41 deletions database/casdb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 08, 2018 at 06:16 PM
-- Generation Time: Jan 14, 2018 at 06:52 PM
-- Server version: 10.1.29-MariaDB
-- PHP Version: 7.2.0

Expand Down Expand Up @@ -39,17 +39,7 @@ CREATE TABLE `account` (
--

INSERT INTO `account` (`account_no`, `amount`, `u_id`) VALUES
(55, 0, 93),
(54, 0, 92),
(53, 270, 91),
(52, 0, 90),
(56, 0, 94),
(57, 0, 95),
(58, 0, 96),
(59, 60, 97),
(60, 0, 98),
(61, 0, 99),
(68, 0, 106);
(69, 0, 107);

-- --------------------------------------------------------

Expand Down Expand Up @@ -101,13 +91,6 @@ CREATE TABLE `cart` (
`clock` varchar(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `cart`
--

INSERT INTO `cart` (`item_id`, `u_id`, `food_id`, `quantity`, `status`, `update_date`, `update_time`, `clock`) VALUES
(22, 91, 10, 1, 0, '2018-01-08', '10:43:54', 'pm');

-- --------------------------------------------------------

--
Expand Down Expand Up @@ -197,15 +180,7 @@ CREATE TABLE `student` (
--

INSERT INTO `student` (`reg_id`, `first_name`, `last_name`, `u_id`, `photo`, `account_no`, `phone`, `gender`) VALUES
(784, 'Zena', 'Poudel', 106, 'Zena%20Poudel.JPG', 68, 9845567412, 'female'),
(789, 'Madan', 'Poudel', 90, '', 52, 45654458789, 'male'),
(385, 'Talank', 'Baral', 91, '', 53, 9840010300, 'male'),
(6511223, 'Ashish', 'Shrestha', 92, '', 54, 9806627492, 'male'),
(478, 'Prajwal', 'Adhikari', 94, '', 56, 9804125595, 'male'),
(785, 'Bibek', 'Thapa', 95, '', 57, 9850012033, 'male'),
(458, 'Ajit', 'Gauli', 96, '', 58, 9865412358, 'male'),
(456, 'Anchal', 'Ghale', 97, '', 59, 9856412304, 'male'),
(124, 'Apil', 'Bhattarai', 98, '', 60, 9874621584, 'male');
(123, 'Zombie', 'Boie', 107, 'zombieboie.png', 69, 9800010111, 'male');

-- --------------------------------------------------------

Expand Down Expand Up @@ -245,17 +220,8 @@ CREATE TABLE `user` (

INSERT INTO `user` (`u_id`, `username`, `password`, `type`, `email`, `forgot_pw_token`) VALUES
(82, 'canteen123', '5f4dcc3b5aa765d61d8327deb882cf99', 4, '[email protected]', NULL),
(92, 'elton_aasis', 'elton123', 0, '[email protected]', 'osig08twfbuhr3n'),
(91, 'Talank123', '5f4dcc3b5aa765d61d8327deb882cf99', 0, '[email protected]', NULL),
(89, 'college123', '5f4dcc3b5aa765d61d8327deb882cf99', 3, '[email protected]', NULL),
(90, 'Maddy123', 'maddy123', 0, '[email protected]', 'gf3yk016z8imdv5'),
(93, 'elton_aasis123', 'elton123', 0, '[email protected]', 'osig08twfbuhr3n'),
(94, 'prajwal123', '5f4dcc3b5aa765d61d8327deb882cf99', 0, '[email protected]', NULL),
(95, 'bibek123', '5f4dcc3b5aa765d61d8327deb882cf99', 0, '[email protected]', NULL),
(96, 'Ajit123', '5f4dcc3b5aa765d61d8327deb882cf99', 0, '[email protected]', NULL),
(97, 'Anchal123', '5f4dcc3b5aa765d61d8327deb882cf99', 0, '[email protected]', NULL),
(98, 'Apil123', '5f4dcc3b5aa765d61d8327deb882cf99', 0, '[email protected]', NULL),
(106, 'Zena123', '5f4dcc3b5aa765d61d8327deb882cf99', 0, '[email protected]', NULL);
(107, 'zombie123', '5f4dcc3b5aa765d61d8327deb882cf99', 0, '[email protected]', NULL);

--
-- Indexes for dumped tables
Expand Down Expand Up @@ -329,7 +295,7 @@ ALTER TABLE `user`
-- AUTO_INCREMENT for table `account`
--
ALTER TABLE `account`
MODIFY `account_no` int(4) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=69;
MODIFY `account_no` int(4) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=70;

--
-- AUTO_INCREMENT for table `beverage`
Expand All @@ -347,7 +313,7 @@ ALTER TABLE `canteen`
-- AUTO_INCREMENT for table `cart`
--
ALTER TABLE `cart`
MODIFY `item_id` int(6) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
MODIFY `item_id` int(6) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;

--
-- AUTO_INCREMENT for table `collegeadmin`
Expand Down Expand Up @@ -377,7 +343,7 @@ ALTER TABLE `teacher`
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `u_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=107;
MODIFY `u_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=108;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
Expand Down
Binary file added database/signup-info (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added database/signup-info (2).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions database/username-password.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Students
---------
username- zombie123
password- password

College_admin
--------------
username- college123
password- password

Canteen
---------
username- canteen123
password- password

Binary file removed images/users/DSC_0059.JPG
Binary file not shown.
Binary file removed images/users/DSC_0068.JPG
Binary file not shown.
Binary file removed images/users/DSC_80.jpg
Binary file not shown.
Binary file removed images/users/pp%20full%20photo.jpg
Binary file not shown.
Binary file removed images/users/uniform.JPG
Binary file not shown.
Binary file added images/users/zombieboie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e391f9f

Please sign in to comment.