You are on page 1of 3

-- phpMyAdmin SQL Dump

-- version 4.5.1

-- http://www.phpmyadmin.net

--

-- Host: 127.0.0.1

-- Generation Time: Jan 25, 2017 at 07:37 PM

-- Server version: 10.1.19-MariaDB

-- PHP Version: 5.5.38

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: `js_crud`

--

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

--

-- Table structure for table `products`

--
CREATE TABLE `products` (

`id` int(11) NOT NULL,

`sku` int(50) NOT NULL,

`name` varchar(100) NOT NULL,

`price` double NOT NULL,

`mrp` double NOT NULL,

`description` varchar(500) NOT NULL,

`packing` varchar(50) NOT NULL,

`image` varchar(200) NOT NULL,

`category` int(11) NOT NULL,

`stock` int(11) NOT NULL,

`status` varchar(10) NOT NULL

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--

-- Dumping data for table `products`

--

INSERT INTO `products` (`id`, `sku`, `name`, `price`, `mrp`, `description`, `packing`, `image`,
`category`, `stock`, `status`) VALUES

(952, 0, 'Handphone', 1000000, 0, 'Samsung', '2', '', 0, 9, 'Active');

--

-- Indexes for dumped tables

--

--
-- Indexes for table `products`

--

ALTER TABLE `products`

ADD PRIMARY KEY (`id`);

--

-- AUTO_INCREMENT for dumped tables

--

--

-- AUTO_INCREMENT for table `products`

--

ALTER TABLE `products`

MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=953;

/*!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 */;

You might also like