Prześlij pliki do 'hello/baza'
This commit is contained in:
parent
0e3155f535
commit
1f28bab534
@ -23,11 +23,11 @@ DROP TABLE IF EXISTS `uzytkownicy`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
SET character_set_client = utf8mb4 ;
|
||||
CREATE TABLE `uzytkownicy` (
|
||||
`id_uzytkownik` int(11) NOT NULL,
|
||||
`id_uzytkownik` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`login` varchar(45) DEFAULT NULL,
|
||||
`haslo` varchar(45) DEFAULT NULL,
|
||||
PRIMARY KEY (`id_uzytkownik`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
@ -36,7 +36,7 @@ CREATE TABLE `uzytkownicy` (
|
||||
|
||||
LOCK TABLES `uzytkownicy` WRITE;
|
||||
/*!40000 ALTER TABLE `uzytkownicy` DISABLE KEYS */;
|
||||
INSERT INTO `uzytkownicy` VALUES (1,'fabian','11'),(2,'ala','22'),(3,'karolina','33'),(5,'TEST','TEST');
|
||||
INSERT INTO `uzytkownicy` VALUES (1,'admin','admin'),(2,'ala','22'),(3,'karolina','33'),(5,'TEST','TEST'),(32,'g','1'),(33,'3','3'),(34,'ala111','1'),(35,'12','1'),(36,'g1','1'),(37,'123','1'),(38,'1234','12345'),(39,'test1','test1'),(40,'admin','admin'),(41,'admin','admin'),(43,'Duo',''),(52,'w','qw'),(53,'q','q'),(54,'2','2'),(55,'karola','ka'),(56,'karolina1','haslo12');
|
||||
/*!40000 ALTER TABLE `uzytkownicy` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
@ -49,4 +49,4 @@ UNLOCK TABLES;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
-- Dump completed on 2018-12-05 23:38:57
|
||||
-- Dump completed on 2019-02-25 19:18:56
|
||||
|
@ -24,11 +24,11 @@ DROP TABLE IF EXISTS `wymiary`;
|
||||
SET character_set_client = utf8mb4 ;
|
||||
CREATE TABLE `wymiary` (
|
||||
`id_uzytkownik` int(11) DEFAULT NULL,
|
||||
`wymiar` varchar(45) DEFAULT NULL,
|
||||
`waga` varchar(45) DEFAULT NULL,
|
||||
`wymiar` int(11) DEFAULT NULL,
|
||||
`nazwa` varchar(45) DEFAULT NULL,
|
||||
`data` date DEFAULT NULL,
|
||||
KEY `id_uzytkownik_idx` (`id_uzytkownik`),
|
||||
CONSTRAINT `fk_uzy` FOREIGN KEY (`id_uzytkownik`) REFERENCES `uzytkownicy` (`id_uzytkownik`)
|
||||
KEY `fk_wymiary_1_idx` (`id_uzytkownik`),
|
||||
CONSTRAINT `fk_wymiary_1` FOREIGN KEY (`id_uzytkownik`) REFERENCES `uzytkownicy` (`id_uzytkownik`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
@ -38,7 +38,7 @@ CREATE TABLE `wymiary` (
|
||||
|
||||
LOCK TABLES `wymiary` WRITE;
|
||||
/*!40000 ALTER TABLE `wymiary` DISABLE KEYS */;
|
||||
INSERT INTO `wymiary` VALUES (1,'35','65','2025-11-20'),(2,'23','66','2025-11-20'),(3,'30','64','2025-11-20');
|
||||
INSERT INTO `wymiary` VALUES (5,10,'Waga','2019-02-08'),(5,10,'Waga','2019-02-09'),(43,23,'Wymiar-biodra','2019-02-19'),(5,15,'Waga','2019-02-24'),(5,15,'Wymiar-biodra','2019-02-24'),(5,15,'Wymiar-talia','2019-02-24'),(55,15,'Waga','2019-02-24');
|
||||
/*!40000 ALTER TABLE `wymiary` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
@ -51,4 +51,4 @@ UNLOCK TABLES;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
-- Dump completed on 2018-12-05 23:38:57
|
||||
-- Dump completed on 2019-02-25 19:18:56
|
||||
|
58
hello/baza/baza_zmiany.sql
Normal file
58
hello/baza/baza_zmiany.sql
Normal file
@ -0,0 +1,58 @@
|
||||
-- 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
|
Loading…
Reference in New Issue
Block a user