-- phpMyAdmin SQL Dump
-- version 3.5.2.2
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jul 06, 2015 at 01:16 PM
-- Server version: 5.5.27
-- PHP Version: 5.4.7
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 utf8 */;
--
-- Database: `fonebank`
--
-- --------------------------------------------------------
--
-- Table structure for table `businessacc`
--
CREATE TABLE IF NOT EXISTS `businessacc` (
`businessId` int(200) NOT NULL AUTO_INCREMENT,
`VATInvoice` varchar(100) NOT NULL,
`Name` varchar(200) NOT NULL,
`orgName` varchar(200) NOT NULL,
`sex` varchar(200) NOT NULL,
`email` varchar(200) NOT NULL,
`password` varchar(200) NOT NULL,
`branch` varchar(200) NOT NULL,
`address` varchar(200) NOT NULL,
`city` varchar(200) NOT NULL,
`country` varchar(200) NOT NULL,
`postcode` varchar(200) NOT NULL,
`contactNo` int(200) NOT NULL,
`aboutus` varchar(200) NOT NULL,
PRIMARY KEY (`businessId`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `businessacc`
--
INSERT INTO `businessacc` (`businessId`, `VATInvoice`, `Name`, `orgName`, `sex`, `email`, `password`, `branch`, `address`, `city`, `country`, `postcode`, `contactNo`, `aboutus`) VALUES
(1, 'gfd', 'fgbf', 'fgf', 'ff', 'fggfdgdfg@gmail.com', 'ggggggg', 'gfx', 'gdhdh', 'gxfc', 'gfhdc', '6564', 5675, 'hjmkj,');
-- --------------------------------------------------------
--
-- Table structure for table `category`
--
CREATE TABLE IF NOT EXISTS `category` (
`categoryId` int(225) NOT NULL AUTO_INCREMENT,
`categoryName` varchar(200) NOT NULL,
PRIMARY KEY (`categoryId`),
UNIQUE KEY `categoryName` (`categoryName`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
--
-- Dumping data for table `category`
--
INSERT INTO `category` (`categoryId`, `categoryName`) VALUES
(2, 'ewfddgsfd'),
(1, 'qwwqw'),
(3, 'sony');
-- --------------------------------------------------------
--
-- Table structure for table `details`
--
CREATE TABLE IF NOT EXISTS `details` (
`userId` int(225) NOT NULL AUTO_INCREMENT,
`firstName` varchar(150) NOT NULL,
`lastName` varchar(150) NOT NULL,
`sex` varchar(100) NOT NULL,
`email` varchar(100) NOT NULL,
`password` varchar(100) NOT NULL,
`address` varchar(100) NOT NULL,
`city` varchar(100) NOT NULL,
`country` varchar(100) NOT NULL,
`pastcode` varchar(100) NOT NULL,
`contactNo` int(100) NOT NULL,
`aboutUs` varchar(100) NOT NULL,
PRIMARY KEY (`userId`),
UNIQUE KEY `email` (`email`),
UNIQUE KEY `contactNo` (`contactNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;
--
-- Dumping data for table `details`
--
INSERT INTO `details` (`userId`, `firstName`, `lastName`, `sex`, `email`, `password`, `address`, `city`, `country`, `pastcode`, `contactNo`, `aboutUs`) VALUES
(1, 'wfwsfw', 'dfgdseg', 'erge', 'rg@gmail.com', 'ewwrwr', 'sgea', 'sdgaewr', 'sdge', '34534534', 245222, 'dfg fgdrh dhrhr'),
(2, 'fgdf', 'dfdfg', 'fddfgf', 'fggfdgdfg@gmail.com', 'ewewewrwr', 'wrweretretret gfr', 'ertet', 'degteyee', '65465463656', 2147483647, 'cvfdgvdfgg fdgrg gegrt'),
(5, 'gregreghe', 'dfbhdgtrhstrthe', 'eererr', 'rgeaerae@gmail.com', 'ewqdwefeweq', 'qdfqwef wedwf', 'sdfwe', 'wefwe', '432342', 33343, 'axdwaeewrwerf');
-- --------------------------------------------------------
--
-- Table structure for table `feedback`
--
CREATE TABLE IF NOT EXISTS `feedback` (
`feedbackId` int(100) NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL,
`date` varchar(100) NOT NULL,
`feedback` varchar(900) NOT NULL,
PRIMARY KEY (`feedbackId`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `feedback`
--
INSERT INTO `feedback` (`feedbackId`, `name`, `date`, `feedback`) VALUES
(1, 'sdfgsg', '11-11-2000', 'Your password and setup instructions will be e-mailed to you automatically. You''ll get high speed, high availability, hosted site search engine technology from the company that pioneered the field.');
-- --------------------------------------------------------
--
-- Table structure for table `news`
--
CREATE TABLE IF NOT EXISTS `news` (
`newsId` int(100) NOT NULL AUTO_INCREMENT,
`date` varchar(100) NOT NULL,
`heading` varchar(300) NOT NULL,
`description` varchar(900) NOT NULL,
PRIMARY KEY (`newsId`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
--
-- Dumping data for table `news`
--
INSERT INTO `news` (`newsId`, `date`, `heading`, `description`) VALUES
(1, '12-01-1992', 'jsdgfd shfgh hsfbghsdg hsfbg hsdgf', 'Reports on practice inventory, and expenses are available at the touch of a button. Any number of users, with different permissions, can be set up in the system and tied to any number of locations. Practice invoices can be reviewed/approved at various levels of an organization.'),
(2, '12-01-1992', 'jsdgfd shfgh hsfbghsdg hsfbg hsdgf', 'Reports on practice inventory, and expenses are available at the touch of a button. Any number of users, with different permissions, can be set up in the system and tied to any number of locations. Practice invoices can be reviewed/approved at various levels of an organization.');
-- --------------------------------------------------------
--
-- Table structure for table `product`
--
CREATE TABLE IF NOT EXISTS `product` (
`productId` int(225) NOT NULL AUTO_INCREMENT,
`deviceName` varchar(200) NOT NULL,
`image` longtext NOT NULL,
`categoryName` varchar(225) NOT NULL,
`condition` varchar(100) NOT NULL,
`qty` int(225) NOT NULL,
`IMEI` int(15) NOT NULL,
`payment` varchar(100) NOT NULL,
`price` float NOT NULL,
PRIMARY KEY (`productId`),
UNIQUE KEY `IMEI` (`IMEI`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
--
-- Dumping data for table `product`
--
INSERT INTO `product` (`productId`, `deviceName`, `image`, `categoryName`, `condition`, `qty`, `IMEI`, `payment`, `price`) VALUES
(1, 'sdfsf', '', '1', 'fgsg', 5, 454353536, 'cheque', 435),
(2, 'gtuuutfuf', 'gug/fytf/guf', '4', 'kggi', 66676, 2147483647, 'hghg', 555);
/*!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 */;