2021-06-22 15:17:11 +02:00
-- MySQL dump 10.13 Distrib 8.0.22, for Linux (x86_64)
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
-- Host: localhost Database: ClusterCockpit
-- ------------------------------------------------------
-- Server version 8.0.22
2021-06-09 09:53:35 +02: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 */ ;
2021-06-22 15:17:11 +02:00
/* !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 */ ;
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
-- Table structure for table `configuration`
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
DROP TABLE IF EXISTS ` configuration ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-06-09 09:53:35 +02:00
CREATE TABLE ` configuration ` (
2021-06-22 15:17:11 +02:00
` id ` int NOT NULL AUTO_INCREMENT ,
` name ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` value ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` scope ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` label ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` validation ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` description ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
` feedback ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
PRIMARY KEY ( ` id ` )
2021-07-08 09:08:29 +02:00
) ENGINE = InnoDB AUTO_INCREMENT = 33 DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-06-22 15:17:11 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
-- Dumping data for table `configuration`
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
LOCK TABLES ` configuration ` WRITE ;
/* !40000 ALTER TABLE `configuration` DISABLE KEYS */ ;
2021-07-08 09:08:29 +02:00
INSERT INTO ` configuration ` VALUES ( 1 , ' plot_view_showRoofline ' , ' true ' , ' default ' , ' Show roofline plot ' , ' true|false ' , NULL , ' Enter true or false ' ) , ( 2 , ' plot_view_showPolarplot ' , ' true ' , ' default ' , ' Show polar plot ' , ' true|false ' , NULL , ' Enter true or false ' ) , ( 3 , ' plot_view_showStatTable ' , ' true ' , ' default ' , ' Show stat table ' , ' true|false ' , NULL , ' Enter true or false ' ) , ( 4 , ' plot_view_plotsPerRow ' , ' 3 ' , ' default ' , ' Plots per row in job view ' , ' [0-9]+ ' , NULL , ' Enter a positive integer ' ) , ( 5 , ' plot_list_samples ' , ' 120 ' , ' default ' , ' Sample points for downsampled plots ' , ' [0-9]+ ' , NULL , ' Enter a positive integer ' ) , ( 6 , ' plot_list_sortColumn ' , ' 1 ' , ' default ' , ' Default sort column ' , ' [0-9]+ ' , NULL , ' Enter a positive integer ' ) , ( 7 , ' plot_list_sortDirection ' , ' desc ' , ' default ' , ' Default sort direction ' , ' asc|desc ' , NULL , ' Enter asc or desc ' ) , ( 8 , ' plot_general_colorscheme ' , ' Accent ' , ' default ' , ' Plot color scheme ' , ' ' , NULL , ' ' ) , ( 9 , ' plot_general_interactive ' , ' false ' , ' default ' , ' Interactive plots in job view ' , ' true|false ' , NULL , ' Enter true or false ' ) , ( 10 , ' plot_general_lineWidth ' , ' 1 ' , ' default ' , ' Line width for plots ' , ' [0-9]+ ' , NULL , ' Enter a positive integer ' ) , ( 11 , ' plot_general_colorBackground ' , ' true ' , ' default ' , ' Color plot background ' , ' true|false ' , NULL , ' Enter true or false ' ) , ( 12 , ' data_time_digits ' , ' 2 ' , ' default ' , ' Timestamp rounding digits ' , ' [0-9]+ ' , NULL , ' Enter a positive integer ' ) , ( 13 , ' data_metric_digits ' , ' 1 ' , ' default ' , ' Metric rounding digits ' , ' [0-9]+ ' , NULL , ' Enter a positive integer ' ) , ( 14 , ' data_cache_period ' , ' 40 ' , ' default ' , ' Cache grace time ' , ' [0-9]+ ' , NULL , ' Enter a positive integer ' ) , ( 15 , ' data_cache_numpoints ' , ' 40 ' , ' default ' , ' Cache build threshold ' , ' [0-9]+ ' , NULL , ' Enter a positive integer ' ) , ( 16 , ' ldap_connection_url ' , ' ' , ' default ' , ' Connection URL ' , ' ' , NULL , ' ' ) , ( 17 , ' ldap_user_base ' , ' ' , ' default ' , ' Base DN users ' , ' ' , NULL , ' ' ) , ( 18 , ' ldap_user_key ' , ' ' , ' default ' , ' Key user id ' , ' ' , NULL , ' ' ) , ( 19 , ' ldap_search_dn ' , ' ' , ' default ' , ' Search DN ' , ' ' , NULL , ' ' ) , ( 20 , ' ldap_user_filter ' , ' ' , ' default ' , ' User query filter ' , ' ' , NULL , ' ' ) , ( 21 , ' general_user_scramble ' , ' false ' , ' default ' , ' Anonymize user names ' , ' ' , NULL , ' ' ) , ( 22 , ' general_user_emailbase ' , ' @mail.de ' , ' default ' , ' Email base adress used in user imports ' , ' ' , NULL , ' ' ) , ( 23 , ' plot_list_selectedMetrics ' , ' [\"cpu_load\",\"flops_any\",\"mem_bw\",\"mem_used\"] ' , ' default ' , ' Metrics to show in job list ' , ' ' , NULL , ' Enter a JSON list ' ) , ( 24 , ' plot_list_selectedMetrics ' , ' [\"cpu_load\",\"flops_any\",\"mem_bw\",\"mem_used\"] ' , ' admin ' , ' Metrics to show in job list ' , ' ' , NULL , ' Enter a JSON list ' ) , ( 25 , ' analysis_view_histogramMetrics ' , ' [\"cpu_load\",\"mem_used\",\"flops_any\",\"mem_bw\",\"cpi\",\"clock\"] ' , ' admin ' , ' Metrics to show in histograms in analysis view ' , ' ' , NULL , ' Enter a JSON list ' ) , ( 30 , ' job_view_nodestats_selectedMetrics ' , ' [\"flops_any\",\"mem_bw\",\"mem_used\",\"cpu_load\",\"clock\"] ' , ' admin ' , ' Metrics to show in stats table in job view ' , ' ' , NULL , ' Enter a JSON list ' ) , ( 31 , ' job_view_selectedMetrics ' , ' [\"flops_any\",\"mem_bw\",\"mem_used\",\"cpu_load\",\"cpi\",\"clock\"] ' , ' admin ' , ' Metrics to show as plots in job view ' , ' ' , NULL , ' Enter a JSON list ' ) , ( 32 , ' analysis_view_scatterPlotMetrics ' , ' [[\"flops_any\",\"mem_bw\"],[\"flops_any\",\"cpu_load\"],[\"mem_bw\",\"cpu_load\"]] ' , ' admin ' , ' Metrics to show in scatter plots in analysis view ' , ' ' , NULL , ' Enter a JSON list of metric pairs ' ) ;
2021-06-22 15:17:11 +02:00
/* !40000 ALTER TABLE `configuration` ENABLE KEYS */ ;
UNLOCK TABLES ;
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
-- Table structure for table `job`
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
DROP TABLE IF EXISTS ` job ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-06-09 09:53:35 +02:00
CREATE TABLE ` job ` (
2021-06-22 15:17:11 +02:00
` id ` int NOT NULL AUTO_INCREMENT ,
2021-06-25 18:08:07 +02:00
` job_id ` int NOT NULL ,
2021-06-22 15:17:11 +02:00
` user_id ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` cluster_id ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` num_nodes ` int NOT NULL ,
` start_time ` int NOT NULL ,
` duration ` int NOT NULL ,
2021-07-08 09:08:29 +02:00
` node_list ` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2021-06-09 09:53:35 +02:00
` is_running ` tinyint ( 1 ) NOT NULL ,
2021-06-22 15:17:11 +02:00
` job_script ` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` project_id ` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2021-06-24 15:10:14 +02:00
` mem_used_max ` double NOT NULL DEFAULT ' 0 ' ,
` flops_any_avg ` double NOT NULL DEFAULT ' 0 ' ,
` mem_bw_avg ` double NOT NULL DEFAULT ' 0 ' ,
` load_avg ` double NOT NULL DEFAULT ' 0 ' ,
` net_bw_avg ` double NOT NULL DEFAULT ' 0 ' ,
` file_bw_avg ` double NOT NULL DEFAULT ' 0 ' ,
2021-06-22 15:17:11 +02:00
PRIMARY KEY ( ` id ` ) ,
KEY ` search_idx ` ( ` is_running ` , ` cluster_id ` )
2021-06-24 15:10:14 +02:00
) ENGINE = InnoDB AUTO_INCREMENT = 1971 DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-06-22 15:17:11 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
-- Dumping data for table `job`
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
LOCK TABLES ` job ` WRITE ;
/* !40000 ALTER TABLE `job` DISABLE KEYS */ ;
2021-06-25 18:08:07 +02:00
INSERT INTO ` job ` VALUES ( 1 , 1335041 , ' emmyUser5 ' , ' emmy ' , 32 , 1596241216 , 21652 , ' e1018|e1017|e1010|e1009|e0745|e0656|e0655|e0652|e0651|e0650|e0649|e0530|e0529|e0528|e0527|e0524|e0523|e0522|e0521|e0520|e0519|e0214|e0213|e0212|e0151|e0150|e0149|e0132|e0129|e0128|e0127|e0108 ' , 0 , ' ' , ' project5 ' , 2 . 95 , 0 , 0 . 14 , 0 , 0 , 0 ) , ( 2 , 1335050 , ' emmyUser5 ' , ' emmy ' , 32 , 1596241607 , 22234 , ' e1128|e1127|e1126|e1125|e1115|e1114|e0908|e0907|e0905|e0904|e0903|e0902|e0849|e0848|e0847|e0846|e0845|e0844|e0842|e0841|e0552|e0551|e0550|e0549|e0548|e0547|e0546|e0545|e0544|e0543|e0526|e0525 ' , 0 , ' ' , ' project5 ' , 1 . 9 , 0 . 01 , 0 . 11 , 0 , 0 , 0 ) , ( 3 , 1335059 , ' emmyUser5 ' , ' emmy ' , 32 , 1596248458 , 21677 , ' e1130|e1129|e1124|e1123|e1122|e1121|e1120|e1119|e1118|e1117|e1116|e1101|e1016|e1015|e0906|e0843|e0804|e0803|e0744|e0743|e0724|e0723|e0722|e0721|e0620|e0452|e0451|e0450|e0449|e0448|e0447|e0446 ' , 0 , ' ' , ' project5 ' , 3 . 44 , 0 . 01 , 0 . 14 , 0 , 0 , 0 ) , ( 4 , 1334592 , ' emmyUser5 ' , ' emmy ' , 16 , 1596280833 , 216 , ' e0547|e0347|e0346|e0345|e0344|e0343|e0342|e0341|e0340|e0339|e0338|e0337|e0336|e0335|e0334|e0333 ' , 0 , ' ' , ' project5 ' , 20 . 51 , 0 . 02 , 3 . 42 , 0 , 0 , 0 ) , ( 5 , 1334601 , ' emmyUser5 ' , ' emmy ' , 16 , 1596280974 , 147 , ' e0648|e0647|e0635|e0621|e0619|e0532|e0531|e0513|e0512|e0509|e0442|e0439|e0438|e0433|e0402|e0401 ' , 0 , ' ' , ' project5 ' , 8 . 34 , 0 , 1 . 8 , 0 , 0 , 0 ) , ( 6 , 1334610 , ' emmyUser5 ' , ' emmy ' , 16 , 1596281050 , 221 , ' e0547|e0538|e0537|e0347|e0346|e0345|e0344|e0343|e0342|e0341|e0340|e0339|e0338|e0337|e0336|e0335 ' , 0 , ' ' , ' project5 ' , 20 . 46 , 0 , 3 . 78 , 0 , 0 , 0 ) , ( 7 , 1334638 , ' emmyUser5 ' , ' emmy ' , 16 , 1596281273 , 133 , ' e0547|e0538|e0537|e0402|e0401|e0347|e0346|e0345|e0344|e0343|e0342|e0341|e0340|e0339|e0338|e0337 ' , 0 , ' ' , ' project5 ' , 1 . 72 , 0 , 0 . 32 , 0 , 0 , 0 ) , ( 8 , 1334629 , ' emmyUser5 ' , ' emmy ' , 16 , 1596281258 , 193 , ' e0648|e0647|e0635|e0621|e0619|e0532|e0531|e0513|e0512|e0509|e0442|e0439|e0438|e0433|e0414|e0413 ' , 0 , ' ' , ' project5 ' , 20 . 48 , 0 , 3 . 44 , 0 , 0 , 0 ) , ( 9 , 1334656 , ' emmyUser5 ' , ' emmy ' , 16 , 1596281452 , 214 , ' e0648|e0647|e0635|e0621|e0619|e0532|e0531|e0513|e0512|e0509|e0442|e0439|e0438|e0433|e0414|e0413 ' , 0 , ' ' , ' project5 ' , 17 . 79 , 0 , 0 . 4 , 0 , 0 , 0 ) , ( 10 , 1334647 , ' emmyUser5 ' , ' emmy ' , 16 , 1596281407 , 290 , ' e0547|e0538|e0537|e0536|e0535|e0402|e0401|e0347|e0346|e0345|e0344|e0343|e0342|e0341|e0340|e0339 ' , 0 , ' ' , ' project5 ' , 1 . 72 , 0 , 0 . 14 , 0 , 0 , 0 ) , ( 11 , 1334674 , ' emmyUser5 ' , ' emmy ' , 16 , 1596281667 , 140 , ' e0648|e0647|e0635|e0621|e0619|e0532|e0531|e0513|e0512|e0509|e0442|e0439|e0438|e0433|e0414|e0413 ' , 0 , ' ' , ' project5 ' , 7 . 98 , 0 , 0 . 31 , 0 , 0 , 0 ) , ( 12 , 1334665 , ' emmyUser5 ' , ' emmy ' , 16 , 1596281666 , 267 , ' e1012|e1011|e0915|e0914|e0901|e0852|e0851|e0850|e0542|e0541|e0534|e0533|e0422|e0421|e0317|e0215 ' , 0 , ' ' , ' project5 ' , 20 . 35 , 0 . 16 , 0 . 18 , 0 , 0 , 0 ) , ( 13 , 1334683 , ' emmyUser5 ' , ' emmy ' , 16 , 1596281698 , 268 , ' e0547|e0538|e0537|e0536|e0535|e0402|e0401|e0347|e0346|e0345|e0344|e0343|e0342|e0341|e0340|e0339 ' , 0 , ' ' , ' project5 ' , 2 . 87 , 0 , 0 . 14 , 0 , 0 , 0 ) , ( 14 , 1334692 , ' emmyUser5 ' , ' emmy ' , 16 , 1596281809 , 251 , ' e0905|e0904|e0648|e0647|e0640|e0639|e0635|e0621|e0619|e0532|e0531|e0513|e0512|e0509|e0442|e0439 ' , 0 , ' ' , ' project5 ' , 8 . 33 , 0 . 24 , 0 . 83 , 0 , 0 , 0 ) , ( 15 , 1334701 , ' emmyUser5 ' , ' emmy ' , 16 , 1596281934 , 292 , ' e1017|e1012|e1011|e1010|e0915|e0914|e0901|e0852|e0851|e0850|e0718|e0717|e0656|e0655|e0542|e0541 ' , 0 , ' ' , ' project5 ' , 20 . 35 , 0 , 0 . 66 , 0 , 0 , 0 ) , ( 16 , 1334710 , ' emmyUser5 ' , ' emmy ' , 16 , 1596281967 , 283 , ' e0623|e0622|e0547|e0538|e0537|e0536|e0535|e0534|e0533|e0438|e0433|e0432|e0431|e0430|e0429|e0422 ' , 0 , ' ' , ' project5 ' , 20 . 47 , 0 . 3 , 0 . 96 , 0 , 0 , 0 ) , ( 17 , 1334719 , ' emmyUser5 ' , ' emmy ' , 16 , 1596282061 , 280 , ' e1131|e1018|e0905|e0904|e0648|e0647|e0640|e0639|e0635|e0621|e0619|e0532|e0531|e0513|e0512|e0509 ' , 0 , ' ' , ' project5 ' , 2 . 07 , 0 , 0 . 14 , 0 , 0 , 0 ) , ( 18 , 1334738 , ' emmyUser5 ' , ' emmy ' , 16 , 1596282252 , 180 , ' e0623|e0622|e0547|e0538|e0537|e0536|e0535|e0534|e0533|e0440|e0439|e0438|e0433|e0432|e0431|e0430 ' , 0 , ' ' , ' project5 ' , 20 . 47 , 0 , 3 . 22 , 0 , 0 , 0 ) , ( 19 , 1334747 , ' emmyUser5 ' , ' emmy ' , 16 , 1596282347 , 159 , ' e1017|e1012|e1011|e1010|e0915|e0914|e0901|e0852|e0851|e0850|e0718|e0717|e0656|e0655|e0542|e0541 ' , 0 , ' ' , ' project5 ' , 7 . 98 , 0 , 0 . 77 , 0 , 0 , 0 ) , ( 20 , 1334765 , ' emmyUser5 ' , ' emmy ' , 16 , 1596282507 , 182 , ' e1017|e1012|e1011|e1010|e0915|e0914|e0901|e0852|e0851|e0850|e0718|e0717|e0656|e0655|e0542|e0541 ' , 0 , ' ' , ' project5 ' , 14 . 05 , 0 , 1 . 25 , 0 , 0 , 0 ) , ( 21 , 1334756 , ' emmyUser5 ' , ' emmy ' , 16 , 1596282433 , 282 , ' e0623|e0622|e0549|e0548|e0547|e0538|e0537|e0536|e0535|e0534|e0533|e0512|
2021-06-22 15:17:11 +02:00
/* !40000 ALTER TABLE `job` ENABLE KEYS */ ;
UNLOCK TABLES ;
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
-- Table structure for table `job_job_tag`
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
DROP TABLE IF EXISTS ` job_job_tag ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-06-09 09:53:35 +02:00
CREATE TABLE ` job_job_tag ` (
2021-06-22 15:17:11 +02:00
` job_id ` int NOT NULL ,
` job_tag_id ` int NOT NULL ,
PRIMARY KEY ( ` job_id ` , ` job_tag_id ` ) ,
KEY ` IDX_5DB39389BE04EA9 ` ( ` job_id ` ) ,
KEY ` IDX_5DB39389EAD64E90 ` ( ` job_tag_id ` ) ,
CONSTRAINT ` FK_5DB39389BE04EA9 ` FOREIGN KEY ( ` job_id ` ) REFERENCES ` job ` ( ` id ` ) ON DELETE CASCADE ,
CONSTRAINT ` FK_5DB39389EAD64E90 ` FOREIGN KEY ( ` job_tag_id ` ) REFERENCES ` job_tag ` ( ` id ` ) ON DELETE CASCADE
2021-06-09 09:53:35 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-06-22 15:17:11 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
-- Dumping data for table `job_job_tag`
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
LOCK TABLES ` job_job_tag ` WRITE ;
/* !40000 ALTER TABLE `job_job_tag` DISABLE KEYS */ ;
2021-06-24 15:10:14 +02:00
INSERT INTO ` job_job_tag ` VALUES ( 1269 , 3 ) , ( 1269 , 4 ) , ( 1270 , 4 ) , ( 1327 , 3 ) , ( 1351 , 1 ) , ( 1351 , 2 ) , ( 1355 , 1 ) , ( 1355 , 2 ) , ( 1357 , 1 ) , ( 1366 , 1 ) , ( 1460 , 1 ) , ( 1462 , 1 ) , ( 1463 , 1 ) , ( 1464 , 1 ) , ( 1464 , 2 ) , ( 1465 , 1 ) , ( 1467 , 1 ) ;
2021-06-22 15:17:11 +02:00
/* !40000 ALTER TABLE `job_job_tag` ENABLE KEYS */ ;
UNLOCK TABLES ;
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
-- Table structure for table `job_tag`
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
DROP TABLE IF EXISTS ` job_tag ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` job_tag ` (
` id ` int NOT NULL AUTO_INCREMENT ,
` name ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` type ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
PRIMARY KEY ( ` id ` )
2021-07-08 09:08:29 +02:00
) ENGINE = InnoDB AUTO_INCREMENT = 21 DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-06-22 15:17:11 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
-- Dumping data for table `job_tag`
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
LOCK TABLES ` job_tag ` WRITE ;
/* !40000 ALTER TABLE `job_tag` DISABLE KEYS */ ;
INSERT INTO ` job_tag ` VALUES ( 1 , ' throughput-limited ' , ' bottleneck ' ) , ( 2 , ' bandwidth-limited ' , ' bottleneck ' ) , ( 3 , ' low-utilisation ' , ' pathologic ' ) , ( 4 , ' load-imbalance ' , ' pathologic ' ) ;
/* !40000 ALTER TABLE `job_tag` ENABLE KEYS */ ;
UNLOCK TABLES ;
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
-- Table structure for table `user`
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
DROP TABLE IF EXISTS ` user ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` user ` (
` username ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` password ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
` name ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` roles ` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT ' (DC2Type:array) ' ,
` email ` varchar ( 254 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
` is_active ` tinyint ( 1 ) DEFAULT NULL ,
` api_token ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2021-07-08 09:08:29 +02:00
PRIMARY KEY ( ` username ` ) ,
2021-06-22 15:17:11 +02:00
UNIQUE KEY ` UNIQ_8D93D6497BA2F5EB ` ( ` api_token ` )
2021-07-08 09:08:29 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-06-22 15:17:11 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
-- Dumping data for table `user`
2021-06-09 09:53:35 +02:00
--
2021-06-22 15:17:11 +02:00
LOCK TABLES ` user ` WRITE ;
/* !40000 ALTER TABLE `user` DISABLE KEYS */ ;
2021-07-08 09:08:29 +02:00
INSERT INTO ` user ` VALUES ( ' admin ' , ' $2y$13$bCJ.cWhE1MIaI.dg9jr/V.73inKd/U7ZBD0WpF5JMTomkfXuRkpRu ' , ' Local account ' , ' a:3:{i:0;s:9:\"ROLE_USER\";i:1;s:12:\"ROLE_ANALYST\";i:2;s:10:\"ROLE_ADMIN\";} ' , ' admin@ccdemo.de ' , 1 , ' 9c6e3e647e84b87730815325aa8c7dff35deeada ' ) , ( ' demoUser ' , ' $2y$13$wZDSqfjEHOSBEW2cV7CsQuHZtd6qVKIfYxlZmGuQI7jPVqGOzYGuG ' , ' Demo User ' , ' a:2:{i:0;s:8:\"ROLE_API\";i:1;s:9:\"ROLE_USER\";} ' , NULL , 0 , ' 863ae06090602cbaef2d66b69d706953e50561b6 ' ) , ( ' emmyUser1 ' , NULL , ' Emmy User1 ' , NULL , NULL , NULL , NULL ) , ( ' emmyUser10 ' , NULL , ' Emmy User10 ' , NULL , NULL , NULL , NULL ) , ( ' emmyUser2 ' , NULL , ' Emmy User2 ' , NULL , NULL , NULL , NULL ) , ( ' emmyUser3 ' , NULL , ' Emmy User3 ' , NULL , NULL , NULL , NULL ) , ( ' emmyUser4 ' , NULL , ' Emmy User4 ' , NULL , NULL , NULL , NULL ) , ( ' emmyUser5 ' , NULL , ' Emmy User5 ' , NULL , NULL , NULL , NULL ) , ( ' emmyUser6 ' , NULL , ' Emmy User6 ' , NULL , NULL , NULL , NULL ) , ( ' emmyUser7 ' , NULL , ' Emmy User7 ' , NULL , NULL , NULL , NULL ) , ( ' emmyUser8 ' , NULL , ' Emmy User8 ' , NULL , NULL , NULL , NULL ) , ( ' emmyUser9 ' , NULL , ' Emmy User9 ' , NULL , NULL , NULL , NULL ) , ( ' woodyUser1 ' , NULL , ' Woody User1 ' , NULL , NULL , NULL , NULL ) , ( ' woodyUser2 ' , NULL , ' Woody User2 ' , NULL , NULL , NULL , NULL ) , ( ' woodyUser3 ' , NULL , ' Woody User3 ' , NULL , NULL , NULL , NULL ) , ( ' woodyUser4 ' , NULL , ' Woody User4 ' , NULL , NULL , NULL , NULL ) , ( ' woodyUser5 ' , NULL , ' Woody User5 ' , NULL , NULL , NULL , NULL ) ;
2021-06-22 15:17:11 +02:00
/* !40000 ALTER TABLE `user` ENABLE KEYS */ ;
UNLOCK TABLES ;
/* !40103 SET TIME_ZONE=@OLD_TIME_ZONE */ ;
2021-06-09 09:53:35 +02:00
2021-06-22 15:17:11 +02:00
/* !40101 SET SQL_MODE=@OLD_SQL_MODE */ ;
/* !40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */ ;
/* !40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */ ;
2021-06-09 09:53:35 +02:00
/* !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 */ ;
2021-06-22 15:17:11 +02:00
/* !40111 SET SQL_NOTES=@OLD_SQL_NOTES */ ;
2021-07-08 09:08:29 +02:00
-- Dump completed on 2021-07-08 09:02:47