243 lines
10 KiB
SQL
243 lines
10 KiB
SQL
-- MySQL dump 10.17 Distrib 10.3.15-MariaDB, for Linux (x86_64)
|
|
--
|
|
-- Host: localhost Database: slt
|
|
-- ------------------------------------------------------
|
|
-- Server version 10.3.15-MariaDB
|
|
|
|
/*!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 */;
|
|
/*!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 `dev_club_clubs`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `dev_club_clubs`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `dev_club_clubs` (
|
|
`id` int(10) NOT NULL AUTO_INCREMENT,
|
|
`name` varchar(100) NOT NULL,
|
|
`address` tinytext NOT NULL,
|
|
`city` varchar(50) NOT NULL,
|
|
`homepage` varchar(100) DEFAULT NULL,
|
|
`mail` varchar(100) NOT NULL,
|
|
`iban` char(34) NOT NULL,
|
|
`bic` char(11) NOT NULL,
|
|
`charitable` tinyint(1) NOT NULL,
|
|
`president` int(10) NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `dev_club_clubs`
|
|
--
|
|
|
|
LOCK TABLES `dev_club_clubs` WRITE;
|
|
/*!40000 ALTER TABLE `dev_club_clubs` DISABLE KEYS */;
|
|
INSERT INTO `dev_club_clubs` VALUES (1,'myclub','asb\r\nasdfsf','timbuktu','https://tanzen-slt.de/','foo@bar','de','gev',0,5),(2,'Test3','sdfgj\r\ndfg',';lkjgf','df','jk@erkdfgj','kjh','l;kj',1,5);
|
|
/*!40000 ALTER TABLE `dev_club_clubs` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `dev_club_keys`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `dev_club_keys`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `dev_club_keys` (
|
|
`privkey` text NOT NULL,
|
|
`publickey` text NOT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `dev_club_keys`
|
|
--
|
|
|
|
LOCK TABLES `dev_club_keys` WRITE;
|
|
/*!40000 ALTER TABLE `dev_club_keys` DISABLE KEYS */;
|
|
INSERT INTO `dev_club_keys` VALUES ('-----BEGIN PRIVATE KEY-----\nMIIEwAIBADANBgkqhkiG9w0BAQEFAASCBKowggSmAgEAAoIBAQDvZHhLHHqmfnnP\noj5Y7AtS0UvEN8XLzNdHj/0nHBVHrXDMNul8phbCaevuaXcYTZvb9JBTAO019Bnu\nCoj6KFrk0Cw/zcVgVHryguNCr2DeLaxAXyArfkKNZPuG/kTw1mxE6ebeR886JVU0\nfQpIi3zDGAHpXxaKO7EttnvQK8NRd4h5O5EI6dCnmMn/8xY/d5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U8rY0GU+GbUPfic45Kg5nVvx/G1AKEk8etszf6PQ6oGKhXun8SzUeUjhWqQmIZ\n/badM/u6QizHLtjWRs5wn73tA4eaWEv6cg7ppmJjj20AxbltWNy8NJqp6x/uDDwY\ncWbRmx3hbKLd5h1/jteU5LYxWPPAk7ZgNNN7l8gUBcECgYEAzVVKQ5dn58iHkH1i\nB3UUnTrqPD/cn7WigcWn7A6vpxqbGARkAyIXV/xqLoD8pX1G7JhqFKArC+UJzUuC\n6hgL1Hq+OJXTaN2NzcvQaIvLzsOWQebFtNfFxi0tzAE0t2/JfuFxeam0WZunaNgg\nAabygognDdEZW9HBvCydJ5N8e+s=\n-----END PRIVATE KEY-----\n','-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA72R4Sxx6pn55z6I+WOwL\nUtFLxDfFy8zXR4/9JxwVR61wzDbpfKYWwmnr7ml3GE2b2/SQUwDtNfQZ7gqI+iha\n5NAsP83FYFR68oLjQq9g3i2sQF8gK35CjWT7hv5E8NZsROnm3kfPOiVVNH0KSIt8\nwxgB6V8WijuxLbZ70CvDUXeIeTuRCOnQp5jJ//MWP3eRuwLGSrgMatNWQZplK5ES\nq0LQU8FHiVobX0/l4zmtZ9RVSMJqs+DtrKm35tKWuj19ATU9AlKdESNcDRphem4f\n1pEPId45k2ps2dnEFMA5y+wcgCansSa6z2nEWxOhKLQhjg47gVw0stNjyWZNH04W\naQIDAQAB\n-----END PUBLIC KEY-----\n');
|
|
/*!40000 ALTER TABLE `dev_club_keys` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `dev_club_offer_assocs`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `dev_club_offer_assocs`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `dev_club_offer_assocs` (
|
|
`id` int(10) NOT NULL AUTO_INCREMENT,
|
|
`clubid` int(10) NOT NULL,
|
|
`offerid` int(10) NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `dev_club_offer_assocs`
|
|
--
|
|
|
|
LOCK TABLES `dev_club_offer_assocs` WRITE;
|
|
/*!40000 ALTER TABLE `dev_club_offer_assocs` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `dev_club_offer_assocs` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `dev_club_offers`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `dev_club_offers`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `dev_club_offers` (
|
|
`id` int(10) NOT NULL AUTO_INCREMENT,
|
|
`name` varchar(100) NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `dev_club_offers`
|
|
--
|
|
|
|
LOCK TABLES `dev_club_offers` WRITE;
|
|
/*!40000 ALTER TABLE `dev_club_offers` DISABLE KEYS */;
|
|
INSERT INTO `dev_club_offers` VALUES (1,'Test'),(2,'Trest2'),(4,'Test4');
|
|
/*!40000 ALTER TABLE `dev_club_offers` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `dev_club_places`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `dev_club_places`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `dev_club_places` (
|
|
`id` int(10) NOT NULL AUTO_INCREMENT,
|
|
`clubid` int(10) NOT NULL,
|
|
`name` varchar(100) NOT NULL,
|
|
`address` tinytext NOT NULL,
|
|
`area` int(10) DEFAULT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `dev_club_places`
|
|
--
|
|
|
|
LOCK TABLES `dev_club_places` WRITE;
|
|
/*!40000 ALTER TABLE `dev_club_places` DISABLE KEYS */;
|
|
INSERT INTO `dev_club_places` VALUES (1,1,'abc','Adresse',NULL),(2,1,'foo2 with new Name','',NULL),(3,2,'foo3','',NULL),(6,1,'MyName','',NULL),(7,1,'MyName','',NULL);
|
|
/*!40000 ALTER TABLE `dev_club_places` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `dev_club_positions`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `dev_club_positions`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `dev_club_positions` (
|
|
`id` int(10) NOT NULL AUTO_INCREMENT,
|
|
`name` varchar(100) NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `dev_club_positions`
|
|
--
|
|
|
|
LOCK TABLES `dev_club_positions` WRITE;
|
|
/*!40000 ALTER TABLE `dev_club_positions` DISABLE KEYS */;
|
|
INSERT INTO `dev_club_positions` VALUES (1,'Test');
|
|
/*!40000 ALTER TABLE `dev_club_positions` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `dev_club_user_assocs`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `dev_club_user_assocs`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `dev_club_user_assocs` (
|
|
`id` int(10) NOT NULL AUTO_INCREMENT,
|
|
`clubid` int(10) NOT NULL,
|
|
`userid` int(10) NOT NULL,
|
|
`positionid` int(10) NOT NULL,
|
|
`admin` tinyint(1) NOT NULL DEFAULT 0,
|
|
`state` enum('regular','vacant','temporary') NOT NULL DEFAULT 'vacant',
|
|
`address` tinytext DEFAULT NULL,
|
|
`mail` varchar(100) DEFAULT NULL,
|
|
`phone` varchar(50) DEFAULT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `dev_club_user_assocs`
|
|
--
|
|
|
|
LOCK TABLES `dev_club_user_assocs` WRITE;
|
|
/*!40000 ALTER TABLE `dev_club_user_assocs` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `dev_club_user_assocs` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `dev_club_users`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `dev_club_users`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `dev_club_users` (
|
|
`id` int(10) NOT NULL AUTO_INCREMENT,
|
|
`user` varchar(30) NOT NULL,
|
|
`password` varchar(150) DEFAULT NULL,
|
|
`name` varchar(255) NOT NULL,
|
|
`address` tinytext NOT NULL,
|
|
`city` varchar(50) NOT NULL,
|
|
`mail` varchar(100) NOT NULL,
|
|
`phone` varchar(50) DEFAULT NULL,
|
|
`mobile` varchar(50) DEFAULT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `dev_club_users`
|
|
--
|
|
|
|
LOCK TABLES `dev_club_users` WRITE;
|
|
/*!40000 ALTER TABLE `dev_club_users` DISABLE KEYS */;
|
|
INSERT INTO `dev_club_users` VALUES (1,'chris','$2y$10$2/aeOfLlLwFx7JYXpaAOH.CG0ZtvkzTuK6nojvSIuOYlTbSd07CqC','Christian Wolf','Adresse','Saarbrücken','Mail',NULL,NULL),(5,'foo','$2y$10$GmdIKINBKFAsU0Zd4.KavO.o5b8zzEQGRgNFFVxrWGhSnUhyQ9Jki','Max Mustermann','Eine Adresse','Vöklingen','me@web.de','','4'),(7,'foo2','$2y$10$aaR2fjhA4s3DqId8NLBtH.1IaJSoc1cmIj2DSUYkWRTDsSKwBAQUO','sdfg','sdf','dfg','dfg','','');
|
|
/*!40000 ALTER TABLE `dev_club_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 */;
|
|
|
|
-- Dump completed on 2019-05-31 14:22:49
|