Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- phpMyAdmin SQL Dump
- -- version 4.8.3
- -- https://www.phpmyadmin.net/
- --
- -- Host: 127.0.0.1:3306
- -- Gegenereerd op: 28 nov 2018 om 23:59
- -- Serverversie: 5.7.23
- -- PHP-versie: 7.2.10
- SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
- SET AUTOCOMMIT = 0;
- START TRANSACTION;
- 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: `webshop`
- --
- -- --------------------------------------------------------
- --
- -- Tabelstructuur voor tabel `admins`
- --
- DROP TABLE IF EXISTS `admins`;
- CREATE TABLE IF NOT EXISTS `admins` (
- `userid` int(30) NOT NULL AUTO_INCREMENT,
- `username` varchar(50) NOT NULL,
- `password` varchar(50) NOT NULL,
- PRIMARY KEY (`userid`)
- ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
- --
- -- Gegevens worden geëxporteerd voor tabel `admins`
- --
- INSERT INTO `admins` (`userid`, `username`, `password`) VALUES
- (1, 'Kelly', 'Kelly'),
- (2, 'Kelsey', 'Kelsey');
- -- --------------------------------------------------------
- --
- -- Tabelstructuur voor tabel `orders`
- --
- DROP TABLE IF EXISTS `orders`;
- CREATE TABLE IF NOT EXISTS `orders` (
- `id` int(30) NOT NULL AUTO_INCREMENT,
- `user` int(11) NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
- --
- -- Gegevens worden geëxporteerd voor tabel `orders`
- --
- INSERT INTO `orders` (`id`, `user`) VALUES
- (10, 24),
- (11, 25),
- (12, 25);
- -- --------------------------------------------------------
- --
- -- Tabelstructuur voor tabel `order_product`
- --
- DROP TABLE IF EXISTS `order_product`;
- CREATE TABLE IF NOT EXISTS `order_product` (
- `product` int(250) NOT NULL,
- `order` int(30) NOT NULL,
- `price` double NOT NULL,
- `count` int(11) NOT NULL
- ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
- --
- -- Gegevens worden geëxporteerd voor tabel `order_product`
- --
- INSERT INTO `order_product` (`product`, `order`, `price`, `count`) VALUES
- (1, 10, 13, 1),
- (2, 10, 0.5, 2),
- (3, 10, 400, 1),
- (3, 0, 400, 1),
- (2, 0, 0.5, 3),
- (2, 0, 0.5, 2),
- (3, 0, 400, 2),
- (3, 0, 400, 1),
- (3, 0, 400, 5),
- (2, 0, 0.5, 1),
- (3, 0, 400, 2),
- (2, 11, 0.5, 10),
- (3, 11, 400, 10);
- -- --------------------------------------------------------
- --
- -- Tabelstructuur voor tabel `products`
- --
- DROP TABLE IF EXISTS `products`;
- CREATE TABLE IF NOT EXISTS `products` (
- `id` int(250) NOT NULL AUTO_INCREMENT,
- `name` varchar(250) NOT NULL,
- `description` text NOT NULL,
- `image` varchar(255) NOT NULL,
- `price` double NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;
- --
- -- Gegevens worden geëxporteerd voor tabel `products`
- --
- INSERT INTO `products` (`id`, `name`, `description`, `image`, `price`) VALUES
- (15, 'Retro Packsds', 'Retro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro PackRetro Pack', '2.png', 25);
- -- --------------------------------------------------------
- --
- -- Tabelstructuur voor tabel `users`
- --
- DROP TABLE IF EXISTS `users`;
- CREATE TABLE IF NOT EXISTS `users` (
- `userid` int(30) NOT NULL AUTO_INCREMENT,
- `username` varchar(50) NOT NULL,
- `password` varchar(50) NOT NULL,
- `email` varchar(50) NOT NULL,
- PRIMARY KEY (`userid`)
- ) ENGINE=MyISAM AUTO_INCREMENT=31 DEFAULT CHARSET=latin1;
- --
- -- Gegevens worden geëxporteerd voor tabel `users`
- --
- INSERT INTO `users` (`userid`, `username`, `password`, `email`) VALUES
- (24, 'KlantEen', 'KlantKlant', 'KlantEen@gmail.com'),
- (23, 'Bonnie Timmerman', 'Bonnie', 'bonnietimmerman@gmail.com'),
- (22, 'Darren Timmerman', 'Timmerman', 'darrentimmerman@gmail.com'),
- (25, 'kip', 'kip', 'kip@hotmail.com'),
- (26, 'a', 'a', 'a'),
- (27, 'ksdksjd', 'ksjdsk', 'sfkjnsdf@gmail.com'),
- (28, 'sdfsdgf', 'sdfsdf', 'sdsdfs@gmail.com'),
- (29, 'sdfsdfsf', 'sdfsdfs', 'sdfdsf'),
- (30, 'sdfsf', 'sdfsfs', 'sdfsdf');
- COMMIT;
- /*!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 */;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement