-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdb_dump.sql
56 lines (47 loc) · 1.19 KB
/
db_dump.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
-- phpMyAdmin SQL Dump
-- version 4.7.3
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Feb 23, 2018 at 07:14 PM
-- Server version: 5.6.35
-- PHP Version: 7.1.8
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `vk-test`
--
CREATE DATABASE IF NOT EXISTS `vk-test` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `vk-test`;
-- --------------------------------------------------------
--
-- Table structure for table `goods`
--
CREATE TABLE `goods` (
`ID` int(11) UNSIGNED NOT NULL,
`Name` varchar(50) NOT NULL DEFAULT '',
`Description` varchar(400) NOT NULL DEFAULT '',
`Price` decimal(10,2) UNSIGNED NOT NULL,
`PhotoURL` varchar(100) NOT NULL DEFAULT '',
`Deleted` tinyint(1) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `goods`
--
ALTER TABLE `goods`
ADD PRIMARY KEY (`ID`),
ADD KEY `Price` (`Price`),
ADD KEY `ID` (`ID`),
ADD KEY `Name` (`Name`),
ADD KEY `Deleted` (`Deleted`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `goods`
--
ALTER TABLE `goods`
MODIFY `ID` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;