Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- phpMyAdmin SQL Dump
- -- version 4.7.4
- -- https://www.phpmyadmin.net/
- --
- -- Host: 127.0.0.1
- -- Gegenereerd op: 22 jun 2018 om 16:50
- -- Serverversie: 10.1.28-MariaDB
- -- PHP-versie: 7.1.11
- 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: `myband_db`
- --
- -- --------------------------------------------------------
- --
- -- Tabelstructuur voor tabel `articles`
- --
- CREATE TABLE `articles` (
- `article_id` int(11) NOT NULL,
- `title` varchar(140) NOT NULL,
- `content` text NOT NULL,
- `imagelink` varchar(255) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- --
- -- Gegevens worden geëxporteerd voor tabel `articles`
- --
- INSERT INTO `articles` (`article_id`, `title`, `content`, `imagelink`) VALUES
- (1, 'Title 1', 'Content 1', 'Image 1'),
- (2, 'Title 2', 'Content 2', 'Image 2'),
- (3, 'Title 3', 'Content 3', 'Image 3'),
- (4, 'Title 4', 'Content 4', 'Image 4'),
- (5, 'Title 5', 'Content 5', 'Image 5'),
- (6, 'Title 6', 'Content 6', 'Image 6'),
- (7, 'Title 7', 'Content 7', 'Image 7'),
- (8, 'Title 8', 'Content 8', 'Image 8'),
- (9, 'Title 9', 'Content 9', 'Image 9'),
- (10, 'Title 10', 'Content 10', 'Image 10'),
- (11, 'Title 11', 'Content 11', 'Image 11'),
- (12, 'Title 12', 'Content 12', 'Image 12'),
- (13, 'Title 13', 'Content 13', 'Image 13'),
- (14, 'Title 14', 'Content 14', 'Image 14'),
- (15, 'Title 15', 'Content 15', 'Image 15'),
- (16, 'Title 16', 'Content 16', 'Image 16'),
- (17, 'Title 17', 'Content 17', 'Image 17'),
- (18, 'Title 18', 'Content 18', 'Image 18'),
- (19, 'Title 19', 'Content 19', 'Image 19'),
- (20, 'Title 20', 'Content 20', 'Image 20');
- -- --------------------------------------------------------
- --
- -- Tabelstructuur voor tabel `tour`
- --
- CREATE TABLE `tour` (
- `tour_id` int(255) NOT NULL,
- `tour_date_from` date NOT NULL,
- `tour_date_to` date NOT NULL,
- `tour_name` varchar(50) NOT NULL,
- `tour_status` varchar(10) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- --
- -- Gegevens worden geëxporteerd voor tabel `tour`
- --
- INSERT INTO `tour` (`tour_id`, `tour_date_from`, `tour_date_to`, `tour_name`, `tour_status`) VALUES
- (1, '2001-07-23', '2018-07-23', 'Hoppa', 'tour_annou'),
- (2, '2018-07-05', '2018-12-08', 'Don Diablo XL', 'tour_annou'),
- (3, '2018-06-06', '2018-06-06', 'Don toeerrrr', 'ja'),
- (4, '2018-06-03', '2018-06-30', 'tyeeet', 'hahaha'),
- (5, '2018-08-09', '2019-02-14', '5deyes', ''),
- (6, '2018-06-03', '2018-06-05', 'nummer 6', 'nr6'),
- (7, '2018-06-06', '2018-06-24', 'nummertje 7 tour', 'tickets_so'),
- (8, '2018-06-30', '2018-07-13', 'don tour nummer 8', 'Sold Out');
- -- --------------------------------------------------------
- --
- -- Tabelstructuur voor tabel `users`
- --
- CREATE TABLE `users` (
- `userid` int(255) NOT NULL,
- `username` varchar(20) NOT NULL,
- `mailadres` varchar(100) NOT NULL,
- `hash` varchar(512) NOT NULL,
- `password` varchar(512) NOT NULL,
- `creationdate` date NOT NULL,
- `active` int(10) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- --
- -- Gegevens worden geëxporteerd voor tabel `users`
- --
- INSERT INTO `users` (`userid`, `username`, `mailadres`, `hash`, `password`, `creationdate`, `active`) VALUES
- (15, 'kick', '25228@ma-web.nl', '09915c69290a6e40162f9ec0692c2a397f127ca60b1757cd12966641f558e4351969adab4e7d3689f7e5424d79697c8e94effa43cd3b8a137ea4f0098a369975', '820b7d287febf1556176075dec151c22a261b91d814801be63a873660d13110dcbef7df908d215c8df6742df40ac9066da78f3c36c6493f75d0094e6ef772f8d', '2018-06-22', 1);
- --
- -- Indexen voor geëxporteerde tabellen
- --
- --
- -- Indexen voor tabel `articles`
- --
- ALTER TABLE `articles`
- ADD PRIMARY KEY (`article_id`);
- --
- -- Indexen voor tabel `tour`
- --
- ALTER TABLE `tour`
- ADD PRIMARY KEY (`tour_id`);
- --
- -- Indexen voor tabel `users`
- --
- ALTER TABLE `users`
- ADD PRIMARY KEY (`userid`);
- --
- -- AUTO_INCREMENT voor geëxporteerde tabellen
- --
- --
- -- AUTO_INCREMENT voor een tabel `articles`
- --
- ALTER TABLE `articles`
- MODIFY `article_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;
- --
- -- AUTO_INCREMENT voor een tabel `tour`
- --
- ALTER TABLE `tour`
- MODIFY `tour_id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
- --
- -- AUTO_INCREMENT voor een tabel `users`
- --
- ALTER TABLE `users`
- MODIFY `userid` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;
- 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