-
Notifications
You must be signed in to change notification settings - Fork 0
/
shop.sql
160 lines (136 loc) · 19.9 KB
/
shop.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
-- MySQL dump 10.13 Distrib 8.0.21, for Linux (x86_64)
--
-- Host: localhost Database: Shop
-- ------------------------------------------------------
-- Server version 8.0.21-0ubuntu0.20.04.4
/*!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 */;
/*!50503 SET NAMES utf8mb4 */;
/*!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 `articles`
--
DROP TABLE IF EXISTS `articles`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `articles` (
`id` int NOT NULL AUTO_INCREMENT,
`name` text,
`price` mediumtext,
`disabled` tinyint(1) DEFAULT NULL,
`description` text,
`image` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `articles`
--
LOCK TABLES `articles` WRITE;
/*!40000 ALTER TABLE `articles` DISABLE KEYS */;
INSERT INTO `articles` VALUES (1,'first','1.00',0,'test',2);
/*!40000 ALTER TABLE `articles` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `images`
--
DROP TABLE IF EXISTS `images`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `images` (
`id` int NOT NULL AUTO_INCREMENT,
`name` text,
`data` longtext,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `images`
--
LOCK TABLES `images` WRITE;
/*!40000 ALTER TABLE `images` DISABLE KEYS */;
INSERT INTO `images` VALUES (1,'testbild1','data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gIcSUNDX1BST0ZJTEUAAQEAAAIMbGNtcwIQAABtbnRyUkdCIFhZWiAH3AABABkAAwApADlhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAApkZXNjAAAA/AAAAF5jcHJ0AAABXAAAAAt3dHB0AAABaAAAABRia3B0AAABfAAAABRyWFlaAAABkAAAABRnWFlaAAABpAAAABRiWFlaAAABuAAAABRyVFJDAAABzAAAAEBnVFJ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z18oHmzY4b/lZ7D/AMqROmNMCFjAIu30X2E5uTtnzePHHFFQgqS7D9MaYZTRsayMDH0XTLBZSS0dP8Eyw2Au6R0Lo9i0+Ghp6FiVmuReacswZ0npXRbVRhjW/KsZaLX5fSOlbZQUhAAwrILqkhxg4WWpoewVKmp+3CycEPSFoKkMWOVdMH0TGNVVoQD2qoE1oTh3QDk4dkg5TgEA5CVCAuEhOE0klCAMlCMj3SdXsgFRkJuT7ppKAcXLy0+0u281Zb95zuG+1PlsV4tlHDDVQ5eI5YGlj2yYHyHkEZ7jt2K9RyeFhr5Zrfe6aSiudFBVU8rel8U0Yexw9iDwUTpg+dK7226X/WH5Es1I+epnY04GQGtwBlx9B75UkNotjRYaVr/hzPWTgGoqSzl3+Vvs0e3716WV/g42IZeqjUVn0HQ22vqsGZ9KCxr8dvlzgD6BXcex2n7WAyioo2tb2+VRN/IuLS5IpaX27miaz+zEfsXTLJoh7Q3MOP2LtcW39PSnDIGgD6K/ptMRxYHlAfsUpNhyNBs+lREG5jH7luNtsgjx8q2GnsrWYwzssnT24Nx8uF0WxBYUNuDcfKs7S0mAOFVgpAAOFkIoAPRaBkNPgBXbGYHAStZhVGhADG8Ko0IaE8dkAqcEjR6pUA5qe1NCcOyAUDKErUIB/V9EhJQhAN6vojqKEIBMpDwhCAaSqEiEIC3kaD3VpLEw5BCELGC1fTxk8hUzSxZ7fwQhaBW08YKqshYMcIQgLqKNvdV2gAIQgHj3Tx2QhAPCehCAcOyEIQD04dkIQDm90IQgP//Z');
/*!40000 ALTER TABLE `images` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `orders`
--
DROP TABLE IF EXISTS `orders`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `orders` (
`id` int NOT NULL AUTO_INCREMENT,
`userid` int DEFAULT NULL,
`shoppingCart` text,
`createdate` date DEFAULT NULL,
`status` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `orders`
--
LOCK TABLES `orders` WRITE;
/*!40000 ALTER TABLE `orders` DISABLE KEYS */;
/*!40000 ALTER TABLE `orders` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `shopsettings`
--
DROP TABLE IF EXISTS `shopsettings`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `shopsettings` (
`id` int NOT NULL AUTO_INCREMENT,
`settingname` text,
`settingcontent` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `shopsettings`
--
LOCK TABLES `shopsettings` WRITE;
/*!40000 ALTER TABLE `shopsettings` DISABLE KEYS */;
INSERT INTO `shopsettings` VALUES (1,'name','Karims Shop');
/*!40000 ALTER TABLE `shopsettings` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `users` (
`id` int NOT NULL AUTO_INCREMENT,
`username` text,
`password` text,
`isadmin` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `users`
--
LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES (1,'admin','$2a$12$JeTAdk6xlLGbxK.h3VLHq.sHH7GGSDO/g4E4BGnivj5vlPdefzD7e',1),(2,'test','$2a$12$VZsB7peU7SFqyk08InQie.6bkNbIxMIAFF6H0H.t21PnYBqVVXUHi',0);
/*!40000 ALTER TABLE `users` 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 */;
-- Creates a (Database) user test, default in the project
CREATE USER test; GRANT ALL PRIVILEGES ON Shop.* TO test;
-- Dump completed on 2020-10-13 18:56:01