1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-04 21:28:02 +02:00
This commit is contained in:
David Grudl
2014-06-30 14:50:04 +02:00
parent c9944b3886
commit 1c386d5582
3 changed files with 3 additions and 60 deletions

View File

@@ -1,26 +1,11 @@
-- phpMyAdmin SQL Dump -- MySQL: 5.0.45
-- version 2.11.1.2
-- http://www.phpmyadmin.net
--
-- Po<50><6F>ta<74>: localhost
-- Vygenerov<6F>no: Ned<65>le 02. prosince 2007, 19:49
-- Verze MySQL: 5.0.45
-- Verze PHP: 5.2.1
SET FOREIGN_KEY_CHECKS=0; SET FOREIGN_KEY_CHECKS=0;
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- Datab<61>ze: `dibi`
--
-- -------------------------------------------------------- -- --------------------------------------------------------
--
-- Struktura tabulky `customers`
--
DROP TABLE IF EXISTS `customers`; DROP TABLE IF EXISTS `customers`;
CREATE TABLE IF NOT EXISTS `customers` ( CREATE TABLE IF NOT EXISTS `customers` (
`customer_id` int(11) NOT NULL auto_increment, `customer_id` int(11) NOT NULL auto_increment,
@@ -28,9 +13,6 @@ CREATE TABLE IF NOT EXISTS `customers` (
PRIMARY KEY (`customer_id`) PRIMARY KEY (`customer_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ; ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;
--
-- Vypisuji data pro tabulku `customers`
--
INSERT INTO `customers` (`customer_id`, `name`) VALUES INSERT INTO `customers` (`customer_id`, `name`) VALUES
(1, 'Dave Lister'), (1, 'Dave Lister'),
@@ -42,10 +24,6 @@ INSERT INTO `customers` (`customer_id`, `name`) VALUES
-- -------------------------------------------------------- -- --------------------------------------------------------
--
-- Struktura tabulky `enumtest`
--
DROP TABLE IF EXISTS `enumtest`; DROP TABLE IF EXISTS `enumtest`;
CREATE TABLE IF NOT EXISTS `enumtest` ( CREATE TABLE IF NOT EXISTS `enumtest` (
`id` int(11) NOT NULL auto_increment, `id` int(11) NOT NULL auto_increment,
@@ -53,17 +31,9 @@ CREATE TABLE IF NOT EXISTS `enumtest` (
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
-- Vypisuji data pro tabulku `enumtest`
--
-- -------------------------------------------------------- -- --------------------------------------------------------
--
-- Struktura tabulky `orders`
--
DROP TABLE IF EXISTS `orders`; DROP TABLE IF EXISTS `orders`;
CREATE TABLE IF NOT EXISTS `orders` ( CREATE TABLE IF NOT EXISTS `orders` (
`order_id` int(11) NOT NULL, `order_id` int(11) NOT NULL,
@@ -72,9 +42,6 @@ CREATE TABLE IF NOT EXISTS `orders` (
`amount` float NOT NULL `amount` float NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Vypisuji data pro tabulku `orders`
--
INSERT INTO `orders` (`order_id`, `customer_id`, `product_id`, `amount`) VALUES INSERT INTO `orders` (`order_id`, `customer_id`, `product_id`, `amount`) VALUES
(1, 2, 1, 7), (1, 2, 1, 7),
@@ -84,10 +51,6 @@ INSERT INTO `orders` (`order_id`, `customer_id`, `product_id`, `amount`) VALUES
-- -------------------------------------------------------- -- --------------------------------------------------------
--
-- Struktura tabulky `products`
--
DROP TABLE IF EXISTS `products`; DROP TABLE IF EXISTS `products`;
CREATE TABLE IF NOT EXISTS `products` ( CREATE TABLE IF NOT EXISTS `products` (
`product_id` int(11) NOT NULL auto_increment, `product_id` int(11) NOT NULL auto_increment,
@@ -95,9 +58,6 @@ CREATE TABLE IF NOT EXISTS `products` (
PRIMARY KEY (`product_id`) PRIMARY KEY (`product_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
-- Vypisuji data pro tabulku `products`
--
INSERT INTO `products` (`product_id`, `title`) VALUES INSERT INTO `products` (`product_id`, `title`) VALUES
(1, 'Chair'), (1, 'Chair'),
@@ -106,10 +66,6 @@ INSERT INTO `products` (`product_id`, `title`) VALUES
-- -------------------------------------------------------- -- --------------------------------------------------------
--
-- Struktura tabulky `settest`
--
DROP TABLE IF EXISTS `settest`; DROP TABLE IF EXISTS `settest`;
CREATE TABLE IF NOT EXISTS `settest` ( CREATE TABLE IF NOT EXISTS `settest` (
`id` int(11) NOT NULL auto_increment, `id` int(11) NOT NULL auto_increment,
@@ -117,17 +73,8 @@ CREATE TABLE IF NOT EXISTS `settest` (
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
-- Vypisuji data pro tabulku `settest`
--
-- -------------------------------------------------------- -- --------------------------------------------------------
--
-- Struktura tabulky `where`
--
DROP TABLE IF EXISTS `where`; DROP TABLE IF EXISTS `where`;
CREATE TABLE IF NOT EXISTS `where` ( CREATE TABLE IF NOT EXISTS `where` (
`select` int(11) NOT NULL, `select` int(11) NOT NULL,
@@ -136,9 +83,6 @@ CREATE TABLE IF NOT EXISTS `where` (
`quot'n' space` int(11) NOT NULL `quot'n' space` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Vypisuji data pro tabulku `where`
--
INSERT INTO `where` (`select`, `dot.dot`, `is`, `quot'n' space`) VALUES INSERT INTO `where` (`select`, `dot.dot`, `is`, `quot'n' space`) VALUES
(1, 2, 3, 4); (1, 2, 3, 4);
@@ -146,4 +90,3 @@ INSERT INTO `where` (`select`, `dot.dot`, `is`, `quot'n' space`) VALUES
SET FOREIGN_KEY_CHECKS=1; SET FOREIGN_KEY_CHECKS=1;
SET SQL_MODE="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"; SET SQL_MODE="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION";