Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- phpMyAdmin SQL Dump
- -- version 4.7.3
- -- https://www.phpmyadmin.net/
- --
- -- Host: localhost:3306
- -- Generation Time: Oct 25, 2018 at 11:55 PM
- -- Server version: 5.6.35
- -- PHP Version: 7.1.1
- SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
- SET time_zone = "+00:00";
- --
- -- Database: `project_board`
- --
- -- --------------------------------------------------------
- --
- -- Table structure for table `admin_table`
- --
- CREATE TABLE `admin_table` (
- `admin_id` int(11) NOT NULL,
- `admin_username` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `admin_email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `admin_password` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL,
- `role` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- --
- -- Dumping data for table `admin_table`
- --
- INSERT INTO `admin_table` (`admin_id`, `admin_username`, `admin_email`, `admin_password`, `role`) VALUES
- (1, 'admin', 'admin@gmail.com', 'e10adc3949ba59abbe56e057f20f883e', 'admin');
- -- --------------------------------------------------------
- --
- -- Table structure for table `file`
- --
- CREATE TABLE `file` (
- `f_id` int(11) NOT NULL,
- `file_title` varchar(255) COLLATE utf32_unicode_ci NOT NULL,
- `proposal_id` int(11) NOT NULL,
- `file_path` varchar(1000) COLLATE utf32_unicode_ci NOT NULL,
- `file_type` varchar(50) COLLATE utf32_unicode_ci NOT NULL,
- `uploaded_by` int(11) NOT NULL,
- `create_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `file_details` varchar(1000) COLLATE utf32_unicode_ci NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf32 COLLATE=utf32_unicode_ci;
- --
- -- Dumping data for table `file`
- --
- INSERT INTO `file` (`f_id`, `file_title`, `proposal_id`, `file_path`, `file_type`, `uploaded_by`, `create_at`, `file_details`) VALUES
- (1, 'This is title ', 1, 'http://localhost/project-board(v3)/uploads/7ccd560ba2852de378c4efff5086fad9.pdf', 'pdf', 1203020005, '2018-10-22 10:06:18', 'This is details '),
- (2, 'This is title 2', 1, 'http://localhost/project-board(v3)/uploads/c886e5a4c495156ed486e1d6bb112dc6.jpg', 'jpg', 1203020005, '2018-10-22 10:06:52', 'This is details 2 ');
- -- --------------------------------------------------------
- --
- -- Table structure for table `link`
- --
- CREATE TABLE `link` (
- `linkid` int(11) NOT NULL,
- `link_title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `link_url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `student_id` int(11) NOT NULL,
- `proposal_id` int(11) NOT NULL,
- `link_create_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- --
- -- Dumping data for table `link`
- --
- INSERT INTO `link` (`linkid`, `link_title`, `link_url`, `student_id`, `proposal_id`, `link_create_at`) VALUES
- (1, 'My link', 'https://nadimlu.github.io/hamdard/index.html', 1203020005, 1, '2018-10-22 10:05:27');
- -- --------------------------------------------------------
- --
- -- Table structure for table `proposal`
- --
- CREATE TABLE `proposal` (
- `proposal_id` int(11) NOT NULL,
- `t_id` int(11) NOT NULL,
- `project_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `project_cat` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `course_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `project_abstract` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL,
- `project_objective` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL,
- `project_features` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL,
- `project_modules` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `project_tools` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL,
- `project_conclusion` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL,
- `request_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `accepted_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `rejected_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `project_status` tinyint(1) NOT NULL,
- `is_reffered` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,
- `t_comment` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- --
- -- Dumping data for table `proposal`
- --
- INSERT INTO `proposal` (`proposal_id`, `t_id`, `project_name`, `project_cat`, `course_code`, `project_abstract`, `project_objective`, `project_features`, `project_modules`, `project_tools`, `project_conclusion`, `request_time`, `accepted_at`, `rejected_at`, `project_status`, `is_reffered`, `t_comment`) VALUES
- (1, 1, 'Facebook Clone', 'Web Application Development', 'CSE-4400', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has su', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum', '2018-10-17 10:54:42', '2018-10-17 10:56:44', '2018-10-17 10:54:42', 1, '', 'This is a good Project ');
- -- --------------------------------------------------------
- --
- -- Table structure for table `referred_proposals`
- --
- CREATE TABLE `referred_proposals` (
- `r_p_id` int(11) NOT NULL,
- `t_id` int(11) NOT NULL,
- `proposal_id` int(11) NOT NULL,
- `refered_time` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- -- --------------------------------------------------------
- --
- -- Table structure for table `student`
- --
- CREATE TABLE `student` (
- `m_id` int(11) NOT NULL,
- `proposal_id` int(11) NOT NULL,
- `member_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `member_email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `member_student_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `team_leader` int(11) NOT NULL,
- `member_mobile_no` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `role` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- `status` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- --
- -- Dumping data for table `student`
- --
- INSERT INTO `student` (`m_id`, `proposal_id`, `member_name`, `member_email`, `member_student_id`, `team_leader`, `member_mobile_no`, `password`, `role`, `created_at`, `status`) VALUES
- (1, 1, 'Nadim', 'na146363@gmail.com', '1203020005', 0, '01731001333', 'e10adc3949ba59abbe56e057f20f883e', 'student', '2018-10-17 10:58:07', '1'),
- (2, 1, 'Shuvo Roy', 'shuvo@gmail.com', '1203020006', 0, '01671146363', 'e10adc3949ba59abbe56e057f20f883e', 'student', '2018-10-17 10:58:09', '1');
- -- --------------------------------------------------------
- --
- -- Table structure for table `student_email`
- --
- CREATE TABLE `student_email` (
- `id` int(11) NOT NULL,
- `student_id` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
- `student_email` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
- `status` int(11) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- --
- -- Dumping data for table `student_email`
- --
- INSERT INTO `student_email` (`id`, `student_id`, `student_email`, `status`) VALUES
- (1, '1203020005', 'na146363@gmail.com', 0),
- (2, '1203020006', 'shuvo@gmail.com', 0);
- -- --------------------------------------------------------
- --
- -- Table structure for table `sub_task`
- --
- CREATE TABLE `sub_task` (
- `subtask_id` int(11) NOT NULL,
- `task_id` int(11) NOT NULL,
- `subtask_headline` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `subtask_details` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL,
- `subcreate_at` datetime NOT NULL,
- `subtask_status` int(11) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- --
- -- Dumping data for table `sub_task`
- --
- INSERT INTO `sub_task` (`subtask_id`, `task_id`, `subtask_headline`, `subtask_details`, `subcreate_at`, `subtask_status`) VALUES
- (1, 1, 'This is sub task', 'this is details', '2018-10-24 15:49:18', 0);
- -- --------------------------------------------------------
- --
- -- Table structure for table `task`
- --
- CREATE TABLE `task` (
- `task_id` int(11) NOT NULL,
- `task_headline` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `task_details` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL,
- `t_id` int(11) NOT NULL,
- `proposal_id` int(11) NOT NULL,
- `create_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `completed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `task_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- --
- -- Dumping data for table `task`
- --
- INSERT INTO `task` (`task_id`, `task_headline`, `task_details`, `t_id`, `proposal_id`, `create_at`, `completed_at`, `task_status`) VALUES
- (1, 'This is task 1', 'THIS IS TASK ONE ', 1, 1, '2018-10-17 11:08:23', '2018-10-17 11:08:23', '0');
- -- --------------------------------------------------------
- --
- -- Table structure for table `teachers`
- --
- CREATE TABLE `teachers` (
- `t_id` int(11) UNSIGNED NOT NULL,
- `t_name` varchar(255) DEFAULT NULL,
- `t_email` varchar(255) NOT NULL,
- `t_password` varchar(255) NOT NULL,
- `role` varchar(255) NOT NULL,
- `t_post` varchar(255) NOT NULL,
- `t_mobile` varchar(255) NOT NULL,
- `status` int(11) NOT NULL COMMENT '1 for Active , 2 for Inactive',
- `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
- --
- -- Dumping data for table `teachers`
- --
- INSERT INTO `teachers` (`t_id`, `t_name`, `t_email`, `t_password`, `role`, `t_post`, `t_mobile`, `status`, `created_at`) VALUES
- (1, 'Nadim', 'na146363@gmail.com', 'e10adc3949ba59abbe56e057f20f883e', 'teacher', 'Lecturer', '01731001333', 1, '2018-10-17 10:52:20');
- --
- -- Indexes for dumped tables
- --
- --
- -- Indexes for table `admin_table`
- --
- ALTER TABLE `admin_table`
- ADD PRIMARY KEY (`admin_id`);
- --
- -- Indexes for table `file`
- --
- ALTER TABLE `file`
- ADD PRIMARY KEY (`f_id`);
- --
- -- Indexes for table `link`
- --
- ALTER TABLE `link`
- ADD PRIMARY KEY (`linkid`);
- --
- -- Indexes for table `proposal`
- --
- ALTER TABLE `proposal`
- ADD PRIMARY KEY (`proposal_id`);
- --
- -- Indexes for table `referred_proposals`
- --
- ALTER TABLE `referred_proposals`
- ADD PRIMARY KEY (`r_p_id`);
- --
- -- Indexes for table `student`
- --
- ALTER TABLE `student`
- ADD PRIMARY KEY (`m_id`);
- --
- -- Indexes for table `student_email`
- --
- ALTER TABLE `student_email`
- ADD PRIMARY KEY (`id`);
- --
- -- Indexes for table `sub_task`
- --
- ALTER TABLE `sub_task`
- ADD PRIMARY KEY (`subtask_id`);
- --
- -- Indexes for table `task`
- --
- ALTER TABLE `task`
- ADD PRIMARY KEY (`task_id`);
- --
- -- Indexes for table `teachers`
- --
- ALTER TABLE `teachers`
- ADD PRIMARY KEY (`t_id`);
- --
- -- AUTO_INCREMENT for dumped tables
- --
- --
- -- AUTO_INCREMENT for table `admin_table`
- --
- ALTER TABLE `admin_table`
- MODIFY `admin_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
- --
- -- AUTO_INCREMENT for table `file`
- --
- ALTER TABLE `file`
- MODIFY `f_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
- --
- -- AUTO_INCREMENT for table `link`
- --
- ALTER TABLE `link`
- MODIFY `linkid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
- --
- -- AUTO_INCREMENT for table `proposal`
- --
- ALTER TABLE `proposal`
- MODIFY `proposal_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
- --
- -- AUTO_INCREMENT for table `referred_proposals`
- --
- ALTER TABLE `referred_proposals`
- MODIFY `r_p_id` int(11) NOT NULL AUTO_INCREMENT;
- --
- -- AUTO_INCREMENT for table `student`
- --
- ALTER TABLE `student`
- MODIFY `m_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
- --
- -- AUTO_INCREMENT for table `student_email`
- --
- ALTER TABLE `student_email`
- MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
- --
- -- AUTO_INCREMENT for table `sub_task`
- --
- ALTER TABLE `sub_task`
- MODIFY `subtask_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
- --
- -- AUTO_INCREMENT for table `task`
- --
- ALTER TABLE `task`
- MODIFY `task_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
- --
- -- AUTO_INCREMENT for table `teachers`
- --
- ALTER TABLE `teachers`
- MODIFY `t_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement