Upload files to 'projektpp'

This commit is contained in:
Mariusz Łopata 2021-02-13 18:48:53 +01:00
parent c23b7e01aa
commit ac430c550f

115
projektpp/gymfit.sql Normal file
View File

@ -0,0 +1,115 @@
-- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 13, 2021 at 06:48 PM
-- Server version: 10.4.17-MariaDB
-- PHP Version: 8.0.0
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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: `gymfit`
--
-- --------------------------------------------------------
--
-- Table structure for table `terminarz`
--
CREATE TABLE `terminarz` (
`idzajec` int(11) NOT NULL,
`id` int(11) NOT NULL,
`nazwa` text COLLATE utf8_polish_ci NOT NULL,
`czas` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_polish_ci;
--
-- Dumping data for table `terminarz`
--
INSERT INTO `terminarz` (`idzajec`, `id`, `nazwa`, `czas`) VALUES
(1, 2, 'Zajęcia Ogólnorozwojowe', 90),
(2, 17, 'Aerobik', 105),
(3, 19, 'Zajęcia rehabilitacyjne', 90),
(4, 20, 'Joga', 90),
(5, 21, 'Zajęcia Cardio', 105);
-- --------------------------------------------------------
--
-- Table structure for table `uzytkownicy`
--
CREATE TABLE `uzytkownicy` (
`id` int(11) NOT NULL,
`user` text COLLATE utf8_polish_ci NOT NULL,
`imie` text COLLATE utf8_polish_ci NOT NULL,
`nazwisko` text COLLATE utf8_polish_ci NOT NULL,
`pass` text COLLATE utf8_polish_ci NOT NULL,
`email` text COLLATE utf8_polish_ci NOT NULL,
`perm` int(11) NOT NULL,
`dnipremium` date NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_polish_ci;
--
-- Dumping data for table `uzytkownicy`
--
INSERT INTO `uzytkownicy` (`id`, `user`, `imie`, `nazwisko`, `pass`, `email`, `perm`, `dnipremium`) VALUES
(1, 'adam', 'Adam', 'Kowalski', '$2y$10$Zx5wIjX48j4MsnzW0BhpA.xrD.POoZUZcdSVu4X6FZXTRgM0i.s3m', 'adam@gmail.com', 1, '2021-01-20'),
(2, 'marek', 'Marek', 'Roszyk', '$2y$10$Zx5wIjX48j4MsnzW0BhpA.xrD.POoZUZcdSVu4X6FZXTRgM0i.s3m', 'marekrosz@gmail.com', 2, '0000-00-00'),
(17, 'mariusz', 'Mariusz', 'Łopata', '$2y$10$Zx5wIjX48j4MsnzW0BhpA.xrD.POoZUZcdSVu4X6FZXTRgM0i.s3m', 'mariusz@gmail.com', 2, '2022-06-17'),
(19, 'kamil', 'Kamil', 'Roszyk', '$2y$10$Zx5wIjX48j4MsnzW0BhpA.xrD.POoZUZcdSVu4X6FZXTRgM0i.s3m', 'kamilr@gmail.com', 2, '2021-01-08'),
(20, 'robert', 'Robert', 'Kowalski', '$2y$10$Zx5wIjX48j4MsnzW0BhpA.xrD.POoZUZcdSVu4X6FZXTRgM0i.s3m', 'kowalskirobert@gmail.com', 2, '2021-02-08'),
(21, 'szymon', 'Szymon', 'Paroń', '$2y$10$Zx5wIjX48j4MsnzW0BhpA.xrD.POoZUZcdSVu4X6FZXTRgM0i.s3m', 'pasta94@gmail.com', 2, '2021-01-16'),
(22, 'ma33', 'Mariusz', 'Łopata', '$2y$10$Zx5wIjX48j4MsnzW0BhpA.xrD.POoZUZcdSVu4X6FZXTRgM0i.s3m', 'mariuszlopatdda94@gmail.com', 3, '2021-01-28'),
(23, 'mario1', 'Mariusz', 'Łopata', '$2y$10$Zx5wIjX48j4MsnzW0BhpA.xrD.POoZUZcdSVu4X6FZXTRgM0i.s3m', 'mariuszl3opata94@gmail.com', 3, '2021-02-12');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `terminarz`
--
ALTER TABLE `terminarz`
ADD PRIMARY KEY (`idzajec`);
--
-- Indexes for table `uzytkownicy`
--
ALTER TABLE `uzytkownicy`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `id` (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `terminarz`
--
ALTER TABLE `terminarz`
MODIFY `idzajec` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT for table `uzytkownicy`
--
ALTER TABLE `uzytkownicy`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;
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 */;