-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jun 10, 2019 at 01:46 PM
-- Server version: 10.1.19-MariaDB
-- PHP Version: 7.2.12

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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: `special_services_exams`
--

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

--
-- Table structure for table `bdedu_students`
--

CREATE TABLE `bdedu_students` (
  `student_row_id` int(11) UNSIGNED NOT NULL,
  `student_id` bigint(20) DEFAULT NULL,
  `student_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `student_name_bangla` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `student_password_text` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `school_row_id` int(11) NOT NULL,
  `current_session` int(3) DEFAULT NULL,
  `current_class` tinyint(1) NOT NULL,
  `current_shift` tinyint(1) NOT NULL DEFAULT '1',
  `current_department` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1=General, 2= Science, 3=Arts, 4=commerce, 5=other',
  `current_section` int(11) DEFAULT NULL,
  `current_rollnumber` int(11) DEFAULT NULL,
  `contact` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `student_photo` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `student_phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `student_gender` tinyint(1) NOT NULL,
  `student_blood_group` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `student_religion` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `nationality` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `father_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `mother_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `student_dob` date DEFAULT NULL,
  `admission_date` date DEFAULT NULL,
  `guardian_row_id` int(11) DEFAULT NULL,
  `guardian_login_row_id` int(11) DEFAULT NULL,
  `remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `active_status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0 = inactive, 1 = active',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `bdedu_students`
--
ALTER TABLE `bdedu_students`
  ADD PRIMARY KEY (`student_row_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `bdedu_students`
--
ALTER TABLE `bdedu_students`
  MODIFY `student_row_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;
/*!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 */;
