-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `db761735886`
--
CREATE DATABASE IF NOT EXISTS `db761735886` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `db761735886`;

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

--
-- Table structure for table `tblImmigrationTest`
--

CREATE TABLE `tblImmigrationTest` (
  `id` int(9) NOT NULL,
  `UserId` int(9) NOT NULL,
  `Test` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `tblImmigrationTest`
--

INSERT INTO `tblImmigrationTest` (`id`, `UserId`, `Test`) VALUES
(1, 4, 'Life in the UK Test'),
(2, 4, 'B1 Test'),
(3, 4, 'Driving Theory Test'),
(4, 4, 'Spoken English'),
(5, 4, 'Certificate in spoken English'),
(6, 4, 'Certificate in Air Line Ticketing'),
(7, 5, 'Life in the UK Test'),
(8, 5, 'B1 Test'),
(9, 5, 'B2 Test'),
(10, 6, 'Life in the UK Test'),
(11, 6, 'B1 Test'),
(12, 6, 'B2 Test'),
(13, 7, 'Life in the UK Test'),
(14, 8, 'Life in the UK Test'),
(15, 8, 'B1 Test'),
(16, 8, 'B2 Test'),
(17, 10, 'Life in the UK Test');

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

--
-- Table structure for table `tblLanguageSupport`
--

CREATE TABLE `tblLanguageSupport` (
  `id` int(9) NOT NULL,
  `UserId` int(9) NOT NULL,
  `Language` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `tblLanguageSupport`
--

INSERT INTO `tblLanguageSupport` (`id`, `UserId`, `Language`) VALUES
(1, 4, 'Arabic'),
(2, 4, 'Punjabi'),
(3, 4, 'Tamil'),
(4, 5, 'Arabic'),
(5, 5, 'Bengali'),
(6, 5, 'Chinese'),
(7, 6, 'English'),
(8, 6, 'Hindi'),
(9, 6, 'Farsi'),
(10, 6, 'Punjabi'),
(11, 7, 'Arabic'),
(12, 7, 'Bengali'),
(13, 8, 'Arabic'),
(14, 8, 'Bengali'),
(15, 8, 'Chinese'),
(16, 10, 'Urdu');

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

--
-- Table structure for table `tblLifeSkill`
--

CREATE TABLE `tblLifeSkill` (
  `id` int(9) NOT NULL,
  `UserId` int(9) NOT NULL,
  `Training` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `tblLifeSkill`
--

INSERT INTO `tblLifeSkill` (`id`, `UserId`, `Training`) VALUES
(1, 5, 'Driving Theory Test'),
(2, 5, 'Spoken English'),
(3, 6, 'Driving Theory Test'),
(4, 6, 'Spoken English'),
(5, 7, 'Driving Theory Test'),
(6, 8, 'Spoken English'),
(7, 8, 'Basic computer Skills');

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

--
-- Table structure for table `tblRegister`
--

CREATE TABLE `tblRegister` (
  `id` int(9) NOT NULL,
  `first_name` varchar(50) NOT NULL,
  `middle_name` varchar(20) NOT NULL,
  `last_name` varchar(50) NOT NULL,
  `dob` date NOT NULL,
  `fb` int(50) NOT NULL,
  `email` varchar(50) NOT NULL,
  `phone` varchar(50) NOT NULL,
  `qual` varchar(50) NOT NULL,
  `country` varchar(50) NOT NULL,
  `address` text NOT NULL,
  `city` varchar(50) NOT NULL,
  `post_code` varchar(10) NOT NULL,
  `esol` varchar(3) NOT NULL,
  `apply_for` varchar(30) NOT NULL,
  `hear` varchar(30) NOT NULL,
  `extra_details` text NOT NULL,
  `dor` date NOT NULL,
  `status` tinyint(1) NOT NULL,
  `reg_ip` varchar(30) NOT NULL,
  `password` varchar(60) NOT NULL,
  `email_verify` tinytext NOT NULL,
  `activation_code` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `tblRegister`
--

INSERT INTO `tblRegister` (`id`, `first_name`, `middle_name`, `last_name`, `dob`, `fb`, `email`, `phone`, `qual`, `country`, `address`, `city`, `post_code`, `esol`, `apply_for`, `hear`, `extra_details`, `dor`, `status`, `reg_ip`, `password`, `email_verify`, `activation_code`) VALUES
(1, 'Sathish', 'B', 'chandran', '1974-12-29', 0, 'sathish.menon@gmail.com', '+919995876564', 'test', 'India', 'Krishna Kripa', 'Kochi', '682305', 'Yes', 'Citizenship', 'Array', 'test', '2017-02-04', 1, '0', '', '', ''),
(2, 'Sathish', 'B', 'chandran', '1974-12-29', 0, 'sathish.menon@gmail.com', '09995876564', 'test', 'India', 'Krishna Kripa, Balasubramonyom Road', 'Kochi', '682305', 'Yes', 'Citizenship', 'Array', 'test', '2017-02-04', 1, '0', '', '', ''),
(3, 'Sathish', 'B', 'chandran', '1974-12-29', 0, 'sathish.menon@gmail.com', '+919995876564', 'test', 'India', 'Krishna Kripa', 'Kochi', '682305', 'Yes', 'Citizenship', 'Array', 'test', '2017-02-04', 1, '0', '', '', ''),
(4, 'Sathish', 'B ', 'Chandran', '1974-12-29', 0, 'sathish.menon@gmail.com', '9995876564', 'test', 'India', 'Kochi', 'koerala', '682305', 'Yes', 'Citizenship', 'Flyer (Door), Flyer (Mosque), ', 'tst', '2017-02-06', 1, '0', '', '', ''),
(5, 'Sathish', 'B', 'Chandran', '1974-12-29', 0, 'sathish.menon@gmail.com', '9995876564', 'test', 'India', 'test', 'kerala', '682305', 'Yes', 'Citizenship', 'Flyer (Mosque), Friend referra', 'test', '2017-02-06', 1, '0', '', '', ''),
(6, 'Sathish', 'B', 'Chandran', '0000-00-00', 0, 'sathish.menon@gmail.com', '9995876564', 'test', 'India', 'test', 'kerala', '682305', 'Yes', 'Citizenship', 'Flyer (Mosque), Other, ', 'test', '2017-02-06', 1, '0', '', '', ''),
(7, 'sathish', 'b', 'chandran', '1974-12-29', 0, 'sathish.menon@gmail.com', '9995876564', 'test', 'India', 'test', 'test', '682305', 'Yes', 'N/A', 'Flyer (Door), Flyer (Mosque), ', 'test', '2017-02-06', 1, '0', '', '', ''),
(8, 'sathish', 'b', 'chandran', '1974-12-29', 0, 'sathish.menon@gmail.com', '9995876564', 'test', 'India', 'test', 'kerala', '682305', 'Yes', 'ILR ( Currently on Spouse visa', 'Flyer (Door), Flyer (Mosque), ', 'test', '2017-02-06', 1, '0', '', '', ''),
(9, 'Sfina', 'n/a', 'Ahmed', '0000-00-00', 0, 'sfina789@hotmail.co.uk', '07956124039', 'level 5', 'United Kingdom', '23 Arlington Road', 'Leeds', 'LS8  2RU', 'Yes', 'N/A', 'Other, ', 'I am interested in  the English functional skills course  level 2 certificate', '2017-06-01', 1, '0', '', '', ''),
(10, 'Muhammad ', '', 'Waqas', '0000-00-00', 0, 'mw199286@gmail.com', '07424664468', '', 'United Kingdom', '13 Sutherland terrace ', 'Leeds', 'Ls96dr ', 'Yes', 'Citizenship', 'Friend referral, ', '', '2017-10-19', 1, '0', '', '', '');

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

--
-- Table structure for table `tblWorkTraining`
--

CREATE TABLE `tblWorkTraining` (
  `id` int(9) NOT NULL,
  `UserId` int(9) NOT NULL,
  `Training` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `tblWorkTraining`
--

INSERT INTO `tblWorkTraining` (`id`, `UserId`, `Training`) VALUES
(1, 5, 'Certificate in spoken English'),
(2, 5, 'Certificate in Air Line Ticket'),
(3, 6, 'Certificate in spoken English'),
(4, 6, 'Certificate in Air Line Ticket'),
(5, 7, 'Certificate in spoken English'),
(6, 8, 'Certificate in Air Line Ticket'),
(7, 8, 'Certificate in Customer Servic');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `tblImmigrationTest`
--
ALTER TABLE `tblImmigrationTest`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblLanguageSupport`
--
ALTER TABLE `tblLanguageSupport`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblLifeSkill`
--
ALTER TABLE `tblLifeSkill`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblRegister`
--
ALTER TABLE `tblRegister`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblWorkTraining`
--
ALTER TABLE `tblWorkTraining`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `tblImmigrationTest`
--
ALTER TABLE `tblImmigrationTest`
  MODIFY `id` int(9) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT for table `tblLanguageSupport`
--
ALTER TABLE `tblLanguageSupport`
  MODIFY `id` int(9) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `tblLifeSkill`
--
ALTER TABLE `tblLifeSkill`
  MODIFY `id` int(9) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `tblRegister`
--
ALTER TABLE `tblRegister`
  MODIFY `id` int(9) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `tblWorkTraining`
--
ALTER TABLE `tblWorkTraining`
  MODIFY `id` int(9) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
COMMIT;

