Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
122 lines (96 sloc) 3.04 KB
-- phpMyAdmin SQL Dump
-- version 4.8.4
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Czas generowania: 15 Maj 2019, 15:04
-- Wersja serwera: 5.6.39
-- Wersja PHP: 5.6.38
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 */;
--
-- Baza danych: `zerhaz_kuponiarz`
--
-- --------------------------------------------------------
--
-- Struktura tabeli dla tabeli `app_users`
--
CREATE TABLE `app_users` (
`id` int(20) NOT NULL,
`Token` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin2;
-- --------------------------------------------------------
--
-- Struktura tabeli dla tabeli `oferta`
--
CREATE TABLE `oferta` (
`id` int(11) NOT NULL,
`nazwa` text CHARACTER SET utf8 COLLATE utf8_polish_ci NOT NULL,
`info` text CHARACTER SET utf8 COLLATE utf8_polish_ci NOT NULL,
`kod` text CHARACTER SET utf8 COLLATE utf8_polish_ci NOT NULL,
`img` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin2;
--
-- Zrzut danych tabeli `oferta`
--
INSERT INTO `oferta` (`id`, `nazwa`, `info`, `kod`, `img`) VALUES
(1, '-10% ', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', '10PROC', 4),
(2, '-30% ', 'In ut pulvinar leo. Nullam vitae lacus vel nisi rutrum fermentum.', '30PROC', 9),
(3, '-5% ', 'Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', 'PENDRIV5', 8);
-- --------------------------------------------------------
--
-- Struktura tabeli dla tabeli `uzytkownicy`
--
CREATE TABLE `uzytkownicy` (
`id` int(11) NOT NULL,
`user` text COLLATE utf8_polish_ci NOT NULL,
`pass` text COLLATE utf8_polish_ci NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_polish_ci;
--
-- Zrzut danych tabeli `uzytkownicy`
--
INSERT INTO `uzytkownicy` (`id`, `user`, `pass`) VALUES
(1, 'admin', '$2y$10$yTvSTMUKYwpfDqk71HyTx.fHWZuZXuiKP5AbS2kO7J5TwGEPMwBpu');
--
-- Indeksy dla zrzutów tabel
--
--
-- Indeksy dla tabeli `app_users`
--
ALTER TABLE `app_users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `Token` (`Token`);
--
-- Indeksy dla tabeli `oferta`
--
ALTER TABLE `oferta`
ADD PRIMARY KEY (`id`);
--
-- Indeksy dla tabeli `uzytkownicy`
--
ALTER TABLE `uzytkownicy`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `id` (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT dla tabeli `app_users`
--
ALTER TABLE `app_users`
MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=67;
--
-- AUTO_INCREMENT dla tabeli `uzytkownicy`
--
ALTER TABLE `uzytkownicy`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
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 */;
You can’t perform that action at this time.