-
Notifications
You must be signed in to change notification settings - Fork 1
/
mysql.sql
84 lines (65 loc) · 2.17 KB
/
mysql.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
-- phpMyAdmin SQL Dump
-- version 3.2.0.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Erstellungszeit: 30. Mai 2010 um 17:24
-- Server Version: 5.1.36
-- PHP-Version: 5.3.0
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!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 */;
--
-- Datenbank: `notremenage2`
--
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `buyings`
--
CREATE TABLE IF NOT EXISTS `buyings` (
`id` int(32) unsigned NOT NULL AUTO_INCREMENT,
`store_id` int(32) NOT NULL,
`date` int(32) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=399 ;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `productcategories`
--
CREATE TABLE IF NOT EXISTS `productcategories` (
`id` int(32) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `productpurchases`
--
CREATE TABLE IF NOT EXISTS `productpurchases` (
`id` int(32) unsigned NOT NULL AUTO_INCREMENT,
`buying_id` varchar(32) NOT NULL,
`product_id` int(32) NOT NULL,
`offprice` double NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3823 ;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `products`
--
CREATE TABLE IF NOT EXISTS `products` (
`id` int(32) unsigned NOT NULL AUTO_INCREMENT,
`productcategory_id` int(32) NOT NULL,
`title` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=252 ;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `stores`
--
CREATE TABLE IF NOT EXISTS `stores` (
`id` int(32) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=20 ;