belgiumwebnet

attribute

Dec 30th, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 1.77 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.6.6deb5
  3. -- https://www.phpmyadmin.net/
  4. --
  5. -- Host: localhost:3306
  6. -- Generation Time: Dec 30, 2019 at 02:05 PM
  7. -- Server version: 5.7.28-0ubuntu0.16.04.2
  8. -- PHP Version: 7.2.19-0ubuntu0.18.10.1
  9.  
  10. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  11. SET time_zone = "+00:00";
  12.  
  13.  
  14. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  15. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  16. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  17. /*!40101 SET NAMES utf8mb4 */;
  18.  
  19. --
  20. -- Database: `backend`
  21. --
  22.  
  23. -- --------------------------------------------------------
  24.  
  25. --
  26. -- Table structure for table `attribute`
  27. --
  28.  
  29. CREATE TABLE `attribute` (
  30.   `attribute_id` int(11) NOT NULL,
  31.   `category_id` varchar(255) DEFAULT '0',
  32.   `name` varchar(255) NOT NULL,
  33.   `parent_only` int(11) NOT NULL DEFAULT '0',
  34.   `status` int(11) NOT NULL DEFAULT '0',
  35.   `display_tag` varchar(255) NOT NULL,
  36.   `display_as` int(11) NOT NULL COMMENT '1: display as multiple checkboxes in select , 2: if shows as a carat slider with min and max values',
  37.   `enable_filter` int(11) NOT NULL COMMENT '1 IF Filter is enable for this attribute',
  38.   `show_in_admin` int(11) NOT NULL DEFAULT '1'
  39. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  40.  
  41. --
  42. -- Indexes for dumped tables
  43. --
  44.  
  45. --
  46. -- Indexes for table `attribute`
  47. --
  48. ALTER TABLE `attribute`
  49.   ADD PRIMARY KEY (`attribute_id`);
  50.  
  51. --
  52. -- AUTO_INCREMENT for dumped tables
  53. --
  54.  
  55. --
  56. -- AUTO_INCREMENT for table `attribute`
  57. --
  58. ALTER TABLE `attribute`
  59.   MODIFY `attribute_id` int(11) NOT NULL AUTO_INCREMENT;
  60. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  61. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  62. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Add Comment
Please, Sign In to add comment