Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- phpMyAdmin SQL Dump
- -- version 4.6.6deb5
- -- https://www.phpmyadmin.net/
- --
- -- Host: localhost:3306
- -- Generation Time: Dec 30, 2019 at 02:09 PM
- -- Server version: 5.7.28-0ubuntu0.16.04.2
- -- PHP Version: 7.2.19-0ubuntu0.18.10.1
- 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: `backend`
- --
- -- --------------------------------------------------------
- --
- -- Table structure for table `products`
- --
- CREATE TABLE `products` (
- `product_id` int(11) NOT NULL,
- `gender` varchar(255) DEFAULT NULL,
- `category_id` int(11) NOT NULL,
- `group_id` varchar(255) NOT NULL,
- `gem_group_id` varchar(255) NOT NULL,
- `gem_id` int(11) NOT NULL,
- `name` varchar(255) NOT NULL,
- `metal_color` varchar(255) NOT NULL,
- `sku` varchar(255) DEFAULT NULL,
- `fake_sku` varchar(255) NOT NULL,
- `desp` text,
- `short` text,
- `stones` varchar(255) DEFAULT NULL,
- `shape` varchar(255) DEFAULT NULL,
- `grade` varchar(255) DEFAULT NULL,
- `color` varchar(255) DEFAULT NULL,
- `clarity` varchar(255) DEFAULT NULL,
- `weight` varchar(255) DEFAULT NULL,
- `discount` varchar(255) DEFAULT NULL,
- `price` decimal(10,2) NOT NULL DEFAULT '0.00',
- `sale_price` decimal(10,2) NOT NULL DEFAULT '0.00',
- `status` enum('active','inactive','delete') NOT NULL DEFAULT 'active',
- `slug` varchar(255) DEFAULT NULL,
- `meta_title` varchar(225) DEFAULT NULL,
- `meta_keywords` varchar(225) DEFAULT NULL,
- `meta_desp` varchar(225) DEFAULT NULL,
- `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- --
- -- Indexes for dumped tables
- --
- --
- -- Indexes for table `products`
- --
- ALTER TABLE `products`
- ADD PRIMARY KEY (`product_id`),
- ADD KEY `group_id` (`group_id`),
- ADD KEY `gem_group_id` (`gem_group_id`),
- ADD KEY `metal_color` (`metal_color`),
- ADD KEY `price` (`price`),
- ADD KEY `sale_price` (`sale_price`),
- ADD KEY `name` (`name`);
- --
- -- AUTO_INCREMENT for dumped tables
- --
- --
- -- AUTO_INCREMENT for table `products`
- --
- ALTER TABLE `products`
- MODIFY `product_id` int(11) 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 */;
Add Comment
Please, Sign In to add comment