-- MySQL dump 10.13  Distrib 8.0.13, for Linux (x86_64)
--
-- Host: localhost    Database: baza
-- ------------------------------------------------------
-- Server version	8.0.13

/*!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 */;
 SET NAMES utf8 ;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `zmiany`
--

DROP TABLE IF EXISTS `zmiany`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
 SET character_set_client = utf8mb4 ;
CREATE TABLE `zmiany` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ciezar_dodaj` int(11) DEFAULT NULL,
  `powtorzenie_dodaj` int(11) DEFAULT NULL,
  `co_ile_ciezar` int(11) DEFAULT NULL,
  `co_ile_powtorzenie` int(11) DEFAULT NULL,
  `id_uzytkownik` int(11) DEFAULT NULL,
  `id_cwiczenia` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `id_cwiczenie_idx` (`id_cwiczenia`),
  CONSTRAINT `id_cwiczenie` FOREIGN KEY (`id_cwiczenia`) REFERENCES `cwiczenie` (`id_cwiczenie`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE=InnoDB AUTO_INCREMENT=211 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zmiany`
--

LOCK TABLES `zmiany` WRITE;
/*!40000 ALTER TABLE `zmiany` DISABLE KEYS */;
INSERT INTO `zmiany` VALUES (99,2,2,1,2,38,NULL),(100,2,3,2,3,39,NULL),(101,0,0,0,0,42,NULL),(135,1,7,1,1,5,1),(189,5,4,4,5,43,99),(190,2,2,5,2,5,45),(191,5,5,7,7,5,47),(192,5,5,7,5,5,87),(194,2,2,5,2,5,46),(209,11,11,1,1,56,45);
/*!40000 ALTER TABLE `zmiany` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2019-02-25 19:18:55
