From b45369b42e6a4271096201afc50a6a936c61348a Mon Sep 17 00:00:00 2001 From: josh97josh Date: Wed, 28 Feb 2018 16:30:14 +0000 Subject: submission2 report added --- Report/main.tex | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 Report/main.tex diff --git a/Report/main.tex b/Report/main.tex new file mode 100644 index 0000000..86c9ba7 --- /dev/null +++ b/Report/main.tex @@ -0,0 +1,83 @@ +\documentclass{article} +\usepackage[margin=1in]{geometry} +\usepackage{graphicx} +\usepackage{a4wide} +\usepackage{float} +\usepackage{listings} + +\begin{document} +\title{Report --- Juniour Honours Project Submission 2} +\author{Hafeez Abdul-Rehaman, Johannes Weck, Josh Lee, Calum Duff, Tom Harley} +\date{\today} + +\maketitle + +\section{Aims for submission 2} +From our first submission we now had a working server that allowed a user using our own mock user interface to log in and access data based on their level of authorisation. After our first submission we had a meeting to set out goals for ourselves that would act as requirements for the second submission +\begin{description} + \item[Define Specific Protocol] Now that we had a working server, we next wanted to define specific protocol in order to demo our progress using work from the HCI groups. + \item[Manage Filetype Conversions] A main part of this submission was creating a file converter for all the required file types that would be needed. + \item[Testing] As our code was getting more complicated we wanted to make sure that extensive testing was implemented to create a more secure and consistent system. +\end{description} + +\section{Continued use of Scrum} +In general the size and the time taken of each individual task was a lot smaller when comparing them to the last submission. We found using scrum extremely helped in managing this to clearly set out tasks and outline what everyone was doing. +\subsection{Scrum board} +We again went with using a board system to set up and allocate tasks. This gave a clear visual representation of what we wanted to achieve. With everyone now being in the same location it also made it a lot easier for everyone to set up and manage ongoing tasks. +\subsection{Sprints} +Now being familiar with the scrum process we decided to reduce the length of the sprints. This was also based on the fact that tasks were smaller and that the sprint assessment process needed to be undertaken more often to make sure we were on the right track with our progress as a team. +\subsection{Meetings} +As we were attempting to do shorter sprints we held more regular meet ups to discuss progress and make design decisions as a team. +The minutes for formal meetings are available in Appendix \ref{app:meet}. + + +\section{File Conversions} +\subsubsection{.scn File Converter} +\subsubsection{.czi File Converter} +\subsubsection{.xslx File Converter} + + +\section{Protocols} +\subsection{Implementing end points} + +\section{Authorisation} +\subsection{Connecting Authentication to Middleware} + + +\section{Testing} +\subsection{Error Handling} +\subsection{Content Checking} + + +\section{Looking Ahead} + +\appendix +\section{Meeting minutes} \label{app:meet} +\begin{lstlisting} + +Group Project Meeting 1 post submission +Date: 12/02/18 +Topics: +Reassigning scrum roles +Creating next set of tasks +Task allocation + +Outcomes: +* Scrum: + * scrum master - Hafeez + * project owner - Calum + +*Tasks: + * Implementing endpoints + * Implementing file conversions + * Improving test coverage + * Writing tests for untested sections + * Connecting all middleware + * Decide on how to deal with errors and connecting + * Organising file-system + * Creating a Linter to maintain a consistent file structure + +\end{lstlisting} + +\end{document} + -- cgit v1.2.1 From b82bf8de059e71f03a49afcffec355d05ef70143 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Wed, 28 Feb 2018 19:46:30 +0000 Subject: Rearrange Report folder for easier editing --- .editorconfig | 3 ++ Report/1.png | Bin 23078 -> 0 bytes Report/2.png | Bin 76186 -> 0 bytes Report/3.png | Bin 37309 -> 0 bytes Report/4.png | Bin 17337 -> 0 bytes Report/5.png | Bin 21343 -> 0 bytes Report/6.png | Bin 28793 -> 0 bytes Report/7.png | Bin 30848 -> 0 bytes Report/Makefile | 9 +++++ Report/graphics/1.png | Bin 0 -> 23078 bytes Report/graphics/2.png | Bin 0 -> 76186 bytes Report/graphics/3.png | Bin 0 -> 37309 bytes Report/graphics/4.png | Bin 0 -> 17337 bytes Report/graphics/5.png | Bin 0 -> 21343 bytes Report/graphics/6.png | Bin 0 -> 28793 bytes Report/graphics/7.png | Bin 0 -> 30848 bytes Report/main.tex | 89 +++++++---------------------------------------- Report/preamble.tex | 10 ++++++ Report/texts/aims.tex | 7 ++++ Report/texts/minutes.tex | 26 ++++++++++++++ Report/texts/scrum.tex | 9 +++++ Report/title.tex | 3 ++ 22 files changed, 80 insertions(+), 76 deletions(-) delete mode 100644 Report/1.png delete mode 100644 Report/2.png delete mode 100644 Report/3.png delete mode 100644 Report/4.png delete mode 100644 Report/5.png delete mode 100644 Report/6.png delete mode 100644 Report/7.png create mode 100644 Report/Makefile create mode 100644 Report/graphics/1.png create mode 100644 Report/graphics/2.png create mode 100644 Report/graphics/3.png create mode 100644 Report/graphics/4.png create mode 100644 Report/graphics/5.png create mode 100644 Report/graphics/6.png create mode 100644 Report/graphics/7.png create mode 100644 Report/preamble.tex create mode 100644 Report/texts/aims.tex create mode 100644 Report/texts/minutes.tex create mode 100644 Report/texts/scrum.tex create mode 100644 Report/title.tex diff --git a/.editorconfig b/.editorconfig index 9b6ac5c..83340e7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,3 +10,6 @@ trim_trailing_whitespace = true [*.y*ml] indent_style = space + +[*{Makefile,.mak}] +indent_size = 8 diff --git a/Report/1.png b/Report/1.png deleted file mode 100644 index 089b8ef..0000000 Binary files a/Report/1.png and /dev/null differ diff --git a/Report/2.png b/Report/2.png deleted file mode 100644 index 1714110..0000000 Binary files a/Report/2.png and /dev/null differ diff --git a/Report/3.png b/Report/3.png deleted file mode 100644 index 7eef8dc..0000000 Binary files a/Report/3.png and /dev/null differ diff --git a/Report/4.png b/Report/4.png deleted file mode 100644 index 8379ef7..0000000 Binary files a/Report/4.png and /dev/null differ diff --git a/Report/5.png b/Report/5.png deleted file mode 100644 index aeea913..0000000 Binary files a/Report/5.png and /dev/null differ diff --git a/Report/6.png b/Report/6.png deleted file mode 100644 index e3fb624..0000000 Binary files a/Report/6.png and /dev/null differ diff --git a/Report/7.png b/Report/7.png deleted file mode 100644 index a917d83..0000000 Binary files a/Report/7.png and /dev/null differ diff --git a/Report/Makefile b/Report/Makefile new file mode 100644 index 0000000..22d7496 --- /dev/null +++ b/Report/Makefile @@ -0,0 +1,9 @@ +.PHONY: default clean + +default : main.pdf + +%.pdf : %.tex + latexmk -pdf $< + +clean : + latexmk -C diff --git a/Report/graphics/1.png b/Report/graphics/1.png new file mode 100644 index 0000000..089b8ef Binary files /dev/null and b/Report/graphics/1.png differ diff --git a/Report/graphics/2.png b/Report/graphics/2.png new file mode 100644 index 0000000..1714110 Binary files /dev/null and b/Report/graphics/2.png differ diff --git a/Report/graphics/3.png b/Report/graphics/3.png new file mode 100644 index 0000000..7eef8dc Binary files /dev/null and b/Report/graphics/3.png differ diff --git a/Report/graphics/4.png b/Report/graphics/4.png new file mode 100644 index 0000000..8379ef7 Binary files /dev/null and b/Report/graphics/4.png differ diff --git a/Report/graphics/5.png b/Report/graphics/5.png new file mode 100644 index 0000000..aeea913 Binary files /dev/null and b/Report/graphics/5.png differ diff --git a/Report/graphics/6.png b/Report/graphics/6.png new file mode 100644 index 0000000..e3fb624 Binary files /dev/null and b/Report/graphics/6.png differ diff --git a/Report/graphics/7.png b/Report/graphics/7.png new file mode 100644 index 0000000..a917d83 Binary files /dev/null and b/Report/graphics/7.png differ diff --git a/Report/main.tex b/Report/main.tex index 86c9ba7..b6ad1d5 100644 --- a/Report/main.tex +++ b/Report/main.tex @@ -1,83 +1,20 @@ -\documentclass{article} -\usepackage[margin=1in]{geometry} -\usepackage{graphicx} -\usepackage{a4wide} -\usepackage{float} -\usepackage{listings} +\input{preamble} -\begin{document} -\title{Report --- Juniour Honours Project Submission 2} -\author{Hafeez Abdul-Rehaman, Johannes Weck, Josh Lee, Calum Duff, Tom Harley} -\date{\today} - -\maketitle - -\section{Aims for submission 2} -From our first submission we now had a working server that allowed a user using our own mock user interface to log in and access data based on their level of authorisation. After our first submission we had a meeting to set out goals for ourselves that would act as requirements for the second submission -\begin{description} - \item[Define Specific Protocol] Now that we had a working server, we next wanted to define specific protocol in order to demo our progress using work from the HCI groups. - \item[Manage Filetype Conversions] A main part of this submission was creating a file converter for all the required file types that would be needed. - \item[Testing] As our code was getting more complicated we wanted to make sure that extensive testing was implemented to create a more secure and consistent system. -\end{description} - -\section{Continued use of Scrum} -In general the size and the time taken of each individual task was a lot smaller when comparing them to the last submission. We found using scrum extremely helped in managing this to clearly set out tasks and outline what everyone was doing. -\subsection{Scrum board} -We again went with using a board system to set up and allocate tasks. This gave a clear visual representation of what we wanted to achieve. With everyone now being in the same location it also made it a lot easier for everyone to set up and manage ongoing tasks. -\subsection{Sprints} -Now being familiar with the scrum process we decided to reduce the length of the sprints. This was also based on the fact that tasks were smaller and that the sprint assessment process needed to be undertaken more often to make sure we were on the right track with our progress as a team. -\subsection{Meetings} -As we were attempting to do shorter sprints we held more regular meet ups to discuss progress and make design decisions as a team. -The minutes for formal meetings are available in Appendix \ref{app:meet}. - - -\section{File Conversions} -\subsubsection{.scn File Converter} -\subsubsection{.czi File Converter} -\subsubsection{.xslx File Converter} - - -\section{Protocols} -\subsection{Implementing end points} +\input{title} -\section{Authorisation} -\subsection{Connecting Authentication to Middleware} - - -\section{Testing} -\subsection{Error Handling} -\subsection{Content Checking} - - -\section{Looking Ahead} - -\appendix -\section{Meeting minutes} \label{app:meet} -\begin{lstlisting} - -Group Project Meeting 1 post submission -Date: 12/02/18 -Topics: -Reassigning scrum roles -Creating next set of tasks -Task allocation +\begin{document} -Outcomes: -* Scrum: - * scrum master - Hafeez - * project owner - Calum + \maketitle -*Tasks: - * Implementing endpoints - * Implementing file conversions - * Improving test coverage - * Writing tests for untested sections - * Connecting all middleware - * Decide on how to deal with errors and connecting - * Organising file-system - * Creating a Linter to maintain a consistent file structure + \input{texts/aims} + \input{texts/scrum} + % \input{texts/file-conversions} + % \input{texts/protocol} + % \input{texts/auth} + % \input{texts/testing} + % \input{texts/conclusion} -\end{lstlisting} + \appendix + \input{texts/minutes} \end{document} - diff --git a/Report/preamble.tex b/Report/preamble.tex new file mode 100644 index 0000000..8f2c76d --- /dev/null +++ b/Report/preamble.tex @@ -0,0 +1,10 @@ +\documentclass{article} + +\usepackage[margin=1in]{geometry} +\usepackage{a4wide} + +\usepackage{graphicx} +\graphicspath{{./graphics/}} + +\usepackage{float} +\usepackage{listings} diff --git a/Report/texts/aims.tex b/Report/texts/aims.tex new file mode 100644 index 0000000..3b74564 --- /dev/null +++ b/Report/texts/aims.tex @@ -0,0 +1,7 @@ +\section{Aims for submission 2} +From our first submission we now had a working server that allowed a user using our own mock user interface to log in and access data based on their level of authorisation. After our first submission we had a meeting to set out goals for ourselves that would act as requirements for the second submission +\begin{description} + \item[Define Specific Protocol] Now that we had a working server, we next wanted to define specific protocol in order to demo our progress using work from the HCI groups. + \item[Manage Filetype Conversions] A main part of this submission was creating a file converter for all the required file types that would be needed. + \item[Testing] As our code was getting more complicated we wanted to make sure that extensive testing was implemented to create a more secure and consistent system. +\end{description} diff --git a/Report/texts/minutes.tex b/Report/texts/minutes.tex new file mode 100644 index 0000000..e317a70 --- /dev/null +++ b/Report/texts/minutes.tex @@ -0,0 +1,26 @@ +\section{Meeting minutes}\label{app:meet} +\begin{lstlisting} + +Group Project Meeting 1 post submission +Date: 12/02/18 +Topics: +Reassigning scrum roles +Creating next set of tasks +Task allocation + +Outcomes: +* Scrum: + * scrum master - Hafeez + * project owner - Calum + +*Tasks: + * Implementing endpoints + * Implementing file conversions + * Improving test coverage + * Writing tests for untested sections + * Connecting all middleware + * Decide on how to deal with errors and connecting + * Organising file-system + * Creating a Linter to maintain a consistent file structure + +\end{lstlisting} diff --git a/Report/texts/scrum.tex b/Report/texts/scrum.tex new file mode 100644 index 0000000..a29cfcb --- /dev/null +++ b/Report/texts/scrum.tex @@ -0,0 +1,9 @@ +\section{Continued use of Scrum} +In general the size and the time taken of each individual task was a lot smaller when comparing them to the last submission. We found using scrum extremely helped in managing this to clearly set out tasks and outline what everyone was doing. +\subsection{Scrum board} +We again went with using a board system to set up and allocate tasks. This gave a clear visual representation of what we wanted to achieve. With everyone now being in the same location it also made it a lot easier for everyone to set up and manage ongoing tasks. +\subsection{Sprints} +Now being familiar with the scrum process we decided to reduce the length of the sprints. This was also based on the fact that tasks were smaller and that the sprint assessment process needed to be undertaken more often to make sure we were on the right track with our progress as a team. +\subsection{Meetings} +As we were attempting to do shorter sprints we held more regular meet ups to discuss progress and make design decisions as a team. +The minutes for formal meetings are available in Appendix~\ref{app:meet}. diff --git a/Report/title.tex b/Report/title.tex new file mode 100644 index 0000000..97064ff --- /dev/null +++ b/Report/title.tex @@ -0,0 +1,3 @@ +\title{Report --- Juniour Honours Project Submission 2} +\author{Hafeez Abdul-Rehaman, Johannes Weck, Josh Lee, Calum Duff, Tom Harley} +\date{\today} -- cgit v1.2.1 From b73e3d1a93624a2312b72cb42f7e1eda3281443c Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Thu, 1 Mar 2018 21:00:00 +0000 Subject: Add bibliography file with example reference --- Report/biblio.bib | 7 +++++++ Report/main.tex | 8 ++++++++ Report/preamble.tex | 1 + 3 files changed, 16 insertions(+) create mode 100644 Report/biblio.bib diff --git a/Report/biblio.bib b/Report/biblio.bib new file mode 100644 index 0000000..0024599 --- /dev/null +++ b/Report/biblio.bib @@ -0,0 +1,7 @@ +@misc {TSLint, + howpublished = {https://palantir.github.io/tslint/}, + title = {TSLint}, + publisher = {Palantir Technologies}, + year = {2016}, + note = {Accessed: 2018-03-01} +} diff --git a/Report/main.tex b/Report/main.tex index b6ad1d5..b30422f 100644 --- a/Report/main.tex +++ b/Report/main.tex @@ -14,7 +14,15 @@ % \input{texts/testing} % \input{texts/conclusion} + \clearpage + \appendix \input{texts/minutes} + \clearpage + + \nocite{*} + \bibliography{biblio}{} + \bibliographystyle{plain} + \end{document} diff --git a/Report/preamble.tex b/Report/preamble.tex index 8f2c76d..dcf579c 100644 --- a/Report/preamble.tex +++ b/Report/preamble.tex @@ -8,3 +8,4 @@ \usepackage{float} \usepackage{listings} +\usepackage{cite} -- cgit v1.2.1 From 6bdf1e9db178b630bd7e226c7063b977e4bbdcf9 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Thu, 1 Mar 2018 21:04:32 +0000 Subject: Add LaTeX and BibTeX output files to .gitignore --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 78de73b..b8948c5 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,10 @@ dist/ *.aux *.log *.pdf +*.fdb_latexmk +*.fls +*.bbl +*.blg # PostreSQL log files POSTGRES_logfile -- cgit v1.2.1 From 2d40e018a9dcb08d58357e0e31a99cd4c125c504 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Fri, 2 Mar 2018 15:40:40 +0000 Subject: Add references of dependencies --- Report/biblio.bib | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 133 insertions(+), 1 deletion(-) diff --git a/Report/biblio.bib b/Report/biblio.bib index 0024599..d0accd4 100644 --- a/Report/biblio.bib +++ b/Report/biblio.bib @@ -1,7 +1,139 @@ -@misc {TSLint, +@misc {tslint, howpublished = {https://palantir.github.io/tslint/}, title = {TSLint}, publisher = {Palantir Technologies}, year = {2016}, note = {Accessed: 2018-03-01} } + +@misc {protocol, + howpublished = {https://github.com/CS3099JH2017/cs3099jh/tree/master/protocols}, + title = {CS3099JH2017 Protocol}, + publisher = {CS3099 Year Group of 2017/18}, + year = {2018}, + note = {Accessed: 2018-03-02} +} + +@misc {yarn, + howpublished = {https://yarnpkg.com/en/docs}, + title = {Yarn}, + publisher = {Yarn Organization}, + note = {Accessed: 2018-03-02} +} + +@misc {typescript, + howpublished = {https://www.typescriptlang.org/docs/home.html}, + title = {TypeScript}, + publisher = {Microsoft}, + year = {2017}, + note = {Accessed: 2018-03-02} +} + +@misc {sequelize, + howpublished = {http://docs.sequelizejs.com/}, + title = {Sequelize}, + publisher = {Sequelize}, + note = {Accessed: 2018-03-02} +} + +@misc {sequelize-typescript, + howpublished = {https://github.com/RobinBuschmann/sequelize-typescript}, + title = {sequelize-typescript}, + publisher = {Robin Buschmann}, + note = {Accessed: 2018-03-02} +} + +@misc {postgres, + howpublished = {https://www.postgresql.org/docs/}, + title = {PostreSQL}, + publisher = {The PostgreSQL Global Development Group}, + year = {2018}, + note = {Accessed: 2018-03-02} +} + +@misc {mocha, + howpublished = {https://mochajs.org/}, + title = {Mocha}, + publisher = {mochajs}, + note = {Accessed: 2018-03-02} +} + +@misc {mocha-each, + howpublished = {https://github.com/ryym/mocha-each}, + title = {mocha-each}, + publisher = {ryym}, + note = {Accessed: 2018-03-02} +} + +@misc {chai, + howpublished = {http://chaijs.com/api/bdd/}, + title = {Chai Assertion Library}, + publisher = {chaijs}, + note = {Accessed: 2018-03-02} +} + +@misc {chai-http, + howpublished = {http://chaijs.com/plugins/chai-http/}, + title = {Chai HTTP}, + publisher = {chaijs}, + note = {Accessed: 2018-03-02} +} + +@misc {express, + howpublished = {https://expressjs.com/en/4x/api.html}, + title = {Express 4.x}, + publisher = {expressjs}, + year = {2017}, + note = {Accessed: 2018-03-02} +} + +@misc {passport, + howpublished = {http://www.passportjs.org/docs/}, + title = {Passport}, + publisher = {Jared Hanson}, + note = {Accessed: 2018-03-02} +} + +@misc {passport-local, + howpublished = {https://github.com/jaredhanson/passport-local}, + title = {passport-local}, + publisher = {Jared Hanson}, + note = {Accessed: 2018-03-02} +} + +@misc {morgan, + howpublished = {https://github.com/expressjs/morgan}, + title = {morgan}, + publisher = {expressjs}, + note = {Accessed: 2018-03-02} +} + +@misc {typedoc, + howpublished = {http://typedoc.org/guides/usage/}, + title = {TypeDoc}, + publisher = {TypeStrong}, + note = {Accessed: 2018-03-02} +} + +@misc {xlsx, + howpublished = {https://github.com/sheetjs/js-xlsx}, + title = {js-xlsx}, + publisher = {SheetJS}, + note = {Accessed: 2018-03-02} +} + +@misc {docker, + howpublished = {https://hub.docker.com/}, + title = {Docker Hub}, + publisher = {Docker Inc.}, + year = {2016}, + note = {Accessed: 2018-03-02} +} + +@misc {@types, + howpublished = {http://definitelytyped.org/}, + title = {DefinitelyTyped}, + publisher = {DefinitelyTyped}, + year = {2017}, + note = {Accessed: 2018-03-02} +} -- cgit v1.2.1 From d458083bf52c66ef4a58c6d411c224bb3654bfc8 Mon Sep 17 00:00:00 2001 From: josh97josh Date: Tue, 6 Mar 2018 11:12:58 +0000 Subject: modified report --- Report/main.tex | 2 +- Report/texts/aims.tex | 4 +-- Report/texts/conclusion.tex | 4 +++ Report/texts/minutes.tex | 80 +++++++++++++++++++++++++++++++++++---------- Report/texts/scrum.tex | 6 ++-- 5 files changed, 73 insertions(+), 23 deletions(-) create mode 100644 Report/texts/conclusion.tex diff --git a/Report/main.tex b/Report/main.tex index b30422f..b320b98 100644 --- a/Report/main.tex +++ b/Report/main.tex @@ -12,7 +12,7 @@ % \input{texts/protocol} % \input{texts/auth} % \input{texts/testing} - % \input{texts/conclusion} + \input{texts/conclusion} \clearpage diff --git a/Report/texts/aims.tex b/Report/texts/aims.tex index 3b74564..e1da3ee 100644 --- a/Report/texts/aims.tex +++ b/Report/texts/aims.tex @@ -1,7 +1,7 @@ \section{Aims for submission 2} -From our first submission we now had a working server that allowed a user using our own mock user interface to log in and access data based on their level of authorisation. After our first submission we had a meeting to set out goals for ourselves that would act as requirements for the second submission +From our first submission, we now had a working server that allowed a user to access our own mock user interface to log in and access data based on their level of authorisation. Following this we set up a meeting to lay out goals for ourselves that would act as requirements for the second submission. \begin{description} - \item[Define Specific Protocol] Now that we had a working server, we next wanted to define specific protocol in order to demo our progress using work from the HCI groups. + \item[Define Specific Protocol] Now that we had a working server, we next wanted to define specific protocol in order to demo our progress using work from another Junior Honours HCI groups. \item[Manage Filetype Conversions] A main part of this submission was creating a file converter for all the required file types that would be needed. \item[Testing] As our code was getting more complicated we wanted to make sure that extensive testing was implemented to create a more secure and consistent system. \end{description} diff --git a/Report/texts/conclusion.tex b/Report/texts/conclusion.tex new file mode 100644 index 0000000..f0cc6c6 --- /dev/null +++ b/Report/texts/conclusion.tex @@ -0,0 +1,4 @@ +\section{Conclusion} +As a group we have made a lot of progress for this submission, we were proactive in setting out goals for ourselves and feel we are now well on track to produce an outstanding final hand in. Our continued use of scrum has helped keep workload consistent and effective right through to this submission and we hope to continue in this way. Having now combined our work with the HCI group we are looking forward to working with machine learning to tie together all 3 groups to create the desired system set out by the project owner. + +\subsection{Next Tasks} \ No newline at end of file diff --git a/Report/texts/minutes.tex b/Report/texts/minutes.tex index e317a70..55aab2a 100644 --- a/Report/texts/minutes.tex +++ b/Report/texts/minutes.tex @@ -1,26 +1,72 @@ -\section{Meeting minutes}\label{app:meet} -\begin{lstlisting} +\begin{lstlisting} Group Project Meeting 1 post submission -Date: 12/02/18 -Topics: -Reassigning scrum roles -Creating next set of tasks -Task allocation +Date: 12/02/18 +Topics: +Reassigning scrum roles +Creating next set of tasks +Task allocation Outcomes: -* Scrum: - * scrum master - Hafeez - * project owner - Calum +* Scrum: + * scrum master - Hafeez + * project owner - Calum *Tasks: * Implementing endpoints - * Implementing file conversions - * Improving test coverage - * Writing tests for untested sections - * Connecting all middleware - * Decide on how to deal with errors and connecting - * Organising file-system - * Creating a Linter to maintain a consistent file structure + * Implementing file conversions + * Improving test coverage + * Writing tests for untested sections + * Connecting all middleware + * Decide on how to deal with errors + * Organising file-system + * Creating a Linter to maintain a consistent file structure + +Group Project Meeting 2 Pre-sprint +Date 15/02/18 +Topics: +Define user stories +Task allocation + +Outcomes: +* Sprint + * Week long sprint + * Meeting set for 22/02/18 + +Group Project Meeting 3 Post-Sprint +Date 22/02/18 +Topics: +Analysis of work +Next task assignment + +Outcomes: + +Group Project Meeting 4 +Date 24/02/18 +Topics: +Sprint aims +Sprint deadline + +Outcomes: + *Decided to hold a sprint now to leave time + before next submission to finish off all leftover work + +Group Project Meeting 5 +Date 03/03/18 +Topics +Analysis of work todo after sprint +Work needed to complete before deadline + + +Outcomes: + * Finishing off of the report + *Connecting work with another HCI group + *Finish testing + + + + + + \end{lstlisting} diff --git a/Report/texts/scrum.tex b/Report/texts/scrum.tex index a29cfcb..7426e5b 100644 --- a/Report/texts/scrum.tex +++ b/Report/texts/scrum.tex @@ -1,9 +1,9 @@ \section{Continued use of Scrum} -In general the size and the time taken of each individual task was a lot smaller when comparing them to the last submission. We found using scrum extremely helped in managing this to clearly set out tasks and outline what everyone was doing. +In general the size and the time taken of each individual task was a lot smaller when comparing to the last submission. We found using scrum extremely helped in managing this to clearly set out tasks and outline what everyone was doing. \subsection{Scrum board} We again went with using a board system to set up and allocate tasks. This gave a clear visual representation of what we wanted to achieve. With everyone now being in the same location it also made it a lot easier for everyone to set up and manage ongoing tasks. \subsection{Sprints} -Now being familiar with the scrum process we decided to reduce the length of the sprints. This was also based on the fact that tasks were smaller and that the sprint assessment process needed to be undertaken more often to make sure we were on the right track with our progress as a team. +Now being familiar with the scrum process we decided to reduce the length of the sprints. This was also based on the fact that the timeline of this submission was smaller so the sprint assessment process needed to be undertaken more often to make sure we were on the right track with our progress as a team. \subsection{Meetings} As we were attempting to do shorter sprints we held more regular meet ups to discuss progress and make design decisions as a team. -The minutes for formal meetings are available in Appendix~\ref{app:meet}. +The minutes for formal meetings are available in Appendix -- cgit v1.2.1 From 3a58b50f73fff1a193c7fd1bd7d88e2193d5dcb4 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Tue, 6 Mar 2018 18:24:21 +0000 Subject: Mention logging in report --- Report/main.tex | 1 + Report/texts/logging.tex | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 Report/texts/logging.tex diff --git a/Report/main.tex b/Report/main.tex index b320b98..812a482 100644 --- a/Report/main.tex +++ b/Report/main.tex @@ -11,6 +11,7 @@ % \input{texts/file-conversions} % \input{texts/protocol} % \input{texts/auth} + \input{texts/logging} % \input{texts/testing} \input{texts/conclusion} diff --git a/Report/texts/logging.tex b/Report/texts/logging.tex new file mode 100644 index 0000000..1f48ff2 --- /dev/null +++ b/Report/texts/logging.tex @@ -0,0 +1,26 @@ +\section{Logging} +Server logging has now been formalised: the functionality is imported into +a file and can then be used to log messages at the selection of urgencies +specified in Protocol BE01~\cite{protocol}. + +These outputs have many configuration options, which ideally will be +incorporated into a global configuration handler in future development. + +\subsection{Standard Logging} +By default, the standard logger logs to three places: +\begin{enumerate} + \item Colourised, human-readable messages are printed to the console. + Any error- or critical-level messages are printed through stderr. + \item More verbose JSON editions of messages are written to a basic + logfile. + \item Critical-level messages are additionally written to an extra + logfile. +\end{enumerate} + +\subsection{SQL Query Logging} +A separate logger has been designed for logging the output of +Sequelize~\cite{sequelize}. Since Protocol BE01 does not specify that they +should be retreivable, the output queries can be stored with less associated +metadata. In addition, Sequelize can output the total required time to +process the query, which is stored in the log for future use as profiling +data. -- cgit v1.2.1 From 1ac6dee8816d34853c4875a3fbcf1c881fd13dcc Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Wed, 7 Mar 2018 15:04:13 +0000 Subject: Add information on process management --- Report/biblio.bib | 22 +++++++++++++++ Report/main.tex | 1 + Report/texts/logging.tex | 12 ++++++++ Report/texts/process-management.tex | 56 +++++++++++++++++++++++++++++++++++++ 4 files changed, 91 insertions(+) create mode 100644 Report/texts/process-management.tex diff --git a/Report/biblio.bib b/Report/biblio.bib index d0accd4..7c4d0fa 100644 --- a/Report/biblio.bib +++ b/Report/biblio.bib @@ -137,3 +137,25 @@ year = {2017}, note = {Accessed: 2018-03-02} } + +@misc {strongloop, + howpublished = {https://strongloop.com/}, + title = {StrongLoop}, + publisher = {IBM}, + year = {2018}, + note = {Accessed: 2018-03-07} +} + +@misc {pm2, + howpublished = {http://pm2.keymetrics.io/}, + title = {pm2}, + publisher = {KeyMetrics}, + note = {Accessed: 2018-03-07} +} + +@misc {forever, + howpublished = {https://github.com/foreverjs/forever}, + title = {foreverjs}, + publisher = {foreverjs}, + note = {Accessed: 2018-03-07} +} diff --git a/Report/main.tex b/Report/main.tex index 812a482..26c4a10 100644 --- a/Report/main.tex +++ b/Report/main.tex @@ -12,6 +12,7 @@ % \input{texts/protocol} % \input{texts/auth} \input{texts/logging} + \input{texts/process-management} % \input{texts/testing} \input{texts/conclusion} diff --git a/Report/texts/logging.tex b/Report/texts/logging.tex index 1f48ff2..d0a7255 100644 --- a/Report/texts/logging.tex +++ b/Report/texts/logging.tex @@ -24,3 +24,15 @@ should be retreivable, the output queries can be stored with less associated metadata. In addition, Sequelize can output the total required time to process the query, which is stored in the log for future use as profiling data. + +\subsection{Motivation} +Since basic server functionality has been implemented, the errors produced +will likely be caused by difficult-to-debug problems, such as edge-cases or +data races. With a verbose and thorough logging system, these problems +should be much easier to detect and rectify. + +In addition, Protocol BE01~\cite{protocol} requires of the backend support +for receiving and storing logs from other services. The introduction of a +well-implemented logging system abstracts this from the common use-case of +logging while keeping powerful functionality of forwarding and fetching logs +available for when it is needed. diff --git a/Report/texts/process-management.tex b/Report/texts/process-management.tex new file mode 100644 index 0000000..bb40faa --- /dev/null +++ b/Report/texts/process-management.tex @@ -0,0 +1,56 @@ +\section{Process Management and Deployment}\label{sec:pm} +In a production environment, many instances of a NodeJS server are run on +one machine; this way NodeJS applications can make use of multiple +processors. For this purpose, research into \emph{process managers} --- +applications used for running and managing production-level systems --- +was carried out. + +\subsection{Process Manager Selection}\label{sec:pms} +A number of process managers were investigated with the hope of +incorporating them into the production +system~\cite{strongloop}\cite{pm2}\cite{forever}. The application pm2 was +chosen, primarily for its highly-configurable \emph{ecosystem}-config files, +and \emph{pmx}\footnote{https://github.com/keymetrics/pmx}, +its profiling extension. + +\subsection{pm2 and KeyMetrics}\label{sec:pm2} + +\begin{figure} + \centering + % \includegraphics[width=0.5\linewidth]{km-dash} + \caption{The KeyMetrics dashboard web client in use.}\label{fig:dash} +\end{figure} + +A feature available in \emph{pm2} is the ability to transmit profiling +statistics to a web client, as a dashboard. The dashboard also allows the +user to remotely issue commands to the running instances. Further, +custom profiling information, and custom remote commands, can be created +through the introduction of simple logic into the codebase. + +\subsection{Process Limitations}\label{sec:plim} +Running multiple NodeJS instances can quickly accumulate counts towards a +user process limit: each instance hosts several threads, and each connection +to the PostgreSQL database can pool several threads also, resulting in many +threads per instance. Compounded with the fact that pm2 itself also runs +as a NodeJS instance, this means that a user can reach their process limit +on the host labs very quickly. Using \texttt{nolimit} on process +instantiation is one solution, however this means having to run +\texttt{nolimit} when starting the databse, deamonising the process manager, +starting the server instances, and doing any miscellaneous tasks. This +limitation has stunted hindered attempts to connect to other teams' +products. + +\subsection{Heroku Hosting}\label{sec:her} +In response to the issues addressed in \S\ref{sec:plim}, an attempt to host +an instance of the server on hosting service +\emph{Heroku}\footnote{https://heroku.com/} has been started. This would +alloow the team to interact with other teams, without using a member's +process limit and hindering their productivity. Additionally, it would show +the deployability of the system --- an important factor for a backend +server. + +\subsection{External System Hosting}\label{sec:ext} +Another option is to host instances of the system on devices personally +owned by members of the team. This would give the team absolute control over +configuration of the sytem, and would have the potential to outperform an +instance running on a complementary Heroku service. -- cgit v1.2.1 From 107c117aabb9549d1c229bb8de21fa59c1d4e017 Mon Sep 17 00:00:00 2001 From: jw255 Date: Wed, 7 Mar 2018 15:23:18 +0000 Subject: testing in report complete --- Report/main.tex | 2 +- Report/texts/testing.tex | 15 + logs/general/critical | 17 + logs/general/queries | 3931 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 3964 insertions(+), 1 deletion(-) create mode 100644 Report/texts/testing.tex create mode 100644 logs/general/critical create mode 100644 logs/general/queries diff --git a/Report/main.tex b/Report/main.tex index 812a482..231951d 100644 --- a/Report/main.tex +++ b/Report/main.tex @@ -12,7 +12,7 @@ % \input{texts/protocol} % \input{texts/auth} \input{texts/logging} - % \input{texts/testing} + \input{texts/testing} \input{texts/conclusion} \clearpage diff --git a/Report/texts/testing.tex b/Report/texts/testing.tex new file mode 100644 index 0000000..8a17e5b --- /dev/null +++ b/Report/texts/testing.tex @@ -0,0 +1,15 @@ +\section{Testing} +Tests do not currently run on the gitlab server, as the postgres integration with the docker gilab-ci is still missing. This means any tests run automatically when pushing will fail. \par +When running integration tests locally, please make sure the postgres server is up and running on localhost. +\subsection{Structure} +Testing files were restructured for a more organised and professional approach. All test files end in "*.\(<\)context\(>\).test.ts" and were moved to the "test" directory. At this moment, "\(<\)context\(>\)" includes "unit" and "routes". Further, they were categorised into \textit{integration} and \textit{unit} tests and moved into corresponding sub-directories. \par +Apart from making test files easier to find, this new structure also allowed us to run specific tests independently to isolate failures and quickly rerun individual tests. For example \shellcmd{yarn test:routes:auth} runs all authentication tests. +\subsection{Integration Testing} +\shellcmd{yarn test:routes} +This category of tests targeted the interplay of different server components as it tested server endpoints (routes) rather than internal functions. We aimed to test all routes for responses of success, and various degrees of failure. \par +E.g. \textbf{"auth.routes.test.ts"} tested the authentication middle-ware, checking existing users could log in only with correct usernames, passwords and reauthentication tokens. During our later meetings, we realised that security is a key-component of medical systems, and requires further much more in-depth testing to guarantee safety of patient data. \par +\textbf{"protocol.routes.test.ts"} aims to cover all endpoints specified in the agreed protocol by using the \textit{mocha-each} npm module. This allowed us to write few mocha testing functions iterating over the long list of endpoints, checking HTTP responses to fit the JSON response templates to conform to the protocol. This form of testing is still incomplete. +\subsection{Unit Testing} +\shellcmd{yarn test:unit} +The main motivation for this category of tests was to find bugs early on without having to run the whole server. This saves time and uncovers new code breaking old functionality. We also found that unit tests improved the design process by forcing implementation of code that is testable. Furthermore, unit tests were often used as a form of documentation, as it aided in understanding how code of other team members worked and could be used. \par +We decided that each team-member was responsible for creating the unit tests for their code. Unfortunately the number and coverage of unit tests is still quite low. This may be the result of prioritising functionality over bug-resilience and test-driven development. diff --git a/logs/general/critical b/logs/general/critical new file mode 100644 index 0000000..3113aae --- /dev/null +++ b/logs/general/critical @@ -0,0 +1,17 @@ +{"date":"Mon Mar 05 2018 19:57:43 GMT+0000 (GMT)","process":{"pid":2426,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/usr/bin/node","version":"v8.9.4","argv":["/usr/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":99258368,"heapTotal":79220736,"heapUsed":47529048,"external":1410552}},"os":{"loadavg":[0.15234375,0.13671875,0.39306640625],"uptime":5038229},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":null,"line":72,"method":null,"native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":313,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":106,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":208,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1655,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test. (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:72:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:313:30)"," at emitNone (events.js:106:13)"," at Server.emit (events.js:208:7)"," at emitCloseNT (net.js:1655:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-05T19:57:43.010Z"} +{"date":"Mon Mar 05 2018 20:00:22 GMT+0000 (GMT)","process":{"pid":3425,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/usr/bin/node","version":"v8.9.4","argv":["/usr/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":207020032,"heapTotal":155942912,"heapUsed":111597688,"external":74819}},"os":{"loadavg":[0.12744140625,0.12646484375,0.34423828125],"uptime":5038388},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":null,"line":71,"method":null,"native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":313,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":106,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":208,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1655,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test. (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:313:30)"," at emitNone (events.js:106:13)"," at Server.emit (events.js:208:7)"," at emitCloseNT (net.js:1655:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-05T20:00:22.251Z"} +{"date":"Mon Mar 05 2018 20:01:45 GMT+0000 (GMT)","process":{"pid":3715,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/usr/bin/node","version":"v8.9.4","argv":["/usr/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":204709888,"heapTotal":150753280,"heapUsed":129316672,"external":860988}},"os":{"loadavg":[0.16064453125,0.12646484375,0.32470703125],"uptime":5038472},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":null,"line":71,"method":null,"native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":313,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":106,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":208,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1655,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test. (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:313:30)"," at emitNone (events.js:106:13)"," at Server.emit (events.js:208:7)"," at emitCloseNT (net.js:1655:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-05T20:01:45.638Z"} +{"date":"Mon Mar 05 2018 20:03:10 GMT+0000 (GMT)","process":{"pid":3885,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/usr/bin/node","version":"v8.9.4","argv":["/usr/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":208748544,"heapTotal":158040064,"heapUsed":131937504,"external":317059}},"os":{"loadavg":[0.1162109375,0.1083984375,0.29736328125],"uptime":5038557},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":null,"line":71,"method":null,"native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":313,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":106,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":208,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1655,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test. (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:313:30)"," at emitNone (events.js:106:13)"," at Server.emit (events.js:208:7)"," at emitCloseNT (net.js:1655:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-05T20:03:10.753Z"} +{"date":"Tue Mar 06 2018 15:27:50 GMT+0000 (GMT)","process":{"pid":26209,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":97353728,"heapTotal":77099008,"heapUsed":49499928,"external":1410892}},"os":{"loadavg":[3.22607421875,2.662109375,2.60302734375],"uptime":538292},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":88,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 400"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:88:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 400","label":"Critical Reporter","timestamp":"2018-03-06T15:27:50.732Z"} +{"date":"Tue Mar 06 2018 15:45:19 GMT+0000 (GMT)","process":{"pid":28110,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":98410496,"heapTotal":76050432,"heapUsed":49468536,"external":1594601}},"os":{"loadavg":[2.03125,2.03125,2.25390625],"uptime":539341},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":88,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 400"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:88:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 400","label":"Critical Reporter","timestamp":"2018-03-06T15:45:19.709Z"} +{"date":"Tue Mar 06 2018 15:45:48 GMT+0000 (GMT)","process":{"pid":28195,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":193683456,"heapTotal":148590592,"heapUsed":114523704,"external":1336445}},"os":{"loadavg":[2.11181640625,2.04541015625,2.25048828125],"uptime":539370},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":88,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 400"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:88:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 400","label":"Critical Reporter","timestamp":"2018-03-06T15:45:48.340Z"} +{"date":"Tue Mar 06 2018 15:46:36 GMT+0000 (GMT)","process":{"pid":28354,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":202117120,"heapTotal":153350144,"heapUsed":126885224,"external":262087}},"os":{"loadavg":[2.20263671875,2.072265625,2.24658203125],"uptime":539419},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":88,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 400"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:88:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 400","label":"Critical Reporter","timestamp":"2018-03-06T15:46:36.915Z"} +{"date":"Tue Mar 06 2018 15:47:11 GMT+0000 (GMT)","process":{"pid":28457,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":201355264,"heapTotal":148590592,"heapUsed":115832104,"external":1273595}},"os":{"loadavg":[2.3466796875,2.11474609375,2.25244140625],"uptime":539453},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":71,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-06T15:47:11.026Z"} +{"date":"Tue Mar 06 2018 15:49:26 GMT+0000 (GMT)","process":{"pid":28900,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":194514944,"heapTotal":148590592,"heapUsed":115993280,"external":1425542}},"os":{"loadavg":[2.89599609375,2.37060546875,2.3251953125],"uptime":539588},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":71,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-06T15:49:26.650Z"} +{"date":"Tue Mar 06 2018 15:51:15 GMT+0000 (GMT)","process":{"pid":29130,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":196173824,"heapTotal":148066304,"heapUsed":116140448,"external":1372920}},"os":{"loadavg":[2.8583984375,2.5478515625,2.39697265625],"uptime":539697},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":71,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-06T15:51:15.132Z"} +{"date":"Tue Mar 06 2018 15:51:49 GMT+0000 (GMT)","process":{"pid":29202,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":207503360,"heapTotal":153874432,"heapUsed":127288792,"external":211793}},"os":{"loadavg":[2.56396484375,2.50439453125,2.388671875],"uptime":539732},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":71,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 123 but got 200"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 123 but got 200","label":"Critical Reporter","timestamp":"2018-03-06T15:51:49.967Z"} +{"date":"Tue Mar 06 2018 15:53:09 GMT+0000 (GMT)","process":{"pid":29275,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":99831808,"heapTotal":76574720,"heapUsed":51011040,"external":1656035}},"os":{"loadavg":[2.337890625,2.44482421875,2.37890625],"uptime":539811},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":71,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 123 but got 200"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 123 but got 200","label":"Critical Reporter","timestamp":"2018-03-06T15:53:09.456Z"} +{"date":"Tue Mar 06 2018 15:54:04 GMT+0000 (GMT)","process":{"pid":29369,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":203153408,"heapTotal":155918336,"heapUsed":111414264,"external":66855}},"os":{"loadavg":[2.28857421875,2.4150390625,2.37353515625],"uptime":539866},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":71,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-06T15:54:04.711Z"} +{"date":"Tue Mar 06 2018 16:05:25 GMT+0000 (GMT)","process":{"pid":30697,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":201003008,"heapTotal":148590592,"heapUsed":122526232,"external":1177000}},"os":{"loadavg":[2.3056640625,2.3251953125,2.341796875],"uptime":540547},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":99,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 400"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:99:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 400","label":"Critical Reporter","timestamp":"2018-03-06T16:05:25.934Z"} +{"date":"Tue Mar 06 2018 16:43:51 GMT+0000 (GMT)","process":{"pid":922,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":200962048,"heapTotal":149114880,"heapUsed":114207432,"external":1129978}},"os":{"loadavg":[2.70947265625,2.2939453125,2.1953125],"uptime":542853},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":94,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 400"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:94:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 400","label":"Critical Reporter","timestamp":"2018-03-06T16:43:51.296Z"} +{"date":"Tue Mar 06 2018 16:44:17 GMT+0000 (GMT)","process":{"pid":967,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*.routes.test.ts"],"memoryUsage":{"rss":204718080,"heapTotal":149626880,"heapUsed":113866840,"external":73007}},"os":{"loadavg":[2.6640625,2.3154296875,2.20556640625],"uptime":542879},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":94,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 400"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:94:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 400","label":"Critical Reporter","timestamp":"2018-03-06T16:44:17.297Z"} diff --git a/logs/general/queries b/logs/general/queries new file mode 100644 index 0000000..4ed732a --- /dev/null +++ b/logs/general/queries @@ -0,0 +1,3931 @@ +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-05T19:57:42.490Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.501Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.511Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.537Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.546Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.576Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.583Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.594Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.599Z"} +{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T19:57:42.639Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.648Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.655Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-05T19:57:42.686Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.690Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.693Z"} +{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-05T19:57:42.737Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.740Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.742Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-05T19:57:42.753Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.756Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.758Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T19:57:42.773Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.777Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.780Z"} +{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-05T19:57:42.819Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.822Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.825Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-05T19:57:42.839Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.841Z"} +{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-05 19:57:42.845 +00:00','2018-03-05 19:57:42.845 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.860Z"} +{"duration":41,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-05T19:57:42.953Z"} +{"duration":20,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-05T19:57:42.983Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-05T20:00:21.681Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.701Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.726Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.737Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.745Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.754Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.762Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.771Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.777Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T20:00:21.820Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.828Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.835Z"} +{"duration":44,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-05T20:00:21.881Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.884Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.886Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-05T20:00:21.898Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.901Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.903Z"} +{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-05T20:00:21.928Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.931Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.933Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T20:00:21.949Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.953Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.955Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-05T20:00:21.963Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.965Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.967Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-05T20:00:21.977Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.980Z"} +{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-05 20:00:21.985 +00:00','2018-03-05 20:00:21.985 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.999Z"} +{"duration":36,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-05T20:00:22.092Z"} +{"duration":128,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-05T20:00:22.221Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-05T20:01:45.240Z"} +{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.261Z"} +{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.266Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.277Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.284Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.293Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.300Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.310Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.316Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T20:01:45.335Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.343Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.349Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-05T20:01:45.360Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.363Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.365Z"} +{"duration":21,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-05T20:01:45.388Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.391Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.393Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-05T20:01:45.405Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.407Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.410Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T20:01:45.425Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.429Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.432Z"} +{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-05T20:01:45.440Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.443Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.444Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-05T20:01:45.455Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.458Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-05 20:01:45.462 +00:00','2018-03-05 20:01:45.462 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.476Z"} +{"duration":12,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-05T20:01:45.544Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-05T20:01:45.552Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-05T20:03:10.360Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.378Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.385Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.395Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.403Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.411Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.436Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.446Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.452Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T20:03:10.484Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.494Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.502Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-05T20:03:10.515Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.518Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.520Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-05T20:03:10.531Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.534Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.537Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-05T20:03:10.549Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.551Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.553Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T20:03:10.568Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.571Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.574Z"} +{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-05T20:03:10.600Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.603Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.606Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-05T20:03:10.619Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.622Z"} +{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-05 20:03:10.627 +00:00','2018-03-05 20:03:10.627 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.642Z"} +{"duration":11,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-05T20:03:10.705Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-05T20:03:10.720Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T14:57:27.342Z"} +{"duration":293,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.639Z"} +{"duration":18,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.660Z"} +{"duration":60,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.721Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.752Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.787Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.817Z"} +{"duration":64,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.882Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.884Z"} +{"duration":196,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T14:57:28.082Z"} +{"duration":67,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.155Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.161Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T14:57:28.188Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.192Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.193Z"} +{"duration":71,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T14:57:28.265Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.266Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.267Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T14:57:28.294Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.295Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.296Z"} +{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T14:57:28.338Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.341Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.342Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T14:57:28.357Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.358Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.359Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T14:57:28.387Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.389Z"} +{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 14:57:28.393 +00:00','2018-03-06 14:57:28.393 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.408Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:27:49.734Z"} +{"duration":64,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:49.803Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:49.817Z"} +{"duration":242,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.060Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.083Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.107Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.132Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.163Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.165Z"} +{"duration":137,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:27:50.305Z"} +{"duration":31,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.337Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.340Z"} +{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:27:50.378Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.380Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.382Z"} +{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:27:50.428Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.431Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.432Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:27:50.459Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.462Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.463Z"} +{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:27:50.502Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.506Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.507Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:27:50.521Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.523Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.524Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:27:50.552Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.554Z"} +{"duration":8,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:27:50.556 +00:00','2018-03-06 15:27:50.556 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.570Z"} +{"duration":83,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:27:50.734Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:27:50.737Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:45:19.131Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.171Z"} +{"duration":16,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.189Z"} +{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.226Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.251Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.277Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.300Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.331Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.333Z"} +{"duration":52,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:19.389Z"} +{"duration":19,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.410Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.413Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:19.441Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.444Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.445Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:19.474Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.476Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.477Z"} +{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:19.513Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.514Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.515Z"} +{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:19.555Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.558Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.559Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:19.576Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.579Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.581Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:19.608Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.611Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:45:19.613 +00:00','2018-03-06 15:45:19.613 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.626Z"} +{"duration":28,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:45:19.711Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:45:47.794Z"} +{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.825Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.839Z"} +{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.874Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.900Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.924Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.946Z"} +{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.975Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.978Z"} +{"duration":46,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:48.027Z"} +{"duration":13,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.042Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.045Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:48.073Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.076Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.077Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:48.107Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.109Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.110Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:48.136Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.138Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.140Z"} +{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:48.179Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.182Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.184Z"} +{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:48.217Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.219Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.220Z"} +{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:48.246Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.248Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:45:48.250 +00:00','2018-03-06 15:45:48.250 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.263Z"} +{"duration":27,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:45:48.342Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:46:36.333Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.366Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.380Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.416Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.439Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.475Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.496Z"} +{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.525Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.528Z"} +{"duration":58,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:46:36.590Z"} +{"duration":20,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.611Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.614Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:46:36.651Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.654Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.655Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:46:36.682Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.684Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.685Z"} +{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:46:36.710Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.713Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.714Z"} +{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:46:36.750Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.753Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.755Z"} +{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:46:36.787Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.789Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.790Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:46:36.818Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.819Z"} +{"duration":6,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:46:36.821 +00:00','2018-03-06 15:46:36.821 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.833Z"} +{"duration":28,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:46:36.917Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:46:36.919Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:47:10.378Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.411Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.427Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.463Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.488Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.514Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.539Z"} +{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.574Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.576Z"} +{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:47:10.621Z"} +{"duration":14,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.636Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.639Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:47:10.670Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.672Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.674Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:47:10.705Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.707Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.709Z"} +{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:47:10.744Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.746Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.747Z"} +{"duration":61,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:47:10.809Z"} +{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.814Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.815Z"} +{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:47:10.847Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.849Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.850Z"} +{"duration":46,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:47:10.897Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.900Z"} +{"duration":21,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:47:10.902 +00:00','2018-03-06 15:47:10.902 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.929Z"} +{"duration":17,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:47:10.984Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:47:10.988Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:49:25.549Z"} +{"duration":73,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:25.627Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:25.663Z"} +{"duration":101,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:25.764Z"} +{"duration":73,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:25.837Z"} +{"duration":65,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:25.903Z"} +{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:25.944Z"} +{"duration":54,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:25.998Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.000Z"} +{"duration":94,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:49:26.097Z"} +{"duration":38,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.136Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.139Z"} +{"duration":53,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:49:26.193Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.195Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.196Z"} +{"duration":59,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:49:26.257Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.258Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.259Z"} +{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:49:26.305Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.307Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.307Z"} +{"duration":71,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:49:26.379Z"} +{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.384Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.385Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:49:26.413Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.415Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.416Z"} +{"duration":56,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:49:26.473Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.474Z"} +{"duration":15,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:49:26.476 +00:00','2018-03-06 15:49:26.476 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.498Z"} +{"duration":34,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:49:26.624Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:49:26.627Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:49:26.654Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:51:13.891Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:13.927Z"} +{"duration":17,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:13.946Z"} +{"duration":62,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.009Z"} +{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.044Z"} +{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.072Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.098Z"} +{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.133Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.135Z"} +{"duration":535,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:14.673Z"} +{"duration":77,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.751Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.754Z"} +{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:14.790Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.793Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.794Z"} +{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:14.840Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.841Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.842Z"} +{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:14.876Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.877Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.878Z"} +{"duration":48,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:14.927Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.930Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.932Z"} +{"duration":20,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:14.953Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.955Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.956Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:14.993Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.996Z"} +{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:51:14.998 +00:00','2018-03-06 15:51:14.998 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:51:15.013Z"} +{"duration":33,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:51:15.110Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:51:15.113Z"} +{"duration":15,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:51:15.133Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:51:49.320Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.358Z"} +{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.376Z"} +{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.417Z"} +{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.446Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.476Z"} +{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.504Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.540Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.542Z"} +{"duration":50,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:49.596Z"} +{"duration":14,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.611Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.614Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:49.645Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.647Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.648Z"} +{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:49.688Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.690Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.691Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:49.722Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.724Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.725Z"} +{"duration":60,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:49.786Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.789Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.790Z"} +{"duration":21,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:49.812Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.814Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.815Z"} +{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:49.851Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.853Z"} +{"duration":10,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:51:49.854 +00:00','2018-03-06 15:51:49.854 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.870Z"} +{"duration":29,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:51:49.942Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:51:49.946Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:51:49.971Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:53:08.581Z"} +{"duration":92,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.676Z"} +{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.692Z"} +{"duration":58,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.752Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.790Z"} +{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.823Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.853Z"} +{"duration":41,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.894Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.896Z"} +{"duration":151,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:53:09.050Z"} +{"duration":28,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.079Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.083Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:53:09.110Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.113Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.114Z"} +{"duration":47,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:53:09.162Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.165Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.166Z"} +{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:53:09.199Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.201Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.202Z"} +{"duration":48,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:53:09.251Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.254Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.255Z"} +{"duration":19,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:53:09.275Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.277Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.278Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:53:09.316Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.318Z"} +{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:53:09.321 +00:00','2018-03-06 15:53:09.321 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.335Z"} +{"duration":32,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:53:09.433Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:53:09.436Z"} +{"duration":16,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:53:09.456Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:54:04.095Z"} +{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.126Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.141Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.177Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.201Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.226Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.250Z"} +{"duration":42,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.293Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.297Z"} +{"duration":50,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:04.350Z"} +{"duration":13,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.364Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.368Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:04.396Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.399Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.400Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:04.428Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.430Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.431Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:04.458Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.459Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.460Z"} +{"duration":43,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:04.504Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.507Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.508Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:04.524Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.526Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.526Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:04.552Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.553Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:54:04.555 +00:00','2018-03-06 15:54:04.555 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.568Z"} +{"duration":71,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:54:04.681Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:54:04.689Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:54:46.162Z"} +{"duration":48,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.215Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.230Z"} +{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.271Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.296Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.320Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.342Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.372Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.374Z"} +{"duration":65,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:46.443Z"} +{"duration":15,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.459Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.463Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:46.492Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.495Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.496Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:46.526Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.528Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.530Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:46.556Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.558Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.559Z"} +{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:46.597Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.600Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.601Z"} +{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:46.618Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.620Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.621Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:46.652Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.654Z"} +{"duration":8,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:54:46.656 +00:00','2018-03-06 15:54:46.656 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.669Z"} +{"duration":21,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:54:46.739Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:54:46.742Z"} +{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:54:46.762Z"} +{"duration":4,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:54:46.767Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:03:54.110Z"} +{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.151Z"} +{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.167Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.203Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.226Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.250Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.272Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.302Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.304Z"} +{"duration":51,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.359Z"} +{"duration":21,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.381Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.385Z"} +{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.410Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.413Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.414Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.442Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.444Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.446Z"} +{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.471Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.473Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.474Z"} +{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.513Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.516Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.518Z"} +{"duration":18,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.537Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.539Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.540Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.570Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.572Z"} +{"duration":8,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:03:54.575 +00:00','2018-03-06 16:03:54.575 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.588Z"} +{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.623Z"} +{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.637Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.673Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.697Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.721Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.743Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.779Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.780Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.811Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.814Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.815Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.843Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.846Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.847Z"} +{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.888Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.890Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.890Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.924Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.926Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.927Z"} +{"duration":237,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.164Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.167Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.168Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.182Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.184Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.185Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.211Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.213Z"} +{"duration":23,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:03:55.325Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.354Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.366Z"} +{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.403Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.425Z"} +{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.451Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.473Z"} +{"duration":229,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.703Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.704Z"} +{"duration":42,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.747Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.749Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.751Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.777Z"} +{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.787Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.788Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.815Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.816Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.817Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.843Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.845Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.846Z"} +{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.882Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.885Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.887Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.902Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.905Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.906Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.935Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.937Z"} +{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:03:55.960Z"} +{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.980Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.992Z"} +{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.025Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.047Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.071Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.093Z"} +{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.124Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.125Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:56.156Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.157Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.160Z"} +{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:56.184Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.186Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.187Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:56.213Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.215Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.216Z"} +{"duration":74,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:56.290Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.292Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.293Z"} +{"duration":410,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:56.704Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.705Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.708Z"} +{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:56.724Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.725Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.726Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:56.753Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.755Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.786Z"} +{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.800Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.834Z"} +{"duration":223,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.058Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.082Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.105Z"} +{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.134Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.135Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:57.165Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.166Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.169Z"} +{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:57.193Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.195Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.196Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:57.222Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.224Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.225Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:57.251Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.252Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.253Z"} +{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:57.291Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.292Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.294Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:57.311Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.312Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.313Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:57.339Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.341Z"} +{"duration":22,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:03:57.368Z"} +{"duration":31,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:03:57.375Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:04:38.938Z"} +{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:38.972Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:38.986Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.022Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.045Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.069Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.095Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.131Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.133Z"} +{"duration":54,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.191Z"} +{"duration":15,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.208Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.211Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.238Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.239Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.240Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.269Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.271Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.272Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.301Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.302Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.303Z"} +{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.343Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.346Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.348Z"} +{"duration":21,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.370Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.372Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.373Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.400Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.402Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:04:39.404 +00:00','2018-03-06 16:04:39.404 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.417Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.444Z"} +{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.460Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.496Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.519Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.543Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.565Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.595Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.596Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.626Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.629Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.630Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.656Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.658Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.659Z"} +{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.684Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.685Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.686Z"} +{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.712Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.714Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.715Z"} +{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.761Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.764Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.765Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.780Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.782Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.783Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.812Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.814Z"} +{"duration":22,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:04:39.900Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.930Z"} +{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.942Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.977Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.999Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.023Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.046Z"} +{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.082Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.084Z"} +{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.126Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.128Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.129Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.159Z"} +{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.169Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.170Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.201Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.202Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.203Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.233Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.236Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.237Z"} +{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.279Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.282Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.285Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.299Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.301Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.302Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.332Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.334Z"} +{"duration":20,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:04:40.358Z"} +{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.378Z"} +{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.391Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.429Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.451Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.476Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.499Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.530Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.531Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.561Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.563Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.565Z"} +{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.590Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.593Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.594Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.621Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.623Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.625Z"} +{"duration":87,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.713Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.715Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.717Z"} +{"duration":82,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.800Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.802Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.804Z"} +{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.821Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.822Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.823Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.853Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.855Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.895Z"} +{"duration":19,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.914Z"} +{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.952Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.977Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.003Z"} +{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.032Z"} +{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.065Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.067Z"} +{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.108Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.112Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.114Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.145Z"} +{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.150Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.151Z"} +{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.193Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.200Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.201Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.233Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.238Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.239Z"} +{"duration":51,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.291Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.293Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.295Z"} +{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.313Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.315Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.315Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.346Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.349Z"} +{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.384Z"} +{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.399Z"} +{"duration":42,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.445Z"} +{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.473Z"} +{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.501Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.525Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.557Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.562Z"} +{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.604Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.607Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.609Z"} +{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.642Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.645Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.646Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.683Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.685Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.686Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.712Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.714Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.715Z"} +{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.755Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.757Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.759Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.774Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.776Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.777Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.803Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.805Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.833Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.848Z"} +{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.889Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.912Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.936Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.959Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.989Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.991Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:42.022Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.024Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.026Z"} +{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:42.049Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.051Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.052Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:42.078Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.080Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.081Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:42.106Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.108Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.109Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:42.146Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.148Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.151Z"} +{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:42.170Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.172Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.173Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:42.201Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.202Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:05:23.567Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.601Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.616Z"} +{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.656Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.680Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.704Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.729Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.759Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.761Z"} +{"duration":47,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:23.811Z"} +{"duration":18,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.830Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.834Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:23.861Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.863Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.866Z"} +{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:23.898Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.900Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.901Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:23.930Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.931Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.933Z"} +{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:23.971Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.974Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.975Z"} +{"duration":18,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:23.994Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.996Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.997Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.025Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.027Z"} +{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:05:24.028 +00:00','2018-03-06 16:05:24.028 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.043Z"} +{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.077Z"} +{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.091Z"} +{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.125Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.149Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.174Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.196Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.226Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.227Z"} +{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.262Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.266Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.267Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.294Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.296Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.297Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.324Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.326Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.328Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.354Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.356Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.357Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.394Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.397Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.399Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.413Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.416Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.417Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.444Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.446Z"} +{"duration":24,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:05:24.521Z"} +{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.545Z"} +{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.558Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.596Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.629Z"} +{"duration":100,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.731Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.754Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.785Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.786Z"} +{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.828Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.831Z"} +{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.835Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.864Z"} +{"duration":11,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.876Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.877Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.903Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.905Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.906Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.931Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.932Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.933Z"} +{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.973Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.976Z"} +{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.979Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.994Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.996Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.998Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.024Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.028Z"} +{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:05:25.050Z"} +{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.071Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.083Z"} +{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.117Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.141Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.165Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.188Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.219Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.221Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.250Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.251Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.253Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.280Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.281Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.282Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.309Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.311Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.312Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.338Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.340Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.342Z"} +{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.384Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.386Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.388Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.404Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.406Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.408Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.434Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.436Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.467Z"} +{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.480Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.518Z"} +{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.546Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.571Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.595Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.625Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.627Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.658Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.661Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.663Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.689Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.691Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.692Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.719Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.721Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.722Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.750Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.752Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.754Z"} +{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.792Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.794Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.796Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.812Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.814Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.815Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.842Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.843Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:11:20.910Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:20.915Z"} +{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:20.956Z"} +{"duration":41,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:20.998Z"} +{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.027Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.052Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.077Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.107Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.109Z"} +{"duration":53,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.165Z"} +{"duration":22,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.187Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.191Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.217Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.220Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.221Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.247Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.250Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.251Z"} +{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.276Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.283Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.284Z"} +{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.322Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.325Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.327Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.342Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.344Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.345Z"} +{"duration":61,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.407Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.408Z"} +{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:11:21.410 +00:00','2018-03-06 16:11:21.410 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.425Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.453Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.467Z"} +{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.504Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.529Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.555Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.577Z"} +{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.609Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.610Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.642Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.645Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.646Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.675Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.677Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.678Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.706Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.708Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.710Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.739Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.741Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.742Z"} +{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.782Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.785Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.786Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.801Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.803Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.805Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.831Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.833Z"} +{"duration":21,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:11:21.944Z"} +{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.967Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.978Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.012Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.034Z"} +{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.062Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.084Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.120Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.121Z"} +{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.163Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.165Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.167Z"} +{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.191Z"} +{"duration":10,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.203Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.204Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.232Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.234Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.235Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.265Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.267Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.268Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.306Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.308Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.311Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.327Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.329Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.330Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.357Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.360Z"} +{"duration":20,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:11:22.385Z"} +{"duration":47,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.412Z"} +{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.427Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.461Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.485Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.511Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.534Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.564Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.566Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.595Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.597Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.599Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.625Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.627Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.629Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.656Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.658Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.659Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.686Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.688Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.689Z"} +{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.725Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.727Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.729Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.766Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.768Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.769Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.796Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.798Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.828Z"} +{"duration":212,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.041Z"} +{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.076Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.100Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.125Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.151Z"} +{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.182Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.183Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.215Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.217Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.219Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.248Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.250Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.251Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.278Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.279Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.280Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.308Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.310Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.311Z"} +{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.350Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.352Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.355Z"} +{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.373Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.375Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.377Z"} +{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.409Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.411Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.440Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.454Z"} +{"duration":235,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.690Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.714Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.738Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.762Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.794Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.795Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.826Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.828Z"} +{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.832Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.863Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.864Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.865Z"} +{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.898Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.900Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.901Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.927Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.929Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.930Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.967Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.969Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.971Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.986Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.988Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.989Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.016Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.018Z"} +{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.047Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.061Z"} +{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.096Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.121Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.147Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.171Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.206Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.208Z"} +{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.241Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.243Z"} +{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.247Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.276Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.278Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.279Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.306Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.308Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.309Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.336Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.340Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.341Z"} +{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.379Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.381Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.383Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.399Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.400Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.401Z"} +{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.432Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.434Z"} +{"duration":4,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:14:04.195Z"} +{"duration":51,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.242Z"} +{"duration":20,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.264Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.303Z"} +{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.332Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.356Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.381Z"} +{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.414Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.416Z"} +{"duration":56,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:04.474Z"} +{"duration":22,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.497Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.505Z"} +{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:04.543Z"} +{"duration":13,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.557Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.558Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:04.589Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.590Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.591Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:04.622Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.624Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.625Z"} +{"duration":44,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:04.670Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.672Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.674Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:04.690Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.692Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.693Z"} +{"duration":68,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:04.763Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.764Z"} +{"duration":12,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:14:04.766 +00:00','2018-03-06 16:14:04.766 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.784Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.821Z"} +{"duration":18,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.840Z"} +{"duration":49,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.890Z"} +{"duration":45,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.935Z"} +{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.970Z"} +{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.998Z"} +{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.030Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.031Z"} +{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.066Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.068Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.070Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.098Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.100Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.101Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.127Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.129Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.130Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.158Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.159Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.160Z"} +{"duration":80,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.241Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.243Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.245Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.274Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.276Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.277Z"} +{"duration":50,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.328Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.329Z"} +{"duration":13,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:14:05.330 +00:00','2018-03-06 16:14:05.330 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.344Z"} +{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:14:05.428Z"} +{"duration":45,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.454Z"} +{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.469Z"} +{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.510Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.535Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.560Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.584Z"} +{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.623Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.625Z"} +{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.657Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.659Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.663Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.691Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.693Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.694Z"} +{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.727Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.729Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.730Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.759Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.761Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.763Z"} +{"duration":43,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.806Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.808Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.810Z"} +{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.828Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.829Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.830Z"} +{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.866Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.868Z"} +{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:14:05.869 +00:00','2018-03-06 16:14:05.869 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.879Z"} +{"duration":22,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:14:05.906Z"} +{"duration":90,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.974Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:17:28.423Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.428Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.458Z"} +{"duration":44,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.503Z"} +{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.532Z"} +{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.559Z"} +{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.586Z"} +{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.625Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.628Z"} +{"duration":79,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:28.710Z"} +{"duration":29,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.740Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.744Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:28.775Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.776Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.778Z"} +{"duration":129,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:28.908Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.910Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.911Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:28.940Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.941Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.943Z"} +{"duration":54,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:28.998Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.001Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.002Z"} +{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.019Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.021Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.022Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.053Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.056Z"} +{"duration":10,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:17:29.058 +00:00','2018-03-06 16:17:29.058 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.073Z"} +{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:17:29.155Z"} +{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.182Z"} +{"duration":16,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.199Z"} +{"duration":71,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.271Z"} +{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.304Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.333Z"} +{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.360Z"} +{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.400Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.401Z"} +{"duration":44,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.446Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.448Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.462Z"} +{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.495Z"} +{"duration":13,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.509Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.510Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.539Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.544Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.545Z"} +{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.581Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.582Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.584Z"} +{"duration":60,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.645Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.647Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.649Z"} +{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.667Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.669Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.670Z"} +{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.704Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.706Z"} +{"duration":8,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:17:29.707 +00:00','2018-03-06 16:17:29.707 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.716Z"} +{"duration":23,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:17:29.743Z"} +{"duration":79,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.800Z"} +{"duration":10,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:19:24.029Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.038Z"} +{"duration":80,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.119Z"} +{"duration":70,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.190Z"} +{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.225Z"} +{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.266Z"} +{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.298Z"} +{"duration":44,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.343Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.345Z"} +{"duration":107,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:24.456Z"} +{"duration":35,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.493Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.498Z"} +{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:24.532Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.535Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.536Z"} +{"duration":56,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:24.593Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.595Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.596Z"} +{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:24.632Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.634Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.636Z"} +{"duration":51,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:24.688Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.692Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.694Z"} +{"duration":19,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:24.714Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.716Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.717Z"} +{"duration":70,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:24.788Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.791Z"} +{"duration":13,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:19:24.793 +00:00','2018-03-06 16:19:24.793 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.812Z"} +{"duration":37,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:19:24.923Z"} +{"duration":51,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.968Z"} +{"duration":216,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.185Z"} +{"duration":58,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.243Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.272Z"} +{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.308Z"} +{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.342Z"} +{"duration":42,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.384Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.386Z"} +{"duration":61,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:25.448Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.450Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.452Z"} +{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:25.488Z"} +{"duration":11,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.499Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.500Z"} +{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:25.532Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.534Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.535Z"} +{"duration":55,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:25.593Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.599Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.600Z"} +{"duration":47,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:25.648Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.652Z"} +{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.656Z"} +{"duration":18,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:25.675Z"} +{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.680Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.681Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:25.710Z"} +{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.715Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:19:25.715 +00:00','2018-03-06 16:19:25.715 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.724Z"} +{"duration":17,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:19:25.746Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:20:41.191Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.197Z"} +{"duration":61,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.259Z"} +{"duration":78,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.338Z"} +{"duration":58,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.397Z"} +{"duration":52,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.450Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.487Z"} +{"duration":59,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.547Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.549Z"} +{"duration":90,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:41.641Z"} +{"duration":21,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.663Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.667Z"} +{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:41.705Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.707Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.708Z"} +{"duration":54,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:41.763Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.765Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.766Z"} +{"duration":69,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:41.836Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.837Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.838Z"} +{"duration":64,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:41.903Z"} +{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.908Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.909Z"} +{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:41.933Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.935Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.937Z"} +{"duration":52,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:41.991Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.993Z"} +{"duration":13,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:20:41.995 +00:00','2018-03-06 16:20:41.995 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.015Z"} +{"duration":24,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:20:42.134Z"} +{"duration":41,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.176Z"} +{"duration":20,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.197Z"} +{"duration":56,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.254Z"} +{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.293Z"} +{"duration":42,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.336Z"} +{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.375Z"} +{"duration":47,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.423Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.424Z"} +{"duration":53,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:42.478Z"} +{"duration":13,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.492Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.494Z"} +{"duration":56,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:42.552Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.554Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.555Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:42.592Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.594Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.596Z"} +{"duration":50,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:42.648Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.649Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.650Z"} +{"duration":49,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:42.700Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.702Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.705Z"} +{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:42.722Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.724Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.725Z"} +{"duration":70,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:42.796Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.798Z"} +{"duration":11,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:20:42.799 +00:00','2018-03-06 16:20:42.799 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.812Z"} +{"duration":30,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:20:42.847Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:21:11.714Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.720Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.744Z"} +{"duration":41,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.786Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.824Z"} +{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.853Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.887Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.925Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.928Z"} +{"duration":55,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:11.986Z"} +{"duration":20,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.007Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.010Z"} +{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.052Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.053Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.055Z"} +{"duration":47,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.103Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.105Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.106Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.137Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.138Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.140Z"} +{"duration":43,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.184Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.187Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.188Z"} +{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.206Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.208Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.210Z"} +{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.249Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.251Z"} +{"duration":11,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:21:12.253 +00:00','2018-03-06 16:21:12.253 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.270Z"} +{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:21:12.329Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.359Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.373Z"} +{"duration":46,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.420Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.445Z"} +{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.472Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.495Z"} +{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.527Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.528Z"} +{"duration":46,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.576Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.578Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.580Z"} +{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.612Z"} +{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.622Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.623Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.652Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.654Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.656Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.685Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.687Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.688Z"} +{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.734Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.737Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.739Z"} +{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.757Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.759Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.760Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.791Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.793Z"} +{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:21:12.794 +00:00','2018-03-06 16:21:12.794 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.805Z"} +{"duration":21,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:21:12.832Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:22:15.791Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:15.796Z"} +{"duration":46,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:15.844Z"} +{"duration":71,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:15.916Z"} +{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:15.956Z"} +{"duration":42,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.000Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.038Z"} +{"duration":58,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.097Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.099Z"} +{"duration":91,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:16.193Z"} +{"duration":31,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.225Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.228Z"} +{"duration":71,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:16.300Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.302Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.303Z"} +{"duration":48,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:16.351Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.354Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.355Z"} +{"duration":66,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:16.422Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.424Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.425Z"} +{"duration":88,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:16.515Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.520Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.521Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:16.558Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.560Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.561Z"} +{"duration":96,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:16.657Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.658Z"} +{"duration":13,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:22:16.660 +00:00','2018-03-06 16:22:16.660 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.679Z"} +{"duration":32,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:22:16.789Z"} +{"duration":51,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.834Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.859Z"} +{"duration":66,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.927Z"} +{"duration":46,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.974Z"} +{"duration":47,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.022Z"} +{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.062Z"} +{"duration":47,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.110Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.112Z"} +{"duration":59,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:17.172Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.173Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.176Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:17.203Z"} +{"duration":11,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.215Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.216Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:17.245Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.247Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.248Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:17.278Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.279Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.280Z"} +{"duration":60,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:17.342Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.344Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.346Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:17.361Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.363Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.365Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:17.395Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.397Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:22:17.397 +00:00','2018-03-06 16:22:17.397 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.406Z"} +{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:22:17.428Z"} +{"duration":42,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.453Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:27:07.410Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.416Z"} +{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.443Z"} +{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.483Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.507Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.531Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.555Z"} +{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.595Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.597Z"} +{"duration":91,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:07.691Z"} +{"duration":21,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.796Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.800Z"} +{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:07.835Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.837Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.838Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:07.867Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.870Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.871Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:07.898Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.900Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.901Z"} +{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:07.947Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.951Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.952Z"} +{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:07.970Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.972Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.973Z"} +{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.016Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.019Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:27:08.021 +00:00','2018-03-06 16:27:08.021 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.034Z"} +{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:27:08.109Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.136Z"} +{"duration":16,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.154Z"} +{"duration":48,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.202Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.228Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.266Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.290Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.324Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.326Z"} +{"duration":55,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.382Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.384Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.386Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.417Z"} +{"duration":10,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.428Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.430Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.457Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.459Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.460Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.488Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.490Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.491Z"} +{"duration":48,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.540Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.542Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.544Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.559Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.561Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.562Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.588Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.590Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:27:08.591 +00:00','2018-03-06 16:27:08.591 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.600Z"} +{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:27:08.623Z"} +{"duration":69,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.675Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:30:16.785Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:16.791Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:16.828Z"} +{"duration":57,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:16.887Z"} +{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:16.926Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:16.964Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:16.998Z"} +{"duration":46,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.046Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.049Z"} +{"duration":62,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.114Z"} +{"duration":20,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.136Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.139Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.167Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.169Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.170Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.198Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.201Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.202Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.229Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.232Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.233Z"} +{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.274Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.278Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.279Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.294Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.296Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.297Z"} +{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.335Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.337Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:30:17.339 +00:00','2018-03-06 16:30:17.339 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.352Z"} +{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:30:17.433Z"} +{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.455Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.477Z"} +{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.512Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.535Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.559Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.582Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.612Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.613Z"} +{"duration":42,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.656Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.658Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.661Z"} +{"duration":61,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.723Z"} +{"duration":10,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.734Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.735Z"} +{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.770Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.772Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.773Z"} +{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.821Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.823Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.823Z"} +{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.862Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.864Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.867Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.882Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.885Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.885Z"} +{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.924Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.926Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:30:17.927 +00:00','2018-03-06 16:30:17.927 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.935Z"} +{"duration":17,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:30:17.956Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:31:46.897Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:46.902Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:46.932Z"} +{"duration":41,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:46.974Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.000Z"} +{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.027Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.051Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.082Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.084Z"} +{"duration":51,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:31:47.139Z"} +{"duration":19,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.159Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.162Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:31:47.188Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.190Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.191Z"} +{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:31:47.230Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.232Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.233Z"} +{"duration":105,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:31:47.339Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.341Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.342Z"} +{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:31:47.383Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.387Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.388Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:31:47.404Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.406Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.408Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:31:47.435Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.437Z"} +{"duration":27,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:31:47.520Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:33:30.158Z"} +{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.198Z"} +{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.215Z"} +{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.255Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.281Z"} +{"duration":225,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.507Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.532Z"} +{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.564Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.566Z"} +{"duration":48,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:30.617Z"} +{"duration":20,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.639Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.643Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:30.670Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.672Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.673Z"} +{"duration":44,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:30.719Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.720Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.721Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:30.748Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.750Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.751Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:30.788Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.792Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.793Z"} +{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:30.810Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.812Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.813Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:30.839Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.842Z"} +{"duration":28,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:33:30.929Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:33:30.935Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.958Z"} +{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.973Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.009Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.031Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.056Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.079Z"} +{"duration":43,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.122Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.123Z"} +{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:31.158Z"} +{"duration":10,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.170Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.173Z"} +{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:31.205Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.207Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.208Z"} +{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:31.240Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.241Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.242Z"} +{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:31.278Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.280Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.281Z"} +{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:31.320Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.322Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.325Z"} +{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:31.358Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.359Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.360Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:31.387Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.389Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:33:31.392 +00:00','2018-03-06 16:33:31.392 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.404Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:39:17.601Z"} +{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.643Z"} +{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.658Z"} +{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.696Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.721Z"} +{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.748Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.773Z"} +{"duration":42,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.816Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.819Z"} +{"duration":83,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:17.904Z"} +{"duration":23,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.928Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.931Z"} +{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:17.965Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.967Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.968Z"} +{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.001Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.003Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.004Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.030Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.033Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.034Z"} +{"duration":76,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.111Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.114Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.115Z"} +{"duration":90,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.206Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.208Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.209Z"} +{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.249Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.251Z"} +{"duration":28,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:39:18.333Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:39:18.335Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.361Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.373Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.407Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.438Z"} +{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.465Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.489Z"} +{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.520Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.521Z"} +{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.563Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.565Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.568Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.597Z"} +{"duration":10,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.608Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.610Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.638Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.639Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.640Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.670Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.672Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.673Z"} +{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.711Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.713Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.715Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.731Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.732Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.733Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.762Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.764Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:39:18.766 +00:00','2018-03-06 16:39:18.766 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.778Z"} +{"duration":28,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:39:18.810Z"} +{"duration":91,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.874Z"} +{"duration":19,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.894Z"} +{"duration":54,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.949Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.975Z"} +{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.003Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.027Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.058Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.060Z"} +{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:19.093Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.096Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.098Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:19.130Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.132Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.133Z"} +{"duration":46,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:19.180Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.183Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.183Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:19.221Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.223Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.224Z"} +{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:19.266Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.269Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.271Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:19.286Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.289Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.290Z"} +{"duration":43,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:19.334Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.336Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:39:19.337 +00:00','2018-03-06 16:39:19.337 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.346Z"} +{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:39:19.368Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:40:28.382Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.423Z"} +{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.439Z"} +{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.478Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.503Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.528Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.550Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.588Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.590Z"} +{"duration":49,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:28.642Z"} +{"duration":19,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.662Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.666Z"} +{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:28.700Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.701Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.702Z"} +{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:28.741Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.743Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.744Z"} +{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:28.770Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.773Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.774Z"} +{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:28.812Z"} +{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.816Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.818Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:28.834Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.836Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.837Z"} +{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:28.869Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.871Z"} +{"duration":28,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:40:28.956Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:40:28.958Z"} +{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.988Z"} +{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.001Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.037Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.067Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.091Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.122Z"} +{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.154Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.155Z"} +{"duration":42,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.199Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.201Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.203Z"} +{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.227Z"} +{"duration":10,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.238Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.239Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.266Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.267Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.268Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.295Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.296Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.297Z"} +{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.338Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.340Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.343Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.358Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.360Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.361Z"} +{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.396Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.397Z"} +{"duration":8,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:40:29.399 +00:00','2018-03-06 16:40:29.399 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.412Z"} +{"duration":17,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:40:29.435Z"} +{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.457Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.470Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.504Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.528Z"} +{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.556Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.580Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.611Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.612Z"} +{"duration":49,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.662Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.664Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.666Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.695Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.696Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.697Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.728Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.730Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.730Z"} +{"duration":51,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.782Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.784Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.785Z"} +{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.825Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.826Z"} +{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.861Z"} +{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.879Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.881Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.882Z"} +{"duration":60,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.943Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.945Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:40:29.946 +00:00','2018-03-06 16:40:29.946 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.954Z"} +{"duration":17,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:40:29.974Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:41:51.274Z"} +{"duration":66,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.343Z"} +{"duration":17,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.363Z"} +{"duration":52,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.416Z"} +{"duration":41,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.458Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.492Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.516Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.547Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.549Z"} +{"duration":202,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:51.755Z"} +{"duration":33,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.789Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.792Z"} +{"duration":52,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:51.845Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.847Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.849Z"} +{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:51.890Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.892Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.893Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:51.921Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.923Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.924Z"} +{"duration":42,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:51.967Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.970Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.972Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:51.987Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.989Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.991Z"} +{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.025Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.027Z"} +{"duration":29,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:41:52.118Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:41:52.121Z"} +{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.146Z"} +{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.159Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.193Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.218Z"} +{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.247Z"} +{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.274Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.311Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.312Z"} +{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.351Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.354Z"} +{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.386Z"} +{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.426Z"} +{"duration":12,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.439Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.440Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.471Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.473Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.474Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.500Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.502Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.504Z"} +{"duration":96,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.601Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.603Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.605Z"} +{"duration":216,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.822Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.823Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.825Z"} +{"duration":57,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.882Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.883Z"} +{"duration":12,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:41:52.885 +00:00','2018-03-06 16:41:52.885 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.902Z"} +{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:41:52.925Z"} +{"duration":242,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.149Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.162Z"} +{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.197Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.222Z"} +{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.250Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.275Z"} +{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.308Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.309Z"} +{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:53.344Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.346Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.348Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:53.376Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.378Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.379Z"} +{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:53.415Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.417Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.418Z"} +{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:53.450Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.451Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.452Z"} +{"duration":46,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:53.499Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.501Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.503Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:53.540Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.542Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.543Z"} +{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:53.583Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.585Z"} +{"duration":8,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:41:53.585 +00:00','2018-03-06 16:41:53.585 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.595Z"} +{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:41:53.616Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:43:50.124Z"} +{"duration":94,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.222Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.257Z"} +{"duration":89,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.347Z"} +{"duration":61,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.409Z"} +{"duration":48,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.459Z"} +{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.499Z"} +{"duration":82,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.582Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.584Z"} +{"duration":127,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:43:50.713Z"} +{"duration":18,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.732Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.736Z"} +{"duration":85,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:43:50.822Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.824Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.825Z"} +{"duration":59,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:43:50.885Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.887Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.888Z"} +{"duration":44,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:43:50.933Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.935Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.936Z"} +{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:43:50.982Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.985Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.986Z"} +{"duration":20,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:43:51.007Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:43:51.009Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:51.010Z"} +{"duration":52,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:43:51.063Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:43:51.065Z"} +{"duration":157,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:43:51.297Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:43:51.301Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:44:15.761Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.799Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.813Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.849Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.873Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.897Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.921Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.952Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.955Z"} +{"duration":44,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.003Z"} +{"duration":18,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.022Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.026Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.055Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.058Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.059Z"} +{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.102Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.104Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.105Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.135Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.137Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.137Z"} +{"duration":54,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.192Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.196Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.197Z"} +{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.215Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.217Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.219Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.246Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.248Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:44:16.250Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.276Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.290Z"} +{"duration":51,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.342Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.367Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.392Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.416Z"} +{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.446Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.447Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.477Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.480Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.481Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.508Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.510Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.511Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.538Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.539Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.540Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.569Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.572Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.573Z"} +{"duration":54,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.628Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.631Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.633Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.647Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.650Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.651Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.678Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.680Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:44:16.682 +00:00','2018-03-06 16:44:16.682 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.695Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:44:16.697Z"} +{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.725Z"} +{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.740Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.778Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.803Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.829Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.853Z"} +{"duration":51,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.905Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.907Z"} +{"duration":51,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.959Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.962Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.963Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.992Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.994Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.994Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:17.025Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.027Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.027Z"} +{"duration":89,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:17.117Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.119Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.120Z"} +{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:17.160Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.164Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.165Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:17.180Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.182Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.184Z"} +{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:17.218Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.220Z"} +{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:44:17.221 +00:00','2018-03-06 16:44:17.221 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.229Z"} +{"duration":30,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:44:17.299Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:45:21.930Z"} +{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:21.971Z"} +{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:21.999Z"} +{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.038Z"} +{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.072Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.097Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.122Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.153Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.155Z"} +{"duration":51,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:45:22.210Z"} +{"duration":22,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.233Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.236Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:45:22.263Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.266Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.267Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:45:22.296Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.298Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.300Z"} +{"duration":49,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:45:22.350Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.353Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.354Z"} +{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:45:22.392Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.395Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.397Z"} +{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:45:22.415Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.417Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.418Z"} +{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:45:22.450Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.452Z"} +{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:45:22.454 +00:00','2018-03-06 16:45:22.454 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.468Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:16:10.668Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.690Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.696Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.705Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.714Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.722Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.748Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.758Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.763Z"} +{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:10.800Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.807Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.819Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:10.830Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.833Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.835Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:10.846Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.849Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.851Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:10.862Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.878Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.879Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:10.908Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.912Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.915Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:10.923Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.926Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.928Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:10.939Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.942Z"} +{"duration":15,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:16:11.014Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:16:11.017Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.065Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.072Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.083Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.091Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.100Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.108Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.118Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.121Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.134Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.143Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.146Z"} +{"duration":55,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.204Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.209Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.212Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.226Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.229Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.232Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.245Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.248Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.250Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.266Z"} +{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.271Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.273Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.282Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.284Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.286Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.317Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.321Z"} +{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:16:11.326 +00:00','2018-03-07 00:16:11.326 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.338Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:16:11.351Z"} +{"duration":16,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.360Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.365Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.375Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.383Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.392Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.400Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.410Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.412Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.426Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.431Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.434Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.446Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.448Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.450Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.461Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.465Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.467Z"} +{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.500Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.507Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.509Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.526Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.530Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.532Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.540Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.543Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.545Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.556Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.560Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:16:11.561 +00:00','2018-03-07 00:16:11.561 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.567Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:16:11.578Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:22:58.438Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.456Z"} +{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.461Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.472Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.479Z"} +{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.507Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.514Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.523Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.528Z"} +{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.571Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.577Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.584Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.594Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.596Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.598Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.610Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.613Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.615Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.645Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.648Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.651Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.666Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.670Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.672Z"} +{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.680Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.683Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.684Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.695Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.698Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:22:58.773Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:22:58.776Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.811Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.817Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.827Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.833Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.841Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.849Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.857Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.858Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.868Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.874Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.876Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.887Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.890Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.891Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.902Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.905Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.908Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.923Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.927Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.929Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.958Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.961Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.963Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.970Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.972Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.973Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.982Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.985Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:22:58.988 +00:00','2018-03-07 00:22:58.988 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.000Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:22:59.012Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.019Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.024Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.031Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.037Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.043Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.048Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.055Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.057Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:59.067Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.071Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.076Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:59.103Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.106Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.109Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:59.120Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.122Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.124Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:59.134Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.137Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.139Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:59.151Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.155Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.157Z"} +{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:59.165Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.168Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.169Z"} +{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:59.194Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.198Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:22:59.199 +00:00','2018-03-07 00:22:59.199 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.205Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:22:59.215Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:24:34.215Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.236Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.242Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.254Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.264Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.272Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.281Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.291Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.297Z"} +{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.335Z"} +{"duration":10,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.347Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.356Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.367Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.370Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.372Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.386Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.390Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.392Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.404Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.408Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.411Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.428Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.433Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.435Z"} +{"duration":20,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.457Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.462Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.464Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.479Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.484Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:24:34.557Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:24:34.561Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.594Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.600Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.607Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.615Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.622Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.629Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.638Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.641Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.655Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.665Z"} +{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.669Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.683Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.688Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.690Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.718Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.722Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.725Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.739Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.743Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.744Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.760Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.764Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.767Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.776Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.779Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.781Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.795Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.798Z"} +{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:24:34.803 +00:00','2018-03-07 00:24:34.803 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.815Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:24:34.828Z"} +{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.837Z"} +{"duration":20,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.858Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.868Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.876Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.885Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.893Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.902Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.905Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.920Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.925Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.928Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.940Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.944Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.946Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.959Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.962Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.964Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.976Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.980Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.982Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:35.012Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:35.016Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:35.019Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:35.028Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:35.031Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:35.032Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:35.045Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:35.048Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:24:35.049 +00:00','2018-03-07 00:24:35.049 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:24:35.055Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:24:35.066Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:25:16.451Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.471Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.478Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.488Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.496Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.504Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.511Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.521Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.527Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.548Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.556Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.562Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.573Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.575Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.578Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.590Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.593Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.595Z"} +{"duration":20,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.617Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.620Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.623Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.639Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.642Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.645Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.653Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.656Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.657Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.668Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.671Z"} +{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:25:16.745Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:25:16.748Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.773Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.780Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.790Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.799Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.808Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.816Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.826Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.828Z"} +{"duration":21,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.852Z"} +{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.862Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.865Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.880Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.884Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.887Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.900Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.904Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.907Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.922Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.926Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.928Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.944Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.949Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.951Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.960Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.964Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.966Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.995Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.000Z"} +{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:25:17.006 +00:00','2018-03-07 00:25:17.006 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.017Z"} +{"duration":20,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:25:17.043Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.045Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.057Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.067Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.075Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.083Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.091Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.100Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.103Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:17.116Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.121Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.124Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:17.135Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.138Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.140Z"} +{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:17.165Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.168Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.170Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:17.183Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.189Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.192Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:17.207Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.210Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.212Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:17.220Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.223Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.225Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:17.237Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.240Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:25:17.242 +00:00','2018-03-07 00:25:17.242 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.248Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:25:17.260Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:25:34.455Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.475Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.481Z"} +{"duration":76,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.558Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.566Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.574Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.582Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.592Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.597Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.619Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.626Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.632Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.643Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.646Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.648Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.659Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.662Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.664Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.674Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.677Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.678Z"} +{"duration":44,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.725Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.728Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.730Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.739Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.741Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.743Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.754Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.757Z"} +{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:25:34.832Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:25:34.836Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.859Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.867Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.878Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.886Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.895Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.903Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.914Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.917Z"} +{"duration":20,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.940Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.950Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.954Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.968Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.986Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.988Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.000Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.003Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.005Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.018Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.022Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.024Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.041Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.046Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.049Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.058Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.060Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.062Z"} +{"duration":18,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.081Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.085Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:25:35.090 +00:00','2018-03-07 00:25:35.090 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.104Z"} +{"duration":9,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:25:35.118Z"} +{"duration":17,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.127Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.133Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.144Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.152Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.161Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.168Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.178Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.181Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.194Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.198Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.200Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.212Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.216Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.218Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.232Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.235Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.238Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.250Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.256Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.258Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.274Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.279Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.282Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.292Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.295Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.297Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.309Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.313Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:25:35.314 +00:00','2018-03-07 00:25:35.314 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.320Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:25:35.332Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:26:27.733Z"} +{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.754Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.760Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.770Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.778Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.786Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.794Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.804Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.809Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:27.830Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.837Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.844Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:27.854Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.857Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.859Z"} +{"duration":21,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:27.882Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.885Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.887Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:27.899Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.901Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.903Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:27.919Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.923Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.926Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:27.934Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.936Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.938Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:27.948Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.951Z"} +{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:26:28.025Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:26:28.029Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.057Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.065Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.075Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.084Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.093Z"} +{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.109Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.120Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.123Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.136Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.146Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.149Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.163Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.167Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.170Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.182Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.185Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.187Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.201Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.204Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.206Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.222Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.226Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.229Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.239Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.243Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.245Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.258Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.261Z"} +{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:26:28.266 +00:00','2018-03-07 00:26:28.266 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.278Z"} +{"duration":9,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:26:28.292Z"} +{"duration":16,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.300Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.306Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.316Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.324Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.332Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.340Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.350Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.352Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.366Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.383Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.385Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.397Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.400Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.402Z"} +{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.419Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.422Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.424Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.437Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.445Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.447Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.462Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.466Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.468Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.476Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.481Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.483Z"} +{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.508Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.512Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:26:28.513 +00:00','2018-03-07 00:26:28.513 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.520Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:26:28.535Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:28:52.159Z"} +{"duration":17,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.185Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.191Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.201Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.208Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.216Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.224Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.233Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.238Z"} +{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.268Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.275Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.281Z"} +{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.306Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.309Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.311Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.323Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.326Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.328Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.339Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.342Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.344Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.359Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.362Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.365Z"} +{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.373Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.375Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.377Z"} +{"duration":21,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.400Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.403Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:28:52.470Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:28:52.473Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.508Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.515Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.526Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.533Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.542Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.550Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.559Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.562Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.575Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.585Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.588Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.602Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.606Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.609Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.623Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.628Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.630Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.644Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.648Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.650Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.668Z"} +{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.673Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.676Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.686Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.687Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.689Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.699Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.703Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:28:52.708 +00:00','2018-03-07 00:28:52.708 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.720Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:28:52.733Z"} +{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.742Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.748Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.757Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.765Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.787Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.795Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.805Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.808Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.836Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.840Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.842Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.854Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.857Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.859Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.870Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.874Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.876Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.889Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.895Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.898Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.913Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.917Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.920Z"} +{"duration":19,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.940Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.944Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.946Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.959Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.964Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:28:52.965 +00:00','2018-03-07 00:28:52.965 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.971Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:28:52.984Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:30:50.102Z"} +{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.123Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.129Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.139Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.147Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.155Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.163Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.172Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.178Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.198Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.206Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.212Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.223Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.226Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.228Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.240Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.243Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.245Z"} +{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.269Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.272Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.275Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.291Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.294Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.296Z"} +{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.303Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.306Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.308Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.319Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.322Z"} +{"duration":12,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:30:50.402Z"} +{"duration":21,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:30:50.425Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.469Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.477Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.488Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.497Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.506Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.514Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.524Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.527Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.557Z"} +{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.567Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.570Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.586Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.590Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.592Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.606Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.609Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.611Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.624Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.629Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.631Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.648Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.653Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.657Z"} +{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.691Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.695Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.697Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.711Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.714Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:30:50.718 +00:00','2018-03-07 00:30:50.718 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.730Z"} +{"duration":1011,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.747Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.754Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.764Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.773Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.781Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.789Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.799Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.801Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:51.815Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.820Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.823Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:51.835Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.839Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.841Z"} +{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:51.861Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.865Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.868Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:51.881Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.885Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.888Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:51.904Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.909Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.912Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:51.923Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.927Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.929Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:51.943Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.947Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:30:51.949 +00:00','2018-03-07 00:30:51.949 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.955Z"} +{"duration":9,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:30:51.970Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:31:27.671Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.690Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.696Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.707Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.715Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.723Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.730Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.740Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.744Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:27.766Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.774Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.780Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:27.792Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.807Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.809Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:27.836Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.838Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.840Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:27.852Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.854Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.856Z"} +{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:27.875Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.879Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.881Z"} +{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:27.889Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.891Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.893Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:27.903Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.907Z"} +{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:31:27.985Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:31:27.988Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.012Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.020Z"} +{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.036Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.044Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.053Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.062Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.071Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.074Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.088Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.097Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.100Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.114Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.118Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.120Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.133Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.136Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.138Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.151Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.155Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.157Z"} +{"duration":21,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.181Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.186Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.189Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.200Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.203Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.205Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.217Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.220Z"} +{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:31:28.224 +00:00','2018-03-07 00:31:28.224 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.238Z"} +{"duration":9,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:31:28.252Z"} +{"duration":17,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.261Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.267Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.277Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.285Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.293Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.301Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.311Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.313Z"} +{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.339Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.343Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.346Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.360Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.364Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.366Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.379Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.382Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.384Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.396Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.402Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.404Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.420Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.424Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.427Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.435Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.441Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.443Z"} +{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.471Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.474Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:31:28.476 +00:00','2018-03-07 00:31:28.476 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.482Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:31:28.493Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:32:25.684Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.704Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.710Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.720Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.727Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.735Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.742Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.752Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.757Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:25.790Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.797Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.803Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:25.813Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.816Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.818Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:25.829Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.832Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.834Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:25.845Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.848Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.850Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:25.864Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.868Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.870Z"} +{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:25.878Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.881Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.883Z"} +{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:25.919Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.922Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:32:25.996Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:32:26.000Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.036Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.044Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.054Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.063Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.072Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.081Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.091Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.094Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:26.108Z"} +{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.118Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.121Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:26.136Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.140Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.142Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:26.173Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.177Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.180Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:26.195Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.198Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.199Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:26.214Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.219Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.222Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:26.231Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.234Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.236Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:26.248Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.252Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:32:26.257 +00:00','2018-03-07 00:32:26.257 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.268Z"} +{"duration":1011,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.286Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.292Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.303Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.311Z"} +{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.338Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.347Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.357Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.359Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:27.373Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.378Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.381Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:27.392Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.396Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.398Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:27.411Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.415Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.417Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:27.429Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.433Z"} +{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.437Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:27.453Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.458Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.461Z"} +{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:27.469Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.471Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.473Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:27.482Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.486Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:32:27.487 +00:00','2018-03-07 00:32:27.487 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.493Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:32:27.506Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:33:35.168Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.201Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.208Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.218Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.226Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.234Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.242Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.251Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.256Z"} +{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.287Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.294Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.301Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.311Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.314Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.316Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.346Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.348Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.351Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.362Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.365Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.367Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.383Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.386Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.389Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.397Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.400Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.401Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.413Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.416Z"} +{"duration":11,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:33:35.487Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:33:35.497Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.531Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.535Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.545Z"} +{"duration":16,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.562Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.570Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.578Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.587Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.590Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.604Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.607Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.610Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.621Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.623Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.625Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.636Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.639Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.641Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.653Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.656Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.657Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.672Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.676Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.678Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.686Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.689Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.690Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.701Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.704Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:33:35.709 +00:00','2018-03-07 00:33:35.709 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.721Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:33:35.732Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.743Z"} +{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.747Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.759Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.767Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.776Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.783Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.793Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.795Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.812Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.816Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.819Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.850Z"} +{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.860Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.862Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.877Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.880Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.883Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.895Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.901Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.902Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.920Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.923Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.926Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.935Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.938Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.940Z"} +{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.963Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.967Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:33:35.968 +00:00','2018-03-07 00:33:35.968 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.974Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:33:35.987Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:34:29.944Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:29.963Z"} +{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:29.969Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:29.977Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:29.983Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:29.991Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:29.997Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.005Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.009Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.028Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.036Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.042Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.052Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.055Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.057Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.074Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.077Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.079Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.089Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.092Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.094Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.108Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.111Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.113Z"} +{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.121Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.124Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.125Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.136Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.138Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:34:30.201Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:34:30.204Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.240Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.246Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.254Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.260Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.267Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.292Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.302Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.304Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.317Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.325Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.328Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.340Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.343Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.345Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.357Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.360Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.362Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.372Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.374Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.376Z"} +{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.417Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.422Z"} +{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.427Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.434Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.437Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.438Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.449Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.451Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:34:30.456 +00:00','2018-03-07 00:34:30.456 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.471Z"} +{"duration":139,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:34:30.616Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.627Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.633Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.640Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.647Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.653Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.660Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.667Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.671Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.682Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.684Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.686Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.697Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.700Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.702Z"} +{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.728Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.733Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.735Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.744Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.747Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.748Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.760Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.763Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.765Z"} +{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.772Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.774Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.776Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.786Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.789Z"} +{"duration":2,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:34:30.790 +00:00','2018-03-07 00:34:30.790 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.795Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:34:30.808Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:35:31.714Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.733Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.739Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.749Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.756Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.764Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.771Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.780Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.786Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:31.807Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.815Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.821Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:31.832Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.835Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.837Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:31.867Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.870Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.872Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:31.884Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.887Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.889Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:31.905Z"} +{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.910Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.913Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:31.923Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.925Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.927Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:31.938Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.940Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:35:32.016Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:35:32.019Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.056Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.064Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.075Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.084Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.093Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.100Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.110Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.113Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:32.126Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.135Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.136Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:32.149Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.152Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.155Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:32.167Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.171Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.173Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:32.188Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.191Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.194Z"} +{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:32.218Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.223Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.226Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:32.236Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.239Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.241Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:32.254Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.258Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:35:32.263 +00:00','2018-03-07 00:35:32.263 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.275Z"} +{"duration":1011,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.293Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.299Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.310Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.318Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.327Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.334Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.345Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.347Z"} +{"duration":20,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:33.370Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.375Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.377Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:33.388Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.392Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.394Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:33.407Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.411Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.413Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:33.426Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.430Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.432Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:33.448Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.452Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.455Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:33.464Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.468Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.470Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:33.498Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.502Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:35:33.503 +00:00','2018-03-07 00:35:33.503 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.510Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:35:33.523Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:37:30.257Z"} +{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.279Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.285Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.295Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.303Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.311Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.319Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.329Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.334Z"} +{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.365Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.372Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.379Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.389Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.392Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.394Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.407Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.411Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.413Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.424Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.426Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.429Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.444Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.448Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.450Z"} +{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.470Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.473Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.475Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.488Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.491Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:37:30.567Z"} +{"duration":10,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:37:30.578Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.601Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.609Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.619Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.627Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.636Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.644Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.654Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.657Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.671Z"} +{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.681Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.684Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.698Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.702Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.705Z"} +{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.725Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.730Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.732Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.746Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.749Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.751Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.766Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.771Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.774Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.783Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.785Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.786Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.797Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.800Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:37:30.805 +00:00','2018-03-07 00:37:30.805 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.817Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:37:30.831Z"} +{"duration":17,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.841Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.847Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.857Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.865Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.873Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.881Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.891Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.894Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.908Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.912Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.918Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.929Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.932Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.934Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.945Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.948Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.950Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.962Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.966Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.969Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.999Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:31.004Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:31.007Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:31.018Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:31.020Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:31.022Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:31.034Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:31.037Z"} +{"duration":2,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:37:31.038 +00:00','2018-03-07 00:37:31.038 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:37:31.044Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:37:31.056Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:38:20.845Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.864Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.871Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.881Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.888Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.897Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.905Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.915Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.920Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:20.954Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.961Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.968Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:20.978Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.981Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.983Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.012Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.014Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.017Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.028Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.030Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.033Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.048Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.052Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.054Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.063Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.065Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.066Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.077Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.079Z"} +{"duration":16,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:38:21.161Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:38:21.164Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.187Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.195Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.206Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.214Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.223Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.231Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.255Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.258Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.272Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.282Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.285Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.299Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.303Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.306Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.318Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.322Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.324Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.338Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.342Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.344Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.360Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.365Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.367Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.384Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.387Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.390Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.403Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.407Z"} +{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:38:21.412 +00:00','2018-03-07 00:38:21.412 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.427Z"} +{"duration":9,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:38:21.441Z"} +{"duration":18,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.451Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.457Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.467Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.475Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.484Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.491Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.501Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.504Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.517Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.521Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.524Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.554Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.558Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.561Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.574Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.577Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.579Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.591Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.597Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.599Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.614Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.618Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.621Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.630Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.633Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.635Z"} +{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.660Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.663Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:38:21.665 +00:00','2018-03-07 00:38:21.665 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.671Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:38:21.682Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:38:48.294Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.314Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.322Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.332Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.340Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.348Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.355Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.365Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.370Z"} +{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.392Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.399Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.408Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.421Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.424Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.426Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.438Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.441Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.443Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.471Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.474Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.476Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.492Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.496Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.499Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.507Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.509Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.522Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.533Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.536Z"} +{"duration":16,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:38:48.606Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:38:48.609Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.634Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.642Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.652Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.660Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.669Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.677Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.688Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.691Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.705Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.715Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.718Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.731Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.735Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.738Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.751Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.754Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.756Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.769Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.772Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.774Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.789Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.794Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.800Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.808Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.810Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.812Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.823Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.827Z"} +{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:38:48.831 +00:00','2018-03-07 00:38:48.831 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.843Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:38:48.857Z"} +{"duration":17,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.866Z"} +{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.872Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.882Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.890Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.899Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.907Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.917Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.920Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.934Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.938Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.941Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.952Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.955Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.957Z"} +{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.981Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.985Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.987Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:49.000Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.004Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.006Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:49.022Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.026Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.029Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:49.038Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.041Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.043Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:49.054Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.058Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:38:49.059 +00:00','2018-03-07 00:38:49.059 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.066Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:38:49.078Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:40:24.673Z"} +{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.693Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.698Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.708Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.715Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.723Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.730Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.739Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.744Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:24.765Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.772Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.779Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:24.789Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.792Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.794Z"} +{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:24.820Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.823Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.825Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:24.837Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.840Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.842Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:24.858Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.862Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.864Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:24.873Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.875Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.877Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:24.887Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.890Z"} +{"duration":5,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:40:24.895 +00:00','2018-03-07 00:40:24.895 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.913Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:40:24.989Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:40:39.179Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.197Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.203Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.213Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.237Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.246Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.253Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.263Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.268Z"} +{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:39.292Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.299Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.306Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:39.316Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.319Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.321Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:39.332Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.334Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.336Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:39.347Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.350Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.352Z"} +{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:39.388Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.392Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.394Z"} +{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:39.404Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.408Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.410Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:39.422Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.424Z"} +{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:40:39.430 +00:00','2018-03-07 00:40:39.430 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.444Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:46:25.126Z"} +{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.157Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.163Z"} +{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.173Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.181Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.189Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.196Z"} +{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.205Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.210Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.246Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.254Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.261Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.273Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.276Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.278Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.289Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.292Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.294Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.306Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.309Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.311Z"} +{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.327Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.330Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.333Z"} +{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.341Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.343Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.345Z"} +{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.357Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.359Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.369Z"} +{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.374Z"} +{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.385Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.392Z"} +{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.400Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.409Z"} +{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.418Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.421Z"} +{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.435Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.438Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.440Z"} +{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.451Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.453Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.455Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.485Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.488Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.490Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.503Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.506Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.508Z"} +{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.522Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.525Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.528Z"} +{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.535Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.538Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.539Z"} +{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.550Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.553Z"} +{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:46:25.558 +00:00','2018-03-07 00:46:25.558 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.571Z"} +{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:46:25.627Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:25.673Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:25.674Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\";","label":"Query Logs","timestamp":"2018-03-07T00:46:25.681Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:27.702Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:27.704Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:27.710Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:27.712Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:33.777Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:33.779Z"} +{"duration":4,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\";","label":"Query Logs","timestamp":"2018-03-07T00:46:33.788Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:35.838Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:35.840Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:35.848Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:35.851Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:41.893Z"} +{"duration":0,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:41.894Z"} +{"duration":6,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\";","label":"Query Logs","timestamp":"2018-03-07T00:46:41.905Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:43.919Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:43.921Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:43.926Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:43.928Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:49.966Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:49.968Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\";","label":"Query Logs","timestamp":"2018-03-07T00:46:49.975Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:51.994Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:51.996Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:52.000Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:52.003Z"} +{"duration":8,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T11:31:18.578Z"} +{"duration":167,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.752Z"} +{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.770Z"} +{"duration":54,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.826Z"} +{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.860Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.882Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.906Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.936Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.940Z"} +{"duration":205,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.152Z"} +{"duration":61,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.214Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.224Z"} +{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.249Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.252Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.254Z"} +{"duration":48,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.303Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.307Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.310Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.340Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.344Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.346Z"} +{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.388Z"} +{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.395Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.398Z"} +{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.414Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.415Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.416Z"} +{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.453Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.455Z"} +{"duration":31,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T11:31:19.602Z"} +{"duration":9,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T11:31:19.608Z"} +{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.639Z"} +{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.667Z"} +{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.703Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.726Z"} +{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.751Z"} +{"duration":20,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.773Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.804Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.807Z"} +{"duration":43,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.853Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.857Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.860Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.890Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.894Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.897Z"} +{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.938Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.943Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.946Z"} +{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.988Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.991Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.992Z"} +{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.040Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.045Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.047Z"} +{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.067Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.070Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.072Z"} +{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.103Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.106Z"} +{"duration":11,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 11:31:20.110 +00:00','2018-03-07 11:31:20.110 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.128Z"} +{"duration":15,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T11:31:20.148Z"} +{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.168Z"} +{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.181Z"} +{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.211Z"} +{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.235Z"} +{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.261Z"} +{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.286Z"} +{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.319Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.322Z"} +{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.361Z"} +{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.364Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.366Z"} +{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.393Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.397Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.399Z"} +{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.428Z"} +{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.433Z"} +{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.435Z"} +{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.459Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.461Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.462Z"} +{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.498Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.502Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.504Z"} +{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.534Z"} +{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.538Z"} +{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.541Z"} +{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.567Z"} +{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.569Z"} +{"duration":6,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 11:31:20.569 +00:00','2018-03-07 11:31:20.569 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.578Z"} +{"duration":12,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T11:31:20.596Z"} -- cgit v1.2.1 From 40c71289f523ae8139c04052a103c8e61f8701b5 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Wed, 7 Mar 2018 16:02:29 +0000 Subject: Remove logfiles from repository --- logs/general/critical | 17 - logs/general/queries | 3931 ------------------------------------------------- 2 files changed, 3948 deletions(-) delete mode 100644 logs/general/critical delete mode 100644 logs/general/queries diff --git a/logs/general/critical b/logs/general/critical deleted file mode 100644 index 3113aae..0000000 --- a/logs/general/critical +++ /dev/null @@ -1,17 +0,0 @@ -{"date":"Mon Mar 05 2018 19:57:43 GMT+0000 (GMT)","process":{"pid":2426,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/usr/bin/node","version":"v8.9.4","argv":["/usr/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":99258368,"heapTotal":79220736,"heapUsed":47529048,"external":1410552}},"os":{"loadavg":[0.15234375,0.13671875,0.39306640625],"uptime":5038229},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":null,"line":72,"method":null,"native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":313,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":106,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":208,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1655,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test. (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:72:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:313:30)"," at emitNone (events.js:106:13)"," at Server.emit (events.js:208:7)"," at emitCloseNT (net.js:1655:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-05T19:57:43.010Z"} -{"date":"Mon Mar 05 2018 20:00:22 GMT+0000 (GMT)","process":{"pid":3425,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/usr/bin/node","version":"v8.9.4","argv":["/usr/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":207020032,"heapTotal":155942912,"heapUsed":111597688,"external":74819}},"os":{"loadavg":[0.12744140625,0.12646484375,0.34423828125],"uptime":5038388},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":null,"line":71,"method":null,"native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":313,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":106,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":208,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1655,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test. (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:313:30)"," at emitNone (events.js:106:13)"," at Server.emit (events.js:208:7)"," at emitCloseNT (net.js:1655:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-05T20:00:22.251Z"} -{"date":"Mon Mar 05 2018 20:01:45 GMT+0000 (GMT)","process":{"pid":3715,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/usr/bin/node","version":"v8.9.4","argv":["/usr/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":204709888,"heapTotal":150753280,"heapUsed":129316672,"external":860988}},"os":{"loadavg":[0.16064453125,0.12646484375,0.32470703125],"uptime":5038472},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":null,"line":71,"method":null,"native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":313,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":106,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":208,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1655,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test. (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:313:30)"," at emitNone (events.js:106:13)"," at Server.emit (events.js:208:7)"," at emitCloseNT (net.js:1655:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-05T20:01:45.638Z"} -{"date":"Mon Mar 05 2018 20:03:10 GMT+0000 (GMT)","process":{"pid":3885,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/usr/bin/node","version":"v8.9.4","argv":["/usr/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":208748544,"heapTotal":158040064,"heapUsed":131937504,"external":317059}},"os":{"loadavg":[0.1162109375,0.1083984375,0.29736328125],"uptime":5038557},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":null,"line":71,"method":null,"native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":313,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":106,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":208,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1655,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test. (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:313:30)"," at emitNone (events.js:106:13)"," at Server.emit (events.js:208:7)"," at emitCloseNT (net.js:1655:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-05T20:03:10.753Z"} -{"date":"Tue Mar 06 2018 15:27:50 GMT+0000 (GMT)","process":{"pid":26209,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":97353728,"heapTotal":77099008,"heapUsed":49499928,"external":1410892}},"os":{"loadavg":[3.22607421875,2.662109375,2.60302734375],"uptime":538292},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":88,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 400"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:88:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 400","label":"Critical Reporter","timestamp":"2018-03-06T15:27:50.732Z"} -{"date":"Tue Mar 06 2018 15:45:19 GMT+0000 (GMT)","process":{"pid":28110,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":98410496,"heapTotal":76050432,"heapUsed":49468536,"external":1594601}},"os":{"loadavg":[2.03125,2.03125,2.25390625],"uptime":539341},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":88,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 400"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:88:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 400","label":"Critical Reporter","timestamp":"2018-03-06T15:45:19.709Z"} -{"date":"Tue Mar 06 2018 15:45:48 GMT+0000 (GMT)","process":{"pid":28195,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":193683456,"heapTotal":148590592,"heapUsed":114523704,"external":1336445}},"os":{"loadavg":[2.11181640625,2.04541015625,2.25048828125],"uptime":539370},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":88,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 400"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:88:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 400","label":"Critical Reporter","timestamp":"2018-03-06T15:45:48.340Z"} -{"date":"Tue Mar 06 2018 15:46:36 GMT+0000 (GMT)","process":{"pid":28354,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":202117120,"heapTotal":153350144,"heapUsed":126885224,"external":262087}},"os":{"loadavg":[2.20263671875,2.072265625,2.24658203125],"uptime":539419},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":88,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 400"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:88:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 400","label":"Critical Reporter","timestamp":"2018-03-06T15:46:36.915Z"} -{"date":"Tue Mar 06 2018 15:47:11 GMT+0000 (GMT)","process":{"pid":28457,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":201355264,"heapTotal":148590592,"heapUsed":115832104,"external":1273595}},"os":{"loadavg":[2.3466796875,2.11474609375,2.25244140625],"uptime":539453},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":71,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-06T15:47:11.026Z"} -{"date":"Tue Mar 06 2018 15:49:26 GMT+0000 (GMT)","process":{"pid":28900,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":194514944,"heapTotal":148590592,"heapUsed":115993280,"external":1425542}},"os":{"loadavg":[2.89599609375,2.37060546875,2.3251953125],"uptime":539588},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":71,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-06T15:49:26.650Z"} -{"date":"Tue Mar 06 2018 15:51:15 GMT+0000 (GMT)","process":{"pid":29130,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":196173824,"heapTotal":148066304,"heapUsed":116140448,"external":1372920}},"os":{"loadavg":[2.8583984375,2.5478515625,2.39697265625],"uptime":539697},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":71,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-06T15:51:15.132Z"} -{"date":"Tue Mar 06 2018 15:51:49 GMT+0000 (GMT)","process":{"pid":29202,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":207503360,"heapTotal":153874432,"heapUsed":127288792,"external":211793}},"os":{"loadavg":[2.56396484375,2.50439453125,2.388671875],"uptime":539732},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":71,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 123 but got 200"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 123 but got 200","label":"Critical Reporter","timestamp":"2018-03-06T15:51:49.967Z"} -{"date":"Tue Mar 06 2018 15:53:09 GMT+0000 (GMT)","process":{"pid":29275,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":99831808,"heapTotal":76574720,"heapUsed":51011040,"external":1656035}},"os":{"loadavg":[2.337890625,2.44482421875,2.37890625],"uptime":539811},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":71,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 123 but got 200"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 123 but got 200","label":"Critical Reporter","timestamp":"2018-03-06T15:53:09.456Z"} -{"date":"Tue Mar 06 2018 15:54:04 GMT+0000 (GMT)","process":{"pid":29369,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":203153408,"heapTotal":155918336,"heapUsed":111414264,"external":66855}},"os":{"loadavg":[2.28857421875,2.4150390625,2.37353515625],"uptime":539866},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":71,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 200"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:71:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 200","label":"Critical Reporter","timestamp":"2018-03-06T15:54:04.711Z"} -{"date":"Tue Mar 06 2018 16:05:25 GMT+0000 (GMT)","process":{"pid":30697,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":201003008,"heapTotal":148590592,"heapUsed":122526232,"external":1177000}},"os":{"loadavg":[2.3056640625,2.3251953125,2.341796875],"uptime":540547},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":99,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 400"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:99:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 400","label":"Critical Reporter","timestamp":"2018-03-06T16:05:25.934Z"} -{"date":"Tue Mar 06 2018 16:43:51 GMT+0000 (GMT)","process":{"pid":922,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*auth.routes.test.ts"],"memoryUsage":{"rss":200962048,"heapTotal":149114880,"heapUsed":114207432,"external":1129978}},"os":{"loadavg":[2.70947265625,2.2939453125,2.1953125],"uptime":542853},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":94,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 400"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:94:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 400","label":"Critical Reporter","timestamp":"2018-03-06T16:43:51.296Z"} -{"date":"Tue Mar 06 2018 16:44:17 GMT+0000 (GMT)","process":{"pid":967,"uid":20219,"gid":20219,"cwd":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code","execPath":"/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","version":"v9.1.0","argv":["/cs/home/jw255/.nvm/versions/node/v9.1.0/bin/node","/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/mocha/bin/_mocha","--reporter","spec","-r","ts-node/register","./test/**/*.routes.test.ts"],"memoryUsage":{"rss":204718080,"heapTotal":149626880,"heapUsed":113866840,"external":73007}},"os":{"loadavg":[2.6640625,2.3154296875,2.20556640625],"uptime":542879},"trace":[{"column":25,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts","function":"Test.request.agent.post.send.end","line":94,"method":"end","native":false},{"column":6,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Test.assert","line":179,"method":"assert","native":false},{"column":12,"file":"/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js","function":"Server.assert","line":131,"method":"assert","native":false},{"column":30,"file":"events.js","function":"Object.onceWrapper","line":322,"method":"onceWrapper","native":false},{"column":13,"file":"events.js","function":"emitNone","line":115,"method":null,"native":false},{"column":7,"file":"events.js","function":"Server.emit","line":218,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitCloseNT","line":1677,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":135,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":180,"method":"_tickCallback","native":false}],"stack":["AssertionError: expected { Object (domain, _events, ...) } to have status code 401 but got 400"," at Test.request.agent.post.send.end (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/test/integration/auth.routes.test.ts:94:25)"," at Test.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:179:6)"," at Server.assert (/cs/home/jw255/Modules/CS3099-Group_Projects/project-code/node_modules/supertest/lib/test.js:131:12)"," at Object.onceWrapper (events.js:322:30)"," at emitNone (events.js:115:13)"," at Server.emit (events.js:218:7)"," at emitCloseNT (net.js:1677:8)"," at _combinedTickCallback (internal/process/next_tick.js:135:11)"," at process._tickCallback (internal/process/next_tick.js:180:9)"],"level":"error","message":"uncaughtException: expected { Object (domain, _events, ...) } to have status code 401 but got 400","label":"Critical Reporter","timestamp":"2018-03-06T16:44:17.297Z"} diff --git a/logs/general/queries b/logs/general/queries deleted file mode 100644 index 4ed732a..0000000 --- a/logs/general/queries +++ /dev/null @@ -1,3931 +0,0 @@ -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-05T19:57:42.490Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.501Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.511Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.537Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.546Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.576Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.583Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.594Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.599Z"} -{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T19:57:42.639Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.648Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.655Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-05T19:57:42.686Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.690Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.693Z"} -{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-05T19:57:42.737Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.740Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.742Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-05T19:57:42.753Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.756Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.758Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T19:57:42.773Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.777Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.780Z"} -{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-05T19:57:42.819Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.822Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.825Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-05T19:57:42.839Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.841Z"} -{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-05 19:57:42.845 +00:00','2018-03-05 19:57:42.845 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-05T19:57:42.860Z"} -{"duration":41,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-05T19:57:42.953Z"} -{"duration":20,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-05T19:57:42.983Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-05T20:00:21.681Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.701Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.726Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.737Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.745Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.754Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.762Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.771Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.777Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T20:00:21.820Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.828Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.835Z"} -{"duration":44,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-05T20:00:21.881Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.884Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.886Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-05T20:00:21.898Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.901Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.903Z"} -{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-05T20:00:21.928Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.931Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.933Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T20:00:21.949Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.953Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.955Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-05T20:00:21.963Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.965Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.967Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-05T20:00:21.977Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.980Z"} -{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-05 20:00:21.985 +00:00','2018-03-05 20:00:21.985 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-05T20:00:21.999Z"} -{"duration":36,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-05T20:00:22.092Z"} -{"duration":128,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-05T20:00:22.221Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-05T20:01:45.240Z"} -{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.261Z"} -{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.266Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.277Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.284Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.293Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.300Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.310Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.316Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T20:01:45.335Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.343Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.349Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-05T20:01:45.360Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.363Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.365Z"} -{"duration":21,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-05T20:01:45.388Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.391Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.393Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-05T20:01:45.405Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.407Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.410Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T20:01:45.425Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.429Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.432Z"} -{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-05T20:01:45.440Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.443Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.444Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-05T20:01:45.455Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.458Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-05 20:01:45.462 +00:00','2018-03-05 20:01:45.462 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-05T20:01:45.476Z"} -{"duration":12,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-05T20:01:45.544Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-05T20:01:45.552Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-05T20:03:10.360Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.378Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.385Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.395Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.403Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.411Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.436Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.446Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.452Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T20:03:10.484Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.494Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.502Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-05T20:03:10.515Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.518Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.520Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-05T20:03:10.531Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.534Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.537Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-05T20:03:10.549Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.551Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.553Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-05T20:03:10.568Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.571Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.574Z"} -{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-05T20:03:10.600Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.603Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.606Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-05T20:03:10.619Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.622Z"} -{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-05 20:03:10.627 +00:00','2018-03-05 20:03:10.627 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-05T20:03:10.642Z"} -{"duration":11,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-05T20:03:10.705Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-05T20:03:10.720Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T14:57:27.342Z"} -{"duration":293,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.639Z"} -{"duration":18,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.660Z"} -{"duration":60,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.721Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.752Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.787Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.817Z"} -{"duration":64,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.882Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:27.884Z"} -{"duration":196,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T14:57:28.082Z"} -{"duration":67,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.155Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.161Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T14:57:28.188Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.192Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.193Z"} -{"duration":71,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T14:57:28.265Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.266Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.267Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T14:57:28.294Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.295Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.296Z"} -{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T14:57:28.338Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.341Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.342Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T14:57:28.357Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.358Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.359Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T14:57:28.387Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.389Z"} -{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 14:57:28.393 +00:00','2018-03-06 14:57:28.393 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T14:57:28.408Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:27:49.734Z"} -{"duration":64,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:49.803Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:49.817Z"} -{"duration":242,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.060Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.083Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.107Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.132Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.163Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.165Z"} -{"duration":137,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:27:50.305Z"} -{"duration":31,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.337Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.340Z"} -{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:27:50.378Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.380Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.382Z"} -{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:27:50.428Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.431Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.432Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:27:50.459Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.462Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.463Z"} -{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:27:50.502Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.506Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.507Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:27:50.521Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.523Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.524Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:27:50.552Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.554Z"} -{"duration":8,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:27:50.556 +00:00','2018-03-06 15:27:50.556 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:27:50.570Z"} -{"duration":83,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:27:50.734Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:27:50.737Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:45:19.131Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.171Z"} -{"duration":16,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.189Z"} -{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.226Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.251Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.277Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.300Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.331Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.333Z"} -{"duration":52,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:19.389Z"} -{"duration":19,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.410Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.413Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:19.441Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.444Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.445Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:19.474Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.476Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.477Z"} -{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:19.513Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.514Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.515Z"} -{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:19.555Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.558Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.559Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:19.576Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.579Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.581Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:19.608Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.611Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:45:19.613 +00:00','2018-03-06 15:45:19.613 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:45:19.626Z"} -{"duration":28,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:45:19.711Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:45:47.794Z"} -{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.825Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.839Z"} -{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.874Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.900Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.924Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.946Z"} -{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.975Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:47.978Z"} -{"duration":46,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:48.027Z"} -{"duration":13,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.042Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.045Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:48.073Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.076Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.077Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:48.107Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.109Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.110Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:48.136Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.138Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.140Z"} -{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:48.179Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.182Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.184Z"} -{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:48.217Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.219Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.220Z"} -{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:45:48.246Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.248Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:45:48.250 +00:00','2018-03-06 15:45:48.250 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:45:48.263Z"} -{"duration":27,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:45:48.342Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:46:36.333Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.366Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.380Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.416Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.439Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.475Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.496Z"} -{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.525Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.528Z"} -{"duration":58,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:46:36.590Z"} -{"duration":20,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.611Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.614Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:46:36.651Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.654Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.655Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:46:36.682Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.684Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.685Z"} -{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:46:36.710Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.713Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.714Z"} -{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:46:36.750Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.753Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.755Z"} -{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:46:36.787Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.789Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.790Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:46:36.818Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.819Z"} -{"duration":6,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:46:36.821 +00:00','2018-03-06 15:46:36.821 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:46:36.833Z"} -{"duration":28,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:46:36.917Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:46:36.919Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:47:10.378Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.411Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.427Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.463Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.488Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.514Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.539Z"} -{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.574Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.576Z"} -{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:47:10.621Z"} -{"duration":14,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.636Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.639Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:47:10.670Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.672Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.674Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:47:10.705Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.707Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.709Z"} -{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:47:10.744Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.746Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.747Z"} -{"duration":61,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:47:10.809Z"} -{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.814Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.815Z"} -{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:47:10.847Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.849Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.850Z"} -{"duration":46,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:47:10.897Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.900Z"} -{"duration":21,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:47:10.902 +00:00','2018-03-06 15:47:10.902 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:47:10.929Z"} -{"duration":17,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:47:10.984Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:47:10.988Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:49:25.549Z"} -{"duration":73,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:25.627Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:25.663Z"} -{"duration":101,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:25.764Z"} -{"duration":73,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:25.837Z"} -{"duration":65,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:25.903Z"} -{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:25.944Z"} -{"duration":54,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:25.998Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.000Z"} -{"duration":94,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:49:26.097Z"} -{"duration":38,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.136Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.139Z"} -{"duration":53,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:49:26.193Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.195Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.196Z"} -{"duration":59,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:49:26.257Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.258Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.259Z"} -{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:49:26.305Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.307Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.307Z"} -{"duration":71,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:49:26.379Z"} -{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.384Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.385Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:49:26.413Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.415Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.416Z"} -{"duration":56,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:49:26.473Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.474Z"} -{"duration":15,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:49:26.476 +00:00','2018-03-06 15:49:26.476 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:49:26.498Z"} -{"duration":34,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:49:26.624Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:49:26.627Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:49:26.654Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:51:13.891Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:13.927Z"} -{"duration":17,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:13.946Z"} -{"duration":62,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.009Z"} -{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.044Z"} -{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.072Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.098Z"} -{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.133Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.135Z"} -{"duration":535,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:14.673Z"} -{"duration":77,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.751Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.754Z"} -{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:14.790Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.793Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.794Z"} -{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:14.840Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.841Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.842Z"} -{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:14.876Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.877Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.878Z"} -{"duration":48,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:14.927Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.930Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.932Z"} -{"duration":20,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:14.953Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.955Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.956Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:14.993Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:14.996Z"} -{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:51:14.998 +00:00','2018-03-06 15:51:14.998 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:51:15.013Z"} -{"duration":33,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:51:15.110Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:51:15.113Z"} -{"duration":15,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:51:15.133Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:51:49.320Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.358Z"} -{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.376Z"} -{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.417Z"} -{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.446Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.476Z"} -{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.504Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.540Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.542Z"} -{"duration":50,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:49.596Z"} -{"duration":14,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.611Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.614Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:49.645Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.647Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.648Z"} -{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:49.688Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.690Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.691Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:49.722Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.724Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.725Z"} -{"duration":60,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:49.786Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.789Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.790Z"} -{"duration":21,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:49.812Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.814Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.815Z"} -{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:51:49.851Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.853Z"} -{"duration":10,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:51:49.854 +00:00','2018-03-06 15:51:49.854 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:51:49.870Z"} -{"duration":29,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:51:49.942Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:51:49.946Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:51:49.971Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:53:08.581Z"} -{"duration":92,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.676Z"} -{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.692Z"} -{"duration":58,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.752Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.790Z"} -{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.823Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.853Z"} -{"duration":41,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.894Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:08.896Z"} -{"duration":151,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:53:09.050Z"} -{"duration":28,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.079Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.083Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:53:09.110Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.113Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.114Z"} -{"duration":47,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:53:09.162Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.165Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.166Z"} -{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:53:09.199Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.201Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.202Z"} -{"duration":48,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:53:09.251Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.254Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.255Z"} -{"duration":19,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:53:09.275Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.277Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.278Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:53:09.316Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.318Z"} -{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:53:09.321 +00:00','2018-03-06 15:53:09.321 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:53:09.335Z"} -{"duration":32,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:53:09.433Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:53:09.436Z"} -{"duration":16,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:53:09.456Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:54:04.095Z"} -{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.126Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.141Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.177Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.201Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.226Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.250Z"} -{"duration":42,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.293Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.297Z"} -{"duration":50,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:04.350Z"} -{"duration":13,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.364Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.368Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:04.396Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.399Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.400Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:04.428Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.430Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.431Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:04.458Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.459Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.460Z"} -{"duration":43,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:04.504Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.507Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.508Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:04.524Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.526Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.526Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:04.552Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.553Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:54:04.555 +00:00','2018-03-06 15:54:04.555 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:54:04.568Z"} -{"duration":71,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:54:04.681Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:54:04.689Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T15:54:46.162Z"} -{"duration":48,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.215Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.230Z"} -{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.271Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.296Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.320Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.342Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.372Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.374Z"} -{"duration":65,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:46.443Z"} -{"duration":15,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.459Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.463Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:46.492Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.495Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.496Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:46.526Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.528Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.530Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:46.556Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.558Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.559Z"} -{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:46.597Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.600Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.601Z"} -{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:46.618Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.620Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.621Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T15:54:46.652Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.654Z"} -{"duration":8,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 15:54:46.656 +00:00','2018-03-06 15:54:46.656 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T15:54:46.669Z"} -{"duration":21,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T15:54:46.739Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:54:46.742Z"} -{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:54:46.762Z"} -{"duration":4,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T15:54:46.767Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:03:54.110Z"} -{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.151Z"} -{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.167Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.203Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.226Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.250Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.272Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.302Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.304Z"} -{"duration":51,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.359Z"} -{"duration":21,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.381Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.385Z"} -{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.410Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.413Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.414Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.442Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.444Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.446Z"} -{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.471Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.473Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.474Z"} -{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.513Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.516Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.518Z"} -{"duration":18,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.537Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.539Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.540Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.570Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.572Z"} -{"duration":8,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:03:54.575 +00:00','2018-03-06 16:03:54.575 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.588Z"} -{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.623Z"} -{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.637Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.673Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.697Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.721Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.743Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.779Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.780Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.811Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.814Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.815Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.843Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.846Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.847Z"} -{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.888Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.890Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.890Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:54.924Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.926Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:54.927Z"} -{"duration":237,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.164Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.167Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.168Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.182Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.184Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.185Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.211Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.213Z"} -{"duration":23,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:03:55.325Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.354Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.366Z"} -{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.403Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.425Z"} -{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.451Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.473Z"} -{"duration":229,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.703Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.704Z"} -{"duration":42,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.747Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.749Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.751Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.777Z"} -{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.787Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.788Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.815Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.816Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.817Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.843Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.845Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.846Z"} -{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.882Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.885Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.887Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.902Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.905Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.906Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:55.935Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.937Z"} -{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:03:55.960Z"} -{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.980Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:55.992Z"} -{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.025Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.047Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.071Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.093Z"} -{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.124Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.125Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:56.156Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.157Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.160Z"} -{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:56.184Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.186Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.187Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:56.213Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.215Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.216Z"} -{"duration":74,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:56.290Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.292Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.293Z"} -{"duration":410,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:56.704Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.705Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.708Z"} -{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:56.724Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.725Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.726Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:56.753Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.755Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.786Z"} -{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.800Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:56.834Z"} -{"duration":223,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.058Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.082Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.105Z"} -{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.134Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.135Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:57.165Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.166Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.169Z"} -{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:57.193Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.195Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.196Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:57.222Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.224Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.225Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:57.251Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.252Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.253Z"} -{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:57.291Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.292Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.294Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:57.311Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.312Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.313Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:03:57.339Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:03:57.341Z"} -{"duration":22,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:03:57.368Z"} -{"duration":31,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:03:57.375Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:04:38.938Z"} -{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:38.972Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:38.986Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.022Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.045Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.069Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.095Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.131Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.133Z"} -{"duration":54,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.191Z"} -{"duration":15,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.208Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.211Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.238Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.239Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.240Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.269Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.271Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.272Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.301Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.302Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.303Z"} -{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.343Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.346Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.348Z"} -{"duration":21,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.370Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.372Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.373Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.400Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.402Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:04:39.404 +00:00','2018-03-06 16:04:39.404 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.417Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.444Z"} -{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.460Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.496Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.519Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.543Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.565Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.595Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.596Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.626Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.629Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.630Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.656Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.658Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.659Z"} -{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.684Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.685Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.686Z"} -{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.712Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.714Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.715Z"} -{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.761Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.764Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.765Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.780Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.782Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.783Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:39.812Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.814Z"} -{"duration":22,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:04:39.900Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.930Z"} -{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.942Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.977Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:39.999Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.023Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.046Z"} -{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.082Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.084Z"} -{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.126Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.128Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.129Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.159Z"} -{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.169Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.170Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.201Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.202Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.203Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.233Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.236Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.237Z"} -{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.279Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.282Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.285Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.299Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.301Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.302Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.332Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.334Z"} -{"duration":20,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:04:40.358Z"} -{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.378Z"} -{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.391Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.429Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.451Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.476Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.499Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.530Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.531Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.561Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.563Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.565Z"} -{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.590Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.593Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.594Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.621Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.623Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.625Z"} -{"duration":87,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.713Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.715Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.717Z"} -{"duration":82,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.800Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.802Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.804Z"} -{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.821Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.822Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.823Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:40.853Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.855Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.895Z"} -{"duration":19,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.914Z"} -{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.952Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:40.977Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.003Z"} -{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.032Z"} -{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.065Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.067Z"} -{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.108Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.112Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.114Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.145Z"} -{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.150Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.151Z"} -{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.193Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.200Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.201Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.233Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.238Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.239Z"} -{"duration":51,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.291Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.293Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.295Z"} -{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.313Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.315Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.315Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.346Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.349Z"} -{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.384Z"} -{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.399Z"} -{"duration":42,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.445Z"} -{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.473Z"} -{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.501Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.525Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.557Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.562Z"} -{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.604Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.607Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.609Z"} -{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.642Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.645Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.646Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.683Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.685Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.686Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.712Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.714Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.715Z"} -{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.755Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.757Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.759Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.774Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.776Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.777Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:41.803Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.805Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.833Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.848Z"} -{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.889Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.912Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.936Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.959Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.989Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:41.991Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:42.022Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.024Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.026Z"} -{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:42.049Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.051Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.052Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:42.078Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.080Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.081Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:42.106Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.108Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.109Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:42.146Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.148Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.151Z"} -{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:42.170Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.172Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.173Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:04:42.201Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:04:42.202Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:05:23.567Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.601Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.616Z"} -{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.656Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.680Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.704Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.729Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.759Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.761Z"} -{"duration":47,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:23.811Z"} -{"duration":18,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.830Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.834Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:23.861Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.863Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.866Z"} -{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:23.898Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.900Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.901Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:23.930Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.931Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.933Z"} -{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:23.971Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.974Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.975Z"} -{"duration":18,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:23.994Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.996Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:23.997Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.025Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.027Z"} -{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:05:24.028 +00:00','2018-03-06 16:05:24.028 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.043Z"} -{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.077Z"} -{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.091Z"} -{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.125Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.149Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.174Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.196Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.226Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.227Z"} -{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.262Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.266Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.267Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.294Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.296Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.297Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.324Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.326Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.328Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.354Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.356Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.357Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.394Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.397Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.399Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.413Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.416Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.417Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.444Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.446Z"} -{"duration":24,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:05:24.521Z"} -{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.545Z"} -{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.558Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.596Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.629Z"} -{"duration":100,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.731Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.754Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.785Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.786Z"} -{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.828Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.831Z"} -{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.835Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.864Z"} -{"duration":11,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.876Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.877Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.903Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.905Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.906Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.931Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.932Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.933Z"} -{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.973Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.976Z"} -{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.979Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:24.994Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.996Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:24.998Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.024Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.028Z"} -{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:05:25.050Z"} -{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.071Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.083Z"} -{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.117Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.141Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.165Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.188Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.219Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.221Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.250Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.251Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.253Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.280Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.281Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.282Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.309Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.311Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.312Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.338Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.340Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.342Z"} -{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.384Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.386Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.388Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.404Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.406Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.408Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.434Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.436Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.467Z"} -{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.480Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.518Z"} -{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.546Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.571Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.595Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.625Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.627Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.658Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.661Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.663Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.689Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.691Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.692Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.719Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.721Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.722Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.750Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.752Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.754Z"} -{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.792Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.794Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.796Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.812Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.814Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.815Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:05:25.842Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:05:25.843Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:11:20.910Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:20.915Z"} -{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:20.956Z"} -{"duration":41,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:20.998Z"} -{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.027Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.052Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.077Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.107Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.109Z"} -{"duration":53,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.165Z"} -{"duration":22,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.187Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.191Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.217Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.220Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.221Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.247Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.250Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.251Z"} -{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.276Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.283Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.284Z"} -{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.322Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.325Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.327Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.342Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.344Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.345Z"} -{"duration":61,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.407Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.408Z"} -{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:11:21.410 +00:00','2018-03-06 16:11:21.410 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.425Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.453Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.467Z"} -{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.504Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.529Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.555Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.577Z"} -{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.609Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.610Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.642Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.645Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.646Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.675Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.677Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.678Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.706Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.708Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.710Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.739Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.741Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.742Z"} -{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.782Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.785Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.786Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.801Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.803Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.805Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:21.831Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.833Z"} -{"duration":21,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:11:21.944Z"} -{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.967Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:21.978Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.012Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.034Z"} -{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.062Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.084Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.120Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.121Z"} -{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.163Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.165Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.167Z"} -{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.191Z"} -{"duration":10,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.203Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.204Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.232Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.234Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.235Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.265Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.267Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.268Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.306Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.308Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.311Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.327Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.329Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.330Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.357Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.360Z"} -{"duration":20,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:11:22.385Z"} -{"duration":47,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.412Z"} -{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.427Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.461Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.485Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.511Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.534Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.564Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.566Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.595Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.597Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.599Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.625Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.627Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.629Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.656Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.658Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.659Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.686Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.688Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.689Z"} -{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.725Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.727Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.729Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.766Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.768Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.769Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:22.796Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.798Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:22.828Z"} -{"duration":212,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.041Z"} -{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.076Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.100Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.125Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.151Z"} -{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.182Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.183Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.215Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.217Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.219Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.248Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.250Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.251Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.278Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.279Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.280Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.308Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.310Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.311Z"} -{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.350Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.352Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.355Z"} -{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.373Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.375Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.377Z"} -{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.409Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.411Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.440Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.454Z"} -{"duration":235,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.690Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.714Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.738Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.762Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.794Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.795Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.826Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.828Z"} -{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.832Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.863Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.864Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.865Z"} -{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.898Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.900Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.901Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.927Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.929Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.930Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.967Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.969Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.971Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:23.986Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.988Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:23.989Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.016Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.018Z"} -{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.047Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.061Z"} -{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.096Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.121Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.147Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.171Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.206Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.208Z"} -{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.241Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.243Z"} -{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.247Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.276Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.278Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.279Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.306Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.308Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.309Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.336Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.340Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.341Z"} -{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.379Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.381Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.383Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.399Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.400Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.401Z"} -{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:11:24.432Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:11:24.434Z"} -{"duration":4,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:14:04.195Z"} -{"duration":51,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.242Z"} -{"duration":20,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.264Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.303Z"} -{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.332Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.356Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.381Z"} -{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.414Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.416Z"} -{"duration":56,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:04.474Z"} -{"duration":22,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.497Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.505Z"} -{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:04.543Z"} -{"duration":13,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.557Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.558Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:04.589Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.590Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.591Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:04.622Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.624Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.625Z"} -{"duration":44,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:04.670Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.672Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.674Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:04.690Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.692Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.693Z"} -{"duration":68,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:04.763Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.764Z"} -{"duration":12,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:14:04.766 +00:00','2018-03-06 16:14:04.766 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.784Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.821Z"} -{"duration":18,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.840Z"} -{"duration":49,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.890Z"} -{"duration":45,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.935Z"} -{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.970Z"} -{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:04.998Z"} -{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.030Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.031Z"} -{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.066Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.068Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.070Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.098Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.100Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.101Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.127Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.129Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.130Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.158Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.159Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.160Z"} -{"duration":80,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.241Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.243Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.245Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.274Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.276Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.277Z"} -{"duration":50,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.328Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.329Z"} -{"duration":13,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:14:05.330 +00:00','2018-03-06 16:14:05.330 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.344Z"} -{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:14:05.428Z"} -{"duration":45,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.454Z"} -{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.469Z"} -{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.510Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.535Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.560Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.584Z"} -{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.623Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.625Z"} -{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.657Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.659Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.663Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.691Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.693Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.694Z"} -{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.727Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.729Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.730Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.759Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.761Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.763Z"} -{"duration":43,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.806Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.808Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.810Z"} -{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.828Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.829Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.830Z"} -{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:14:05.866Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.868Z"} -{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:14:05.869 +00:00','2018-03-06 16:14:05.869 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.879Z"} -{"duration":22,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:14:05.906Z"} -{"duration":90,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:14:05.974Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:17:28.423Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.428Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.458Z"} -{"duration":44,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.503Z"} -{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.532Z"} -{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.559Z"} -{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.586Z"} -{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.625Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.628Z"} -{"duration":79,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:28.710Z"} -{"duration":29,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.740Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.744Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:28.775Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.776Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.778Z"} -{"duration":129,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:28.908Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.910Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.911Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:28.940Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.941Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:28.943Z"} -{"duration":54,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:28.998Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.001Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.002Z"} -{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.019Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.021Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.022Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.053Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.056Z"} -{"duration":10,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:17:29.058 +00:00','2018-03-06 16:17:29.058 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.073Z"} -{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:17:29.155Z"} -{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.182Z"} -{"duration":16,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.199Z"} -{"duration":71,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.271Z"} -{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.304Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.333Z"} -{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.360Z"} -{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.400Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.401Z"} -{"duration":44,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.446Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.448Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.462Z"} -{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.495Z"} -{"duration":13,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.509Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.510Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.539Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.544Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.545Z"} -{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.581Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.582Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.584Z"} -{"duration":60,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.645Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.647Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.649Z"} -{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.667Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.669Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.670Z"} -{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:17:29.704Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.706Z"} -{"duration":8,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:17:29.707 +00:00','2018-03-06 16:17:29.707 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.716Z"} -{"duration":23,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:17:29.743Z"} -{"duration":79,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:17:29.800Z"} -{"duration":10,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:19:24.029Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.038Z"} -{"duration":80,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.119Z"} -{"duration":70,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.190Z"} -{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.225Z"} -{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.266Z"} -{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.298Z"} -{"duration":44,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.343Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.345Z"} -{"duration":107,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:24.456Z"} -{"duration":35,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.493Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.498Z"} -{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:24.532Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.535Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.536Z"} -{"duration":56,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:24.593Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.595Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.596Z"} -{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:24.632Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.634Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.636Z"} -{"duration":51,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:24.688Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.692Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.694Z"} -{"duration":19,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:24.714Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.716Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.717Z"} -{"duration":70,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:24.788Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.791Z"} -{"duration":13,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:19:24.793 +00:00','2018-03-06 16:19:24.793 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.812Z"} -{"duration":37,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:19:24.923Z"} -{"duration":51,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:24.968Z"} -{"duration":216,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.185Z"} -{"duration":58,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.243Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.272Z"} -{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.308Z"} -{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.342Z"} -{"duration":42,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.384Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.386Z"} -{"duration":61,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:25.448Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.450Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.452Z"} -{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:25.488Z"} -{"duration":11,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.499Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.500Z"} -{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:25.532Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.534Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.535Z"} -{"duration":55,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:25.593Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.599Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.600Z"} -{"duration":47,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:25.648Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.652Z"} -{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.656Z"} -{"duration":18,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:25.675Z"} -{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.680Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.681Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:19:25.710Z"} -{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.715Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:19:25.715 +00:00','2018-03-06 16:19:25.715 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:19:25.724Z"} -{"duration":17,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:19:25.746Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:20:41.191Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.197Z"} -{"duration":61,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.259Z"} -{"duration":78,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.338Z"} -{"duration":58,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.397Z"} -{"duration":52,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.450Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.487Z"} -{"duration":59,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.547Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.549Z"} -{"duration":90,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:41.641Z"} -{"duration":21,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.663Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.667Z"} -{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:41.705Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.707Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.708Z"} -{"duration":54,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:41.763Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.765Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.766Z"} -{"duration":69,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:41.836Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.837Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.838Z"} -{"duration":64,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:41.903Z"} -{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.908Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.909Z"} -{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:41.933Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.935Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.937Z"} -{"duration":52,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:41.991Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:41.993Z"} -{"duration":13,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:20:41.995 +00:00','2018-03-06 16:20:41.995 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.015Z"} -{"duration":24,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:20:42.134Z"} -{"duration":41,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.176Z"} -{"duration":20,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.197Z"} -{"duration":56,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.254Z"} -{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.293Z"} -{"duration":42,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.336Z"} -{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.375Z"} -{"duration":47,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.423Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.424Z"} -{"duration":53,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:42.478Z"} -{"duration":13,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.492Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.494Z"} -{"duration":56,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:42.552Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.554Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.555Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:42.592Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.594Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.596Z"} -{"duration":50,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:42.648Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.649Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.650Z"} -{"duration":49,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:42.700Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.702Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.705Z"} -{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:42.722Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.724Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.725Z"} -{"duration":70,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:20:42.796Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.798Z"} -{"duration":11,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:20:42.799 +00:00','2018-03-06 16:20:42.799 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:20:42.812Z"} -{"duration":30,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:20:42.847Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:21:11.714Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.720Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.744Z"} -{"duration":41,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.786Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.824Z"} -{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.853Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.887Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.925Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:11.928Z"} -{"duration":55,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:11.986Z"} -{"duration":20,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.007Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.010Z"} -{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.052Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.053Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.055Z"} -{"duration":47,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.103Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.105Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.106Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.137Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.138Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.140Z"} -{"duration":43,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.184Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.187Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.188Z"} -{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.206Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.208Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.210Z"} -{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.249Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.251Z"} -{"duration":11,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:21:12.253 +00:00','2018-03-06 16:21:12.253 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.270Z"} -{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:21:12.329Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.359Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.373Z"} -{"duration":46,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.420Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.445Z"} -{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.472Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.495Z"} -{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.527Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.528Z"} -{"duration":46,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.576Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.578Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.580Z"} -{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.612Z"} -{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.622Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.623Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.652Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.654Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.656Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.685Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.687Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.688Z"} -{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.734Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.737Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.739Z"} -{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.757Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.759Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.760Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:21:12.791Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.793Z"} -{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:21:12.794 +00:00','2018-03-06 16:21:12.794 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:21:12.805Z"} -{"duration":21,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:21:12.832Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:22:15.791Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:15.796Z"} -{"duration":46,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:15.844Z"} -{"duration":71,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:15.916Z"} -{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:15.956Z"} -{"duration":42,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.000Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.038Z"} -{"duration":58,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.097Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.099Z"} -{"duration":91,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:16.193Z"} -{"duration":31,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.225Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.228Z"} -{"duration":71,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:16.300Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.302Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.303Z"} -{"duration":48,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:16.351Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.354Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.355Z"} -{"duration":66,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:16.422Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.424Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.425Z"} -{"duration":88,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:16.515Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.520Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.521Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:16.558Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.560Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.561Z"} -{"duration":96,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:16.657Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.658Z"} -{"duration":13,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:22:16.660 +00:00','2018-03-06 16:22:16.660 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.679Z"} -{"duration":32,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:22:16.789Z"} -{"duration":51,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.834Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.859Z"} -{"duration":66,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.927Z"} -{"duration":46,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:16.974Z"} -{"duration":47,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.022Z"} -{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.062Z"} -{"duration":47,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.110Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.112Z"} -{"duration":59,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:17.172Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.173Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.176Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:17.203Z"} -{"duration":11,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.215Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.216Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:17.245Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.247Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.248Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:17.278Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.279Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.280Z"} -{"duration":60,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:17.342Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.344Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.346Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:17.361Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.363Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.365Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:22:17.395Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.397Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:22:17.397 +00:00','2018-03-06 16:22:17.397 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.406Z"} -{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:22:17.428Z"} -{"duration":42,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:22:17.453Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:27:07.410Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.416Z"} -{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.443Z"} -{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.483Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.507Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.531Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.555Z"} -{"duration":40,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.595Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.597Z"} -{"duration":91,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:07.691Z"} -{"duration":21,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.796Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.800Z"} -{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:07.835Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.837Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.838Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:07.867Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.870Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.871Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:07.898Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.900Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.901Z"} -{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:07.947Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.951Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.952Z"} -{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:07.970Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.972Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:07.973Z"} -{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.016Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.019Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:27:08.021 +00:00','2018-03-06 16:27:08.021 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.034Z"} -{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:27:08.109Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.136Z"} -{"duration":16,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.154Z"} -{"duration":48,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.202Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.228Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.266Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.290Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.324Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.326Z"} -{"duration":55,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.382Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.384Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.386Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.417Z"} -{"duration":10,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.428Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.430Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.457Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.459Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.460Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.488Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.490Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.491Z"} -{"duration":48,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.540Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.542Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.544Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.559Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.561Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.562Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:27:08.588Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.590Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:27:08.591 +00:00','2018-03-06 16:27:08.591 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.600Z"} -{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:27:08.623Z"} -{"duration":69,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:27:08.675Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:30:16.785Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:16.791Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:16.828Z"} -{"duration":57,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:16.887Z"} -{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:16.926Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:16.964Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:16.998Z"} -{"duration":46,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.046Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.049Z"} -{"duration":62,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.114Z"} -{"duration":20,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.136Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.139Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.167Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.169Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.170Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.198Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.201Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.202Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.229Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.232Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.233Z"} -{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.274Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.278Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.279Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.294Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.296Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.297Z"} -{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.335Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.337Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:30:17.339 +00:00','2018-03-06 16:30:17.339 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.352Z"} -{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:30:17.433Z"} -{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.455Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.477Z"} -{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.512Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.535Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.559Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.582Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.612Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.613Z"} -{"duration":42,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.656Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.658Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.661Z"} -{"duration":61,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.723Z"} -{"duration":10,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.734Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.735Z"} -{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.770Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.772Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.773Z"} -{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.821Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.823Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.823Z"} -{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.862Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.864Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.867Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.882Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.885Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.885Z"} -{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:30:17.924Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.926Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:30:17.927 +00:00','2018-03-06 16:30:17.927 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:30:17.935Z"} -{"duration":17,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:30:17.956Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:31:46.897Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:46.902Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:46.932Z"} -{"duration":41,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:46.974Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.000Z"} -{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.027Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.051Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.082Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.084Z"} -{"duration":51,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:31:47.139Z"} -{"duration":19,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.159Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.162Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:31:47.188Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.190Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.191Z"} -{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:31:47.230Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.232Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.233Z"} -{"duration":105,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:31:47.339Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.341Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.342Z"} -{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:31:47.383Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.387Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.388Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:31:47.404Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.406Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.408Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:31:47.435Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:31:47.437Z"} -{"duration":27,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:31:47.520Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:33:30.158Z"} -{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.198Z"} -{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.215Z"} -{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.255Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.281Z"} -{"duration":225,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.507Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.532Z"} -{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.564Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.566Z"} -{"duration":48,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:30.617Z"} -{"duration":20,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.639Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.643Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:30.670Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.672Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.673Z"} -{"duration":44,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:30.719Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.720Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.721Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:30.748Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.750Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.751Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:30.788Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.792Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.793Z"} -{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:30.810Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.812Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.813Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:30.839Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.842Z"} -{"duration":28,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:33:30.929Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:33:30.935Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.958Z"} -{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:30.973Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.009Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.031Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.056Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.079Z"} -{"duration":43,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.122Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.123Z"} -{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:31.158Z"} -{"duration":10,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.170Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.173Z"} -{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:31.205Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.207Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.208Z"} -{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:31.240Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.241Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.242Z"} -{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:31.278Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.280Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.281Z"} -{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:31.320Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.322Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.325Z"} -{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:31.358Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.359Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.360Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:33:31.387Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.389Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:33:31.392 +00:00','2018-03-06 16:33:31.392 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:33:31.404Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:39:17.601Z"} -{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.643Z"} -{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.658Z"} -{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.696Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.721Z"} -{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.748Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.773Z"} -{"duration":42,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.816Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.819Z"} -{"duration":83,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:17.904Z"} -{"duration":23,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.928Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.931Z"} -{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:17.965Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.967Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:17.968Z"} -{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.001Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.003Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.004Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.030Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.033Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.034Z"} -{"duration":76,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.111Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.114Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.115Z"} -{"duration":90,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.206Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.208Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.209Z"} -{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.249Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.251Z"} -{"duration":28,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:39:18.333Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:39:18.335Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.361Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.373Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.407Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.438Z"} -{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.465Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.489Z"} -{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.520Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.521Z"} -{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.563Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.565Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.568Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.597Z"} -{"duration":10,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.608Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.610Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.638Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.639Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.640Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.670Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.672Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.673Z"} -{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.711Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.713Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.715Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.731Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.732Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.733Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:18.762Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.764Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:39:18.766 +00:00','2018-03-06 16:39:18.766 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.778Z"} -{"duration":28,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:39:18.810Z"} -{"duration":91,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.874Z"} -{"duration":19,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.894Z"} -{"duration":54,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.949Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:18.975Z"} -{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.003Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.027Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.058Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.060Z"} -{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:19.093Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.096Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.098Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:19.130Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.132Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.133Z"} -{"duration":46,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:19.180Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.183Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.183Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:19.221Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.223Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.224Z"} -{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:19.266Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.269Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.271Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:19.286Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.289Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.290Z"} -{"duration":43,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:39:19.334Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.336Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:39:19.337 +00:00','2018-03-06 16:39:19.337 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:39:19.346Z"} -{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:39:19.368Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:40:28.382Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.423Z"} -{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.439Z"} -{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.478Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.503Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.528Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.550Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.588Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.590Z"} -{"duration":49,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:28.642Z"} -{"duration":19,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.662Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.666Z"} -{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:28.700Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.701Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.702Z"} -{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:28.741Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.743Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.744Z"} -{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:28.770Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.773Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.774Z"} -{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:28.812Z"} -{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.816Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.818Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:28.834Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.836Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.837Z"} -{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:28.869Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.871Z"} -{"duration":28,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:40:28.956Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:40:28.958Z"} -{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:28.988Z"} -{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.001Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.037Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.067Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.091Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.122Z"} -{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.154Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.155Z"} -{"duration":42,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.199Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.201Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.203Z"} -{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.227Z"} -{"duration":10,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.238Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.239Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.266Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.267Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.268Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.295Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.296Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.297Z"} -{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.338Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.340Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.343Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.358Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.360Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.361Z"} -{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.396Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.397Z"} -{"duration":8,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:40:29.399 +00:00','2018-03-06 16:40:29.399 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.412Z"} -{"duration":17,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:40:29.435Z"} -{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.457Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.470Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.504Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.528Z"} -{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.556Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.580Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.611Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.612Z"} -{"duration":49,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.662Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.664Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.666Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.695Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.696Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.697Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.728Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.730Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.730Z"} -{"duration":51,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.782Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.784Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.785Z"} -{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.825Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.826Z"} -{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.861Z"} -{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.879Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.881Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.882Z"} -{"duration":60,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:40:29.943Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.945Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:40:29.946 +00:00','2018-03-06 16:40:29.946 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:40:29.954Z"} -{"duration":17,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:40:29.974Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:41:51.274Z"} -{"duration":66,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.343Z"} -{"duration":17,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.363Z"} -{"duration":52,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.416Z"} -{"duration":41,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.458Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.492Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.516Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.547Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.549Z"} -{"duration":202,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:51.755Z"} -{"duration":33,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.789Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.792Z"} -{"duration":52,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:51.845Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.847Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.849Z"} -{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:51.890Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.892Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.893Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:51.921Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.923Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.924Z"} -{"duration":42,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:51.967Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.970Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.972Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:51.987Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.989Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:51.991Z"} -{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.025Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.027Z"} -{"duration":29,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:41:52.118Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:41:52.121Z"} -{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.146Z"} -{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.159Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.193Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.218Z"} -{"duration":28,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.247Z"} -{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.274Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.311Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.312Z"} -{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.351Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.354Z"} -{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.386Z"} -{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.426Z"} -{"duration":12,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.439Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.440Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.471Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.473Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.474Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.500Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.502Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.504Z"} -{"duration":96,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.601Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.603Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.605Z"} -{"duration":216,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.822Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.823Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.825Z"} -{"duration":57,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:52.882Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.883Z"} -{"duration":12,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:41:52.885 +00:00','2018-03-06 16:41:52.885 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:41:52.902Z"} -{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:41:52.925Z"} -{"duration":242,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.149Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.162Z"} -{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.197Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.222Z"} -{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.250Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.275Z"} -{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.308Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.309Z"} -{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:53.344Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.346Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.348Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:53.376Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.378Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.379Z"} -{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:53.415Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.417Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.418Z"} -{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:53.450Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.451Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.452Z"} -{"duration":46,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:53.499Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.501Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.503Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:53.540Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.542Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.543Z"} -{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:41:53.583Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.585Z"} -{"duration":8,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:41:53.585 +00:00','2018-03-06 16:41:53.585 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:41:53.595Z"} -{"duration":18,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:41:53.616Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:43:50.124Z"} -{"duration":94,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.222Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.257Z"} -{"duration":89,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.347Z"} -{"duration":61,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.409Z"} -{"duration":48,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.459Z"} -{"duration":39,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.499Z"} -{"duration":82,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.582Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.584Z"} -{"duration":127,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:43:50.713Z"} -{"duration":18,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.732Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.736Z"} -{"duration":85,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:43:50.822Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.824Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.825Z"} -{"duration":59,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:43:50.885Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.887Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.888Z"} -{"duration":44,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:43:50.933Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.935Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.936Z"} -{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:43:50.982Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.985Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:50.986Z"} -{"duration":20,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:43:51.007Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:43:51.009Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:43:51.010Z"} -{"duration":52,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:43:51.063Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:43:51.065Z"} -{"duration":157,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:43:51.297Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-06T16:43:51.301Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:44:15.761Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.799Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.813Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.849Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.873Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.897Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.921Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.952Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:15.955Z"} -{"duration":44,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.003Z"} -{"duration":18,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.022Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.026Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.055Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.058Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.059Z"} -{"duration":41,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.102Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.104Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.105Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.135Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.137Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.137Z"} -{"duration":54,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.192Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.196Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.197Z"} -{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.215Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.217Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.219Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.246Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.248Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:44:16.250Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.276Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.290Z"} -{"duration":51,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.342Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.367Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.392Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.416Z"} -{"duration":30,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.446Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.447Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.477Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.480Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.481Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.508Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.510Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.511Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.538Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.539Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.540Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.569Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.572Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.573Z"} -{"duration":54,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.628Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.631Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.633Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.647Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.650Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.651Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.678Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.680Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:44:16.682 +00:00','2018-03-06 16:44:16.682 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.695Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:44:16.697Z"} -{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.725Z"} -{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.740Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.778Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.803Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.829Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.853Z"} -{"duration":51,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.905Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.907Z"} -{"duration":51,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.959Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.962Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.963Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:16.992Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.994Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:16.994Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:17.025Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.027Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.027Z"} -{"duration":89,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:17.117Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.119Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.120Z"} -{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:17.160Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.164Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.165Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:17.180Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.182Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.184Z"} -{"duration":33,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:44:17.218Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.220Z"} -{"duration":7,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:44:17.221 +00:00','2018-03-06 16:44:17.221 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:44:17.229Z"} -{"duration":30,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-06T16:44:17.299Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-06T16:45:21.930Z"} -{"duration":38,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:21.971Z"} -{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:21.999Z"} -{"duration":37,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.038Z"} -{"duration":33,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.072Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.097Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.122Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.153Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.155Z"} -{"duration":51,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:45:22.210Z"} -{"duration":22,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.233Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.236Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-06T16:45:22.263Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.266Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.267Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-06T16:45:22.296Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.298Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.300Z"} -{"duration":49,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-06T16:45:22.350Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.353Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.354Z"} -{"duration":37,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-06T16:45:22.392Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.395Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.397Z"} -{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-06T16:45:22.415Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.417Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.418Z"} -{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-06T16:45:22.450Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.452Z"} -{"duration":9,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-06 16:45:22.454 +00:00','2018-03-06 16:45:22.454 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-06T16:45:22.468Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:16:10.668Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.690Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.696Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.705Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.714Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.722Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.748Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.758Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.763Z"} -{"duration":30,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:10.800Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.807Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.819Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:10.830Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.833Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.835Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:10.846Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.849Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.851Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:10.862Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.878Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.879Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:10.908Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.912Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.915Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:10.923Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.926Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.928Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:10.939Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:10.942Z"} -{"duration":15,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:16:11.014Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:16:11.017Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.065Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.072Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.083Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.091Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.100Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.108Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.118Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.121Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.134Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.143Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.146Z"} -{"duration":55,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.204Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.209Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.212Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.226Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.229Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.232Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.245Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.248Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.250Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.266Z"} -{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.271Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.273Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.282Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.284Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.286Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.317Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.321Z"} -{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:16:11.326 +00:00','2018-03-07 00:16:11.326 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.338Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:16:11.351Z"} -{"duration":16,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.360Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.365Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.375Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.383Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.392Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.400Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.410Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.412Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.426Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.431Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.434Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.446Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.448Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.450Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.461Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.465Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.467Z"} -{"duration":31,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.500Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.507Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.509Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.526Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.530Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.532Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.540Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.543Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.545Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:16:11.556Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.560Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:16:11.561 +00:00','2018-03-07 00:16:11.561 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:16:11.567Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:16:11.578Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:22:58.438Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.456Z"} -{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.461Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.472Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.479Z"} -{"duration":27,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.507Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.514Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.523Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.528Z"} -{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.571Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.577Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.584Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.594Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.596Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.598Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.610Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.613Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.615Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.645Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.648Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.651Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.666Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.670Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.672Z"} -{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.680Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.683Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.684Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.695Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.698Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:22:58.773Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:22:58.776Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.811Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.817Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.827Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.833Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.841Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.849Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.857Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.858Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.868Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.874Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.876Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.887Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.890Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.891Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.902Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.905Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.908Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.923Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.927Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.929Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.958Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.961Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.963Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.970Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.972Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.973Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:58.982Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:58.985Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:22:58.988 +00:00','2018-03-07 00:22:58.988 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.000Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:22:59.012Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.019Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.024Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.031Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.037Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.043Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.048Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.055Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.057Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:59.067Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.071Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.076Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:59.103Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.106Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.109Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:59.120Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.122Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.124Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:59.134Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.137Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.139Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:59.151Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.155Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.157Z"} -{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:59.165Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.168Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.169Z"} -{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:22:59.194Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.198Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:22:59.199 +00:00','2018-03-07 00:22:59.199 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:22:59.205Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:22:59.215Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:24:34.215Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.236Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.242Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.254Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.264Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.272Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.281Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.291Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.297Z"} -{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.335Z"} -{"duration":10,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.347Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.356Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.367Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.370Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.372Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.386Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.390Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.392Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.404Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.408Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.411Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.428Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.433Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.435Z"} -{"duration":20,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.457Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.462Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.464Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.479Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.484Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:24:34.557Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:24:34.561Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.594Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.600Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.607Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.615Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.622Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.629Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.638Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.641Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.655Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.665Z"} -{"duration":2,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.669Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.683Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.688Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.690Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.718Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.722Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.725Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.739Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.743Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.744Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.760Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.764Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.767Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.776Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.779Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.781Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.795Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.798Z"} -{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:24:34.803 +00:00','2018-03-07 00:24:34.803 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.815Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:24:34.828Z"} -{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.837Z"} -{"duration":20,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.858Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.868Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.876Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.885Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.893Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.902Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.905Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.920Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.925Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.928Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.940Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.944Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.946Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.959Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.962Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.964Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:34.976Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.980Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:34.982Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:35.012Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:35.016Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:35.019Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:35.028Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:35.031Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:24:35.032Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:24:35.045Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:24:35.048Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:24:35.049 +00:00','2018-03-07 00:24:35.049 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:24:35.055Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:24:35.066Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:25:16.451Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.471Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.478Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.488Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.496Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.504Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.511Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.521Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.527Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.548Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.556Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.562Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.573Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.575Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.578Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.590Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.593Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.595Z"} -{"duration":20,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.617Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.620Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.623Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.639Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.642Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.645Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.653Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.656Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.657Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.668Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.671Z"} -{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:25:16.745Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:25:16.748Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.773Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.780Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.790Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.799Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.808Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.816Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.826Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.828Z"} -{"duration":21,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.852Z"} -{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.862Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.865Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.880Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.884Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.887Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.900Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.904Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.907Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.922Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.926Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.928Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.944Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.949Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.951Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.960Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.964Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:16.966Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:16.995Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.000Z"} -{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:25:17.006 +00:00','2018-03-07 00:25:17.006 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.017Z"} -{"duration":20,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:25:17.043Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.045Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.057Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.067Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.075Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.083Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.091Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.100Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.103Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:17.116Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.121Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.124Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:17.135Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.138Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.140Z"} -{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:17.165Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.168Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.170Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:17.183Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.189Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.192Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:17.207Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.210Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.212Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:17.220Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.223Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.225Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:17.237Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.240Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:25:17.242 +00:00','2018-03-07 00:25:17.242 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:25:17.248Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:25:17.260Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:25:34.455Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.475Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.481Z"} -{"duration":76,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.558Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.566Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.574Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.582Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.592Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.597Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.619Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.626Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.632Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.643Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.646Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.648Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.659Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.662Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.664Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.674Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.677Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.678Z"} -{"duration":44,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.725Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.728Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.730Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.739Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.741Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.743Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.754Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.757Z"} -{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:25:34.832Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:25:34.836Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.859Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.867Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.878Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.886Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.895Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.903Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.914Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.917Z"} -{"duration":20,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.940Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.950Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.954Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:34.968Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.986Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:34.988Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.000Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.003Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.005Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.018Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.022Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.024Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.041Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.046Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.049Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.058Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.060Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.062Z"} -{"duration":18,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.081Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.085Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:25:35.090 +00:00','2018-03-07 00:25:35.090 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.104Z"} -{"duration":9,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:25:35.118Z"} -{"duration":17,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.127Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.133Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.144Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.152Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.161Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.168Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.178Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.181Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.194Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.198Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.200Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.212Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.216Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.218Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.232Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.235Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.238Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.250Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.256Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.258Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.274Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.279Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.282Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.292Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.295Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.297Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:25:35.309Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.313Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:25:35.314 +00:00','2018-03-07 00:25:35.314 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:25:35.320Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:25:35.332Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:26:27.733Z"} -{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.754Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.760Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.770Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.778Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.786Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.794Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.804Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.809Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:27.830Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.837Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.844Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:27.854Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.857Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.859Z"} -{"duration":21,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:27.882Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.885Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.887Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:27.899Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.901Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.903Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:27.919Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.923Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.926Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:27.934Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.936Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.938Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:27.948Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:27.951Z"} -{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:26:28.025Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:26:28.029Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.057Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.065Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.075Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.084Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.093Z"} -{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.109Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.120Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.123Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.136Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.146Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.149Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.163Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.167Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.170Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.182Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.185Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.187Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.201Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.204Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.206Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.222Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.226Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.229Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.239Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.243Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.245Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.258Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.261Z"} -{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:26:28.266 +00:00','2018-03-07 00:26:28.266 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.278Z"} -{"duration":9,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:26:28.292Z"} -{"duration":16,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.300Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.306Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.316Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.324Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.332Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.340Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.350Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.352Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.366Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.383Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.385Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.397Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.400Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.402Z"} -{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.419Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.422Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.424Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.437Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.445Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.447Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.462Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.466Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.468Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.476Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.481Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.483Z"} -{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:26:28.508Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.512Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:26:28.513 +00:00','2018-03-07 00:26:28.513 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:26:28.520Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:26:28.535Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:28:52.159Z"} -{"duration":17,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.185Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.191Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.201Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.208Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.216Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.224Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.233Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.238Z"} -{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.268Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.275Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.281Z"} -{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.306Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.309Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.311Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.323Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.326Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.328Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.339Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.342Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.344Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.359Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.362Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.365Z"} -{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.373Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.375Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.377Z"} -{"duration":21,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.400Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.403Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:28:52.470Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:28:52.473Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.508Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.515Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.526Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.533Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.542Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.550Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.559Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.562Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.575Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.585Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.588Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.602Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.606Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.609Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.623Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.628Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.630Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.644Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.648Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.650Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.668Z"} -{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.673Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.676Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.686Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.687Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.689Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.699Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.703Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:28:52.708 +00:00','2018-03-07 00:28:52.708 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.720Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:28:52.733Z"} -{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.742Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.748Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.757Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.765Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.787Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.795Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.805Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.808Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.836Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.840Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.842Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.854Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.857Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.859Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.870Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.874Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.876Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.889Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.895Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.898Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.913Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.917Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.920Z"} -{"duration":19,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.940Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.944Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.946Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:28:52.959Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.964Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:28:52.965 +00:00','2018-03-07 00:28:52.965 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:28:52.971Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:28:52.984Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:30:50.102Z"} -{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.123Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.129Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.139Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.147Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.155Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.163Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.172Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.178Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.198Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.206Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.212Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.223Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.226Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.228Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.240Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.243Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.245Z"} -{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.269Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.272Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.275Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.291Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.294Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.296Z"} -{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.303Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.306Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.308Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.319Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.322Z"} -{"duration":12,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:30:50.402Z"} -{"duration":21,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:30:50.425Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.469Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.477Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.488Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.497Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.506Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.514Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.524Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.527Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.557Z"} -{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.567Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.570Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.586Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.590Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.592Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.606Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.609Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.611Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.624Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.629Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.631Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.648Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.653Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.657Z"} -{"duration":32,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.691Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.695Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.697Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:50.711Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.714Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:30:50.718 +00:00','2018-03-07 00:30:50.718 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:30:50.730Z"} -{"duration":1011,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.747Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.754Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.764Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.773Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.781Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.789Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.799Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.801Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:51.815Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.820Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.823Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:51.835Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.839Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.841Z"} -{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:51.861Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.865Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.868Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:51.881Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.885Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.888Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:51.904Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.909Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.912Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:51.923Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.927Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.929Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:30:51.943Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.947Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:30:51.949 +00:00','2018-03-07 00:30:51.949 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:30:51.955Z"} -{"duration":9,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:30:51.970Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:31:27.671Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.690Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.696Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.707Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.715Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.723Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.730Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.740Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.744Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:27.766Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.774Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.780Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:27.792Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.807Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.809Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:27.836Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.838Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.840Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:27.852Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.854Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.856Z"} -{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:27.875Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.879Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.881Z"} -{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:27.889Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.891Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.893Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:27.903Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:27.907Z"} -{"duration":19,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:31:27.985Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:31:27.988Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.012Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.020Z"} -{"duration":15,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.036Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.044Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.053Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.062Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.071Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.074Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.088Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.097Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.100Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.114Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.118Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.120Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.133Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.136Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.138Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.151Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.155Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.157Z"} -{"duration":21,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.181Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.186Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.189Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.200Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.203Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.205Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.217Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.220Z"} -{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:31:28.224 +00:00','2018-03-07 00:31:28.224 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.238Z"} -{"duration":9,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:31:28.252Z"} -{"duration":17,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.261Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.267Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.277Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.285Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.293Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.301Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.311Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.313Z"} -{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.339Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.343Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.346Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.360Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.364Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.366Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.379Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.382Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.384Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.396Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.402Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.404Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.420Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.424Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.427Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.435Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.441Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.443Z"} -{"duration":25,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:31:28.471Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.474Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:31:28.476 +00:00','2018-03-07 00:31:28.476 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:31:28.482Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:31:28.493Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:32:25.684Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.704Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.710Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.720Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.727Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.735Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.742Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.752Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.757Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:25.790Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.797Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.803Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:25.813Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.816Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.818Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:25.829Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.832Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.834Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:25.845Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.848Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.850Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:25.864Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.868Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.870Z"} -{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:25.878Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.881Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.883Z"} -{"duration":35,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:25.919Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:25.922Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:32:25.996Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:32:26.000Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.036Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.044Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.054Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.063Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.072Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.081Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.091Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.094Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:26.108Z"} -{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.118Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.121Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:26.136Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.140Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.142Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:26.173Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.177Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.180Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:26.195Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.198Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.199Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:26.214Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.219Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.222Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:26.231Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.234Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.236Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:26.248Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.252Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:32:26.257 +00:00','2018-03-07 00:32:26.257 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:32:26.268Z"} -{"duration":1011,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.286Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.292Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.303Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.311Z"} -{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.338Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.347Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.357Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.359Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:27.373Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.378Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.381Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:27.392Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.396Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.398Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:27.411Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.415Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.417Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:27.429Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.433Z"} -{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.437Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:27.453Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.458Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.461Z"} -{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:27.469Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.471Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.473Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:32:27.482Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.486Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:32:27.487 +00:00','2018-03-07 00:32:27.487 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:32:27.493Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:32:27.506Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:33:35.168Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.201Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.208Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.218Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.226Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.234Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.242Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.251Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.256Z"} -{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.287Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.294Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.301Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.311Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.314Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.316Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.346Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.348Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.351Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.362Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.365Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.367Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.383Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.386Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.389Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.397Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.400Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.401Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.413Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.416Z"} -{"duration":11,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:33:35.487Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:33:35.497Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.531Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.535Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.545Z"} -{"duration":16,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.562Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.570Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.578Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.587Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.590Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.604Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.607Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.610Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.621Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.623Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.625Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.636Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.639Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.641Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.653Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.656Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.657Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.672Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.676Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.678Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.686Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.689Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.690Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.701Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.704Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:33:35.709 +00:00','2018-03-07 00:33:35.709 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.721Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:33:35.732Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.743Z"} -{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.747Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.759Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.767Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.776Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.783Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.793Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.795Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.812Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.816Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.819Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.850Z"} -{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.860Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.862Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.877Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.880Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.883Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.895Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.901Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.902Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.920Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.923Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.926Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.935Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.938Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.940Z"} -{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:33:35.963Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.967Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:33:35.968 +00:00','2018-03-07 00:33:35.968 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:33:35.974Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:33:35.987Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:34:29.944Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:29.963Z"} -{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:29.969Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:29.977Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:29.983Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:29.991Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:29.997Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.005Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.009Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.028Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.036Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.042Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.052Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.055Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.057Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.074Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.077Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.079Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.089Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.092Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.094Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.108Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.111Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.113Z"} -{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.121Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.124Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.125Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.136Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.138Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:34:30.201Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:34:30.204Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.240Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.246Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.254Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.260Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.267Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.292Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.302Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.304Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.317Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.325Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.328Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.340Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.343Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.345Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.357Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.360Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.362Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.372Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.374Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.376Z"} -{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.417Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.422Z"} -{"duration":3,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.427Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.434Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.437Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.438Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.449Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.451Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:34:30.456 +00:00','2018-03-07 00:34:30.456 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.471Z"} -{"duration":139,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:34:30.616Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.627Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.633Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.640Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.647Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.653Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.660Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.667Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.671Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.682Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.684Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.686Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.697Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.700Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.702Z"} -{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.728Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.733Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.735Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.744Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.747Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.748Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.760Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.763Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.765Z"} -{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.772Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.774Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.776Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:34:30.786Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.789Z"} -{"duration":2,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:34:30.790 +00:00','2018-03-07 00:34:30.790 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:34:30.795Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:34:30.808Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:35:31.714Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.733Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.739Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.749Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.756Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.764Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.771Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.780Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.786Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:31.807Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.815Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.821Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:31.832Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.835Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.837Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:31.867Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.870Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.872Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:31.884Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.887Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.889Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:31.905Z"} -{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.910Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.913Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:31.923Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.925Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.927Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:31.938Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:31.940Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:35:32.016Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:35:32.019Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.056Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.064Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.075Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.084Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.093Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.100Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.110Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.113Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:32.126Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.135Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.136Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:32.149Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.152Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.155Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:32.167Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.171Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.173Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:32.188Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.191Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.194Z"} -{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:32.218Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.223Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.226Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:32.236Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.239Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.241Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:32.254Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.258Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:35:32.263 +00:00','2018-03-07 00:35:32.263 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:35:32.275Z"} -{"duration":1011,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.293Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.299Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.310Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.318Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.327Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.334Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.345Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.347Z"} -{"duration":20,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:33.370Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.375Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.377Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:33.388Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.392Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.394Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:33.407Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.411Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.413Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:33.426Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.430Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.432Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:33.448Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.452Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.455Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:33.464Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.468Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.470Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:35:33.498Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.502Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:35:33.503 +00:00','2018-03-07 00:35:33.503 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:35:33.510Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:35:33.523Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:37:30.257Z"} -{"duration":13,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.279Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.285Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.295Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.303Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.311Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.319Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.329Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.334Z"} -{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.365Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.372Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.379Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.389Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.392Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.394Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.407Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.411Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.413Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.424Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.426Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.429Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.444Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.448Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.450Z"} -{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.470Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.473Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.475Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.488Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.491Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:37:30.567Z"} -{"duration":10,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:37:30.578Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.601Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.609Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.619Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.627Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.636Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.644Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.654Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.657Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.671Z"} -{"duration":9,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.681Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.684Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.698Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.702Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.705Z"} -{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.725Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.730Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.732Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.746Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.749Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.751Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.766Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.771Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.774Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.783Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.785Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.786Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.797Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.800Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:37:30.805 +00:00','2018-03-07 00:37:30.805 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.817Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:37:30.831Z"} -{"duration":17,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.841Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.847Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.857Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.865Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.873Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.881Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.891Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.894Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.908Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.912Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.918Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.929Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.932Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.934Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.945Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.948Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.950Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.962Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.966Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:30.969Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:30.999Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:31.004Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:31.007Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:31.018Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:31.020Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:37:31.022Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:37:31.034Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:37:31.037Z"} -{"duration":2,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:37:31.038 +00:00','2018-03-07 00:37:31.038 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:37:31.044Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:37:31.056Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:38:20.845Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.864Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.871Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.881Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.888Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.897Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.905Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.915Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.920Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:20.954Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.961Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.968Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:20.978Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.981Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:20.983Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.012Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.014Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.017Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.028Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.030Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.033Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.048Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.052Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.054Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.063Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.065Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.066Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.077Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.079Z"} -{"duration":16,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:38:21.161Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:38:21.164Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.187Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.195Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.206Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.214Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.223Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.231Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.255Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.258Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.272Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.282Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.285Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.299Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.303Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.306Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.318Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.322Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.324Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.338Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.342Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.344Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.360Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.365Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.367Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.384Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.387Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.390Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.403Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.407Z"} -{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:38:21.412 +00:00','2018-03-07 00:38:21.412 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.427Z"} -{"duration":9,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:38:21.441Z"} -{"duration":18,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.451Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.457Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.467Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.475Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.484Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.491Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.501Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.504Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.517Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.521Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.524Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.554Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.558Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.561Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.574Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.577Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.579Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.591Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.597Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.599Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.614Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.618Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.621Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.630Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.633Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.635Z"} -{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:21.660Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.663Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:38:21.665 +00:00','2018-03-07 00:38:21.665 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:38:21.671Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:38:21.682Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:38:48.294Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.314Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.322Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.332Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.340Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.348Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.355Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.365Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.370Z"} -{"duration":15,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.392Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.399Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.408Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.421Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.424Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.426Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.438Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.441Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.443Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.471Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.474Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.476Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.492Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.496Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.499Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.507Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.509Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.522Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.533Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.536Z"} -{"duration":16,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T00:38:48.606Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:38:48.609Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.634Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.642Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.652Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.660Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.669Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.677Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.688Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.691Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.705Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.715Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.718Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.731Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.735Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.738Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.751Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.754Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.756Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.769Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.772Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.774Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.789Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.794Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.800Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.808Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.810Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.812Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.823Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.827Z"} -{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:38:48.831 +00:00','2018-03-07 00:38:48.831 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.843Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:38:48.857Z"} -{"duration":17,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.866Z"} -{"duration":5,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.872Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.882Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.890Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.899Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.907Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.917Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.920Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.934Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.938Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.941Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.952Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.955Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.957Z"} -{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:48.981Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.985Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:48.987Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:49.000Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.004Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.006Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:49.022Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.026Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.029Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:49.038Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.041Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.043Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:38:49.054Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.058Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:38:49.059 +00:00','2018-03-07 00:38:49.059 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:38:49.066Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:38:49.078Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:40:24.673Z"} -{"duration":11,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.693Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.698Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.708Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.715Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.723Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.730Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.739Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.744Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:24.765Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.772Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.779Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:24.789Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.792Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.794Z"} -{"duration":24,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:24.820Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.823Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.825Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:24.837Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.840Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.842Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:24.858Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.862Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.864Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:24.873Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.875Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.877Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:24.887Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.890Z"} -{"duration":5,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:40:24.895 +00:00','2018-03-07 00:40:24.895 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:40:24.913Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:40:24.989Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:40:39.179Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.197Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.203Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.213Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.237Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.246Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.253Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.263Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.268Z"} -{"duration":16,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:39.292Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.299Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.306Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:39.316Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.319Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.321Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:39.332Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.334Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.336Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:39.347Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.350Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.352Z"} -{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:39.388Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.392Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.394Z"} -{"duration":7,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:39.404Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.408Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.410Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:40:39.422Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.424Z"} -{"duration":4,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:40:39.430 +00:00','2018-03-07 00:40:39.430 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:40:39.444Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T00:46:25.126Z"} -{"duration":22,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.157Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.163Z"} -{"duration":9,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.173Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.181Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.189Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.196Z"} -{"duration":8,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.205Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.210Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.246Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.254Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.261Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.273Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.276Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.278Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.289Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.292Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.294Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.306Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.309Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.311Z"} -{"duration":13,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.327Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.330Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.333Z"} -{"duration":6,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.341Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.343Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.345Z"} -{"duration":10,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.357Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.359Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.369Z"} -{"duration":4,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.374Z"} -{"duration":10,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.385Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.392Z"} -{"duration":6,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.400Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.409Z"} -{"duration":7,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.418Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.421Z"} -{"duration":11,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.435Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.438Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.440Z"} -{"duration":8,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.451Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.453Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.455Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.485Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.488Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.490Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.503Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.506Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.508Z"} -{"duration":12,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.522Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.525Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.528Z"} -{"duration":5,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.535Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.538Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.539Z"} -{"duration":9,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T00:46:25.550Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.553Z"} -{"duration":3,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 00:46:25.558 +00:00','2018-03-07 00:46:25.558 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T00:46:25.571Z"} -{"duration":7,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T00:46:25.627Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:25.673Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:25.674Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\";","label":"Query Logs","timestamp":"2018-03-07T00:46:25.681Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:27.702Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:27.704Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:27.710Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:27.712Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:33.777Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:33.779Z"} -{"duration":4,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\";","label":"Query Logs","timestamp":"2018-03-07T00:46:33.788Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:35.838Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:35.840Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:35.848Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:35.851Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:41.893Z"} -{"duration":0,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:41.894Z"} -{"duration":6,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\";","label":"Query Logs","timestamp":"2018-03-07T00:46:41.905Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:43.919Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:43.921Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:43.926Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:43.928Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:49.966Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateUsers\", \"canDeleteUsers\", \"canEditUsers\", \"canCreateProjects\", \"canDeleteProjects\", \"canEditProjects\", \"isInternal\", \"description\" FROM \"UserGroup\" AS \"UserGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:49.968Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\";","label":"Query Logs","timestamp":"2018-03-07T00:46:49.975Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:51.994Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"id\", \"name\", \"canCreateFiles\", \"canDeleteFiles\", \"canViewFiles\", \"canAddUsers\", \"canRemoveUsers\", \"canEditUserPermissions\", \"description\", \"isInternal\" FROM \"ContributorGroup\" AS \"ContributorGroup\";","label":"Query Logs","timestamp":"2018-03-07T00:46:51.996Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:52.000Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT \"Project\".\"name\", \"Project\".\"rootFolderId\", \"Project\".\"creationDate\", \"Project\".\"lastActivity\", \"contributors\".\"username\" AS \"contributors.username\", \"contributors\".\"passwordInternal\" AS \"contributors.passwordInternal\", \"contributors\".\"creationDate\" AS \"contributors.creationDate\", \"contributors\".\"updatedAt\" AS \"contributors.updatedAt\", \"contributors->UserJoinsProject\".\"username\" AS \"contributors.UserJoinsProject.username\", \"contributors->UserJoinsProject\".\"projectName\" AS \"contributors.UserJoinsProject.projectName\", \"contributors->UserJoinsProject\".\"joinDate\" AS \"contributors.UserJoinsProject.joinDate\", \"contributors->UserJoinsProject\".\"contributorGroupId\" AS \"contributors.UserJoinsProject.contributorGroupId\", \"contributors->UserJoinsProject\".\"updatedAt\" AS \"contributors.UserJoinsProject.updatedAt\" FROM \"Project\" AS \"Project\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"contributors->UserJoinsProject\" INNER JOIN \"User\" AS \"contributors\" ON \"contributors\".\"username\" = \"contributors->UserJoinsProject\".\"username\") ON \"Project\".\"name\" = \"contributors->UserJoinsProject\".\"projectName\";","label":"Query Logs","timestamp":"2018-03-07T00:46:52.003Z"} -{"duration":8,"level":"info","message":"Executed (default): SELECT 1+1 AS result","label":"Query Logs","timestamp":"2018-03-07T11:31:18.578Z"} -{"duration":167,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.752Z"} -{"duration":14,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.770Z"} -{"duration":54,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.826Z"} -{"duration":32,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.860Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.882Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.906Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.936Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:18.940Z"} -{"duration":205,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.152Z"} -{"duration":61,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.214Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.224Z"} -{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.249Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.252Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.254Z"} -{"duration":48,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.303Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.307Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.310Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.340Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.344Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.346Z"} -{"duration":40,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.388Z"} -{"duration":5,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.395Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.398Z"} -{"duration":14,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.414Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.415Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.416Z"} -{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.453Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.455Z"} -{"duration":31,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'invalid';","label":"Query Logs","timestamp":"2018-03-07T11:31:19.602Z"} -{"duration":9,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T11:31:19.608Z"} -{"duration":36,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.639Z"} -{"duration":26,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.667Z"} -{"duration":35,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.703Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.726Z"} -{"duration":24,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.751Z"} -{"duration":20,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.773Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.804Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.807Z"} -{"duration":43,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.853Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.857Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.860Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.890Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.894Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.897Z"} -{"duration":39,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.938Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.943Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.946Z"} -{"duration":38,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:19.988Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.991Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:19.992Z"} -{"duration":45,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.040Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.045Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.047Z"} -{"duration":17,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.067Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.070Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.072Z"} -{"duration":29,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.103Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.106Z"} -{"duration":11,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 11:31:20.110 +00:00','2018-03-07 11:31:20.110 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.128Z"} -{"duration":15,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T11:31:20.148Z"} -{"duration":34,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.168Z"} -{"duration":12,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.181Z"} -{"duration":29,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.211Z"} -{"duration":21,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.235Z"} -{"duration":25,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.261Z"} -{"duration":23,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.286Z"} -{"duration":31,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.319Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"ContributorGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.322Z"} -{"duration":36,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"ContributorGroup\" (\"id\" SERIAL , \"name\" TEXT, \"canCreateFiles\" BOOLEAN, \"canDeleteFiles\" BOOLEAN, \"canViewFiles\" BOOLEAN, \"canAddUsers\" BOOLEAN, \"canRemoveUsers\" BOOLEAN, \"canEditUserPermissions\" BOOLEAN, \"description\" TEXT, \"isInternal\" BOOLEAN, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.361Z"} -{"duration":2,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'ContributorGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.364Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"User\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.366Z"} -{"duration":26,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"User\" (\"username\" VARCHAR(255) , \"passwordInternal\" VARCHAR(255), \"creationDate\" TIMESTAMP WITH TIME ZONE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY (\"username\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.393Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'User' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.397Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"File\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.399Z"} -{"duration":27,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"File\" (\"name\" VARCHAR(255), \"uuid\" VARCHAR(255) , \"mimetype\" VARCHAR(255), \"parentFolderId\" TEXT REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creatorName\" TEXT REFERENCES \"User\" (\"username\") ON DELETE SET NULL ON UPDATE CASCADE, \"uploadDate\" TIMESTAMP WITH TIME ZONE, \"modifyDate\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"uuid\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.428Z"} -{"duration":4,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'File' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.433Z"} -{"duration":1,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"Project\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.435Z"} -{"duration":22,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"Project\" (\"name\" VARCHAR(255) , \"rootFolderId\" VARCHAR(255) REFERENCES \"File\" (\"uuid\") ON DELETE SET NULL ON UPDATE CASCADE, \"creationDate\" TIMESTAMP WITH TIME ZONE, \"lastActivity\" TIMESTAMP WITH TIME ZONE, PRIMARY KEY (\"name\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.459Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'Project' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.461Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserGroup\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.462Z"} -{"duration":34,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserGroup\" (\"id\" SERIAL , \"name\" TEXT UNIQUE, \"canCreateUsers\" BOOLEAN, \"canDeleteUsers\" BOOLEAN, \"canEditUsers\" BOOLEAN, \"canCreateProjects\" BOOLEAN, \"canDeleteProjects\" BOOLEAN, \"canEditProjects\" BOOLEAN, \"isInternal\" BOOLEAN, \"description\" TEXT, PRIMARY KEY (\"id\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.498Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserGroup' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.502Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserHasPrivilege\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.504Z"} -{"duration":28,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserHasPrivilege\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"privilegeId\" INTEGER REFERENCES \"UserGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, UNIQUE (\"username\", \"privilegeId\"), PRIMARY KEY (\"username\",\"privilegeId\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.534Z"} -{"duration":3,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserHasPrivilege' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.538Z"} -{"duration":0,"level":"info","message":"Executed (default): DROP TABLE IF EXISTS \"UserJoinsProject\" CASCADE;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.541Z"} -{"duration":23,"level":"info","message":"Executed (default): CREATE TABLE IF NOT EXISTS \"UserJoinsProject\" (\"username\" VARCHAR(255) REFERENCES \"User\" (\"username\") ON DELETE CASCADE ON UPDATE CASCADE, \"projectName\" VARCHAR(255) REFERENCES \"Project\" (\"name\") ON DELETE CASCADE ON UPDATE CASCADE, \"joinDate\" TIMESTAMP WITH TIME ZONE, \"contributorGroupId\" INTEGER REFERENCES \"ContributorGroup\" (\"id\") ON DELETE CASCADE ON UPDATE CASCADE, \"updatedAt\" TIMESTAMP WITH TIME ZONE NOT NULL, UNIQUE (\"username\", \"projectName\"), PRIMARY KEY (\"username\",\"projectName\"));","label":"Query Logs","timestamp":"2018-03-07T11:31:20.567Z"} -{"duration":1,"level":"info","message":"Executed (default): SELECT i.relname AS name, ix.indisprimary AS primary, ix.indisunique AS unique, ix.indkey AS indkey, array_agg(a.attnum) as column_indexes, array_agg(a.attname) AS column_names, pg_get_indexdef(ix.indexrelid) AS definition FROM pg_class t, pg_class i, pg_index ix, pg_attribute a WHERE t.oid = ix.indrelid AND i.oid = ix.indexrelid AND a.attrelid = t.oid AND t.relkind = 'r' and t.relname = 'UserJoinsProject' GROUP BY i.relname, ix.indexrelid, ix.indisprimary, ix.indisunique, ix.indkey ORDER BY i.relname;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.569Z"} -{"duration":6,"level":"info","message":"Executed (default): INSERT INTO \"User\" (\"username\",\"creationDate\",\"updatedAt\") VALUES ('bobby','2018-03-07 11:31:20.569 +00:00','2018-03-07 11:31:20.569 +00:00') RETURNING *;","label":"Query Logs","timestamp":"2018-03-07T11:31:20.578Z"} -{"duration":12,"level":"info","message":"Executed (default): SELECT \"User\".\"username\", \"User\".\"passwordInternal\", \"User\".\"creationDate\", \"User\".\"updatedAt\", \"userGroups\".\"id\" AS \"userGroups.id\", \"userGroups\".\"name\" AS \"userGroups.name\", \"userGroups\".\"canCreateUsers\" AS \"userGroups.canCreateUsers\", \"userGroups\".\"canDeleteUsers\" AS \"userGroups.canDeleteUsers\", \"userGroups\".\"canEditUsers\" AS \"userGroups.canEditUsers\", \"userGroups\".\"canCreateProjects\" AS \"userGroups.canCreateProjects\", \"userGroups\".\"canDeleteProjects\" AS \"userGroups.canDeleteProjects\", \"userGroups\".\"canEditProjects\" AS \"userGroups.canEditProjects\", \"userGroups\".\"isInternal\" AS \"userGroups.isInternal\", \"userGroups\".\"description\" AS \"userGroups.description\", \"userGroups->UserHasPrivilege\".\"username\" AS \"userGroups.UserHasPrivilege.username\", \"userGroups->UserHasPrivilege\".\"privilegeId\" AS \"userGroups.UserHasPrivilege.privilegeId\", \"projects\".\"name\" AS \"projects.name\", \"projects\".\"rootFolderId\" AS \"projects.rootFolderId\", \"projects\".\"creationDate\" AS \"projects.creationDate\", \"projects\".\"lastActivity\" AS \"projects.lastActivity\", \"projects->UserJoinsProject\".\"username\" AS \"projects.UserJoinsProject.username\", \"projects->UserJoinsProject\".\"projectName\" AS \"projects.UserJoinsProject.projectName\", \"projects->UserJoinsProject\".\"joinDate\" AS \"projects.UserJoinsProject.joinDate\", \"projects->UserJoinsProject\".\"contributorGroupId\" AS \"projects.UserJoinsProject.contributorGroupId\", \"projects->UserJoinsProject\".\"updatedAt\" AS \"projects.UserJoinsProject.updatedAt\" FROM \"User\" AS \"User\" LEFT OUTER JOIN ( \"UserHasPrivilege\" AS \"userGroups->UserHasPrivilege\" INNER JOIN \"UserGroup\" AS \"userGroups\" ON \"userGroups\".\"id\" = \"userGroups->UserHasPrivilege\".\"privilegeId\") ON \"User\".\"username\" = \"userGroups->UserHasPrivilege\".\"username\" LEFT OUTER JOIN ( \"UserJoinsProject\" AS \"projects->UserJoinsProject\" INNER JOIN \"Project\" AS \"projects\" ON \"projects\".\"name\" = \"projects->UserJoinsProject\".\"projectName\") ON \"User\".\"username\" = \"projects->UserJoinsProject\".\"username\" WHERE \"User\".\"username\" = 'bobby';","label":"Query Logs","timestamp":"2018-03-07T11:31:20.596Z"} -- cgit v1.2.1 From de39907e9a5e47998f429743855cdfd3d3ec8d97 Mon Sep 17 00:00:00 2001 From: jw255 Date: Wed, 7 Mar 2018 16:24:43 +0000 Subject: scrum report & added sth everywhere --- Report/appendix/minutes.tex | 75 +++++++++++++++++++++++++++++++++++++++++ Report/appendix/scrumboard.tex | 8 +++++ Report/graphics/scrum.jpg | Bin 0 -> 1829499 bytes Report/graphics/scrum2.jpg | Bin 0 -> 1746169 bytes Report/graphics/scrum3.jpg | Bin 0 -> 1830134 bytes Report/graphics/scrum4.jpg | Bin 0 -> 164302 bytes Report/graphics/scrum5.jpg | Bin 0 -> 152855 bytes Report/preamble.tex | 3 ++ Report/texts/conclusion.tex | 3 +- Report/texts/scrum.tex | 10 +++--- Report/texts/testing.tex | 2 +- 11 files changed, 94 insertions(+), 7 deletions(-) create mode 100644 Report/appendix/minutes.tex create mode 100644 Report/appendix/scrumboard.tex create mode 100644 Report/graphics/scrum.jpg create mode 100644 Report/graphics/scrum2.jpg create mode 100644 Report/graphics/scrum3.jpg create mode 100644 Report/graphics/scrum4.jpg create mode 100644 Report/graphics/scrum5.jpg diff --git a/Report/appendix/minutes.tex b/Report/appendix/minutes.tex new file mode 100644 index 0000000..e1942be --- /dev/null +++ b/Report/appendix/minutes.tex @@ -0,0 +1,75 @@ + +\section{Scrum Meeting Minutes} \label{app:meet} + +\begin{lstlisting} + +Group Project Meeting 1 post submission +Date: 12/02/18 +Topics: +Reassigning scrum roles +Creating next set of tasks +Task allocation + +Outcomes: +* Scrum: + * scrum master - Hafeez + * project owner - Calum + +*Tasks: + * Implementing endpoints + * Implementing file conversions + * Improving test coverage + * Writing tests for untested sections + * Connecting all middleware + * Decide on how to deal with errors + * Organising file-system + * Creating a Linter to maintain a consistent file structure + +Group Project Meeting 2 Pre-sprint +Date 15/02/18 +Topics: +Define user stories +Task allocation + +Outcomes: +* Sprint + * Week long sprint + * Meeting set for 22/02/18 + +Group Project Meeting 3 Post-Sprint +Date 22/02/18 +Topics: +Analysis of work +Next task assignment + +Outcomes: + +Group Project Meeting 4 +Date 24/02/18 +Topics: +Sprint aims +Sprint deadline + +Outcomes: + *Decided to hold a sprint now to leave time + before next submission to finish off all leftover work + +Group Project Meeting 5 +Date 03/03/18 +Topics +Analysis of work todo after sprint +Work needed to complete before deadline + + +Outcomes: + * Finishing off of the report + *Connecting work with another HCI group + *Finish testing + + + + + + + +\end{lstlisting} diff --git a/Report/appendix/scrumboard.tex b/Report/appendix/scrumboard.tex new file mode 100644 index 0000000..e868278 --- /dev/null +++ b/Report/appendix/scrumboard.tex @@ -0,0 +1,8 @@ +\section{Scrum Board Images} \label{app:board} + +{ +\centering +\includegraphics[width=\textwidth]{graphics/scrum.jpg} +\includegraphics[width=\textwidth]{graphics/scrum3.jpg} +\includegraphics[width=\textwidth]{graphics/scrum4.jpg} +} diff --git a/Report/graphics/scrum.jpg b/Report/graphics/scrum.jpg new file mode 100644 index 0000000..4b5c911 Binary files /dev/null and b/Report/graphics/scrum.jpg differ diff --git a/Report/graphics/scrum2.jpg b/Report/graphics/scrum2.jpg new file mode 100644 index 0000000..231cf1f Binary files /dev/null and b/Report/graphics/scrum2.jpg differ diff --git a/Report/graphics/scrum3.jpg b/Report/graphics/scrum3.jpg new file mode 100644 index 0000000..012e9b3 Binary files /dev/null and b/Report/graphics/scrum3.jpg differ diff --git a/Report/graphics/scrum4.jpg b/Report/graphics/scrum4.jpg new file mode 100644 index 0000000..ab1f7a5 Binary files /dev/null and b/Report/graphics/scrum4.jpg differ diff --git a/Report/graphics/scrum5.jpg b/Report/graphics/scrum5.jpg new file mode 100644 index 0000000..e79e828 Binary files /dev/null and b/Report/graphics/scrum5.jpg differ diff --git a/Report/preamble.tex b/Report/preamble.tex index dcf579c..9d2d513 100644 --- a/Report/preamble.tex +++ b/Report/preamble.tex @@ -9,3 +9,6 @@ \usepackage{float} \usepackage{listings} \usepackage{cite} + +\newcommand{\shellcmd}[1]{\\\indent\indent\texttt{\footnotesize\# #1}\\} + diff --git a/Report/texts/conclusion.tex b/Report/texts/conclusion.tex index f0cc6c6..8d49366 100644 --- a/Report/texts/conclusion.tex +++ b/Report/texts/conclusion.tex @@ -1,4 +1,5 @@ \section{Conclusion} As a group we have made a lot of progress for this submission, we were proactive in setting out goals for ourselves and feel we are now well on track to produce an outstanding final hand in. Our continued use of scrum has helped keep workload consistent and effective right through to this submission and we hope to continue in this way. Having now combined our work with the HCI group we are looking forward to working with machine learning to tie together all 3 groups to create the desired system set out by the project owner. -\subsection{Next Tasks} \ No newline at end of file +\subsection{Next Tasks} +Viewing the system as a whole, substantial progress has been made in completing each required task whilst also managing time for each task appropriately. Looking further ahead, our next objectives will surround performance enhancing, further testing and finally completing the integration process with the rest of the system. The process for these will include a large amount of analysis on the working server, which include finding delays between certain requests and responses, measuring time taken for converting files and testing for bugs after integration. Another important aspect is the security of the application, and preventing bugs from leading to exploits which can be used for malicious use. This is particularly important within the medical industry as data confidentiality and integrity are apart of practitioners' policy. One method of testing for this task would be penetration testing, using a suite of tools to attack the application, which would determine any vulnerabilities that exist. \ No newline at end of file diff --git a/Report/texts/scrum.tex b/Report/texts/scrum.tex index 7426e5b..12e0ecf 100644 --- a/Report/texts/scrum.tex +++ b/Report/texts/scrum.tex @@ -1,9 +1,9 @@ \section{Continued use of Scrum} -In general the size and the time taken of each individual task was a lot smaller when comparing to the last submission. We found using scrum extremely helped in managing this to clearly set out tasks and outline what everyone was doing. +The scrum process was continued as we found this very useful in terms of clearly setting out tasks for each member and managing the progress of the implementation. In general the size and the time taken of each individual task was a lot smaller when comparing to the last submission. \subsection{Scrum board} -We again went with using a board system to set up and allocate tasks. This gave a clear visual representation of what we wanted to achieve. With everyone now being in the same location it also made it a lot easier for everyone to set up and manage ongoing tasks. +Again, the scrum board was used to outline and track the completion of each task. This gave a clear visual representation of the objectives. With everyone now being in the same location it also made it a lot easier for everyone to set up and manage ongoing tasks. \subsection{Sprints} -Now being familiar with the scrum process we decided to reduce the length of the sprints. This was also based on the fact that the timeline of this submission was smaller so the sprint assessment process needed to be undertaken more often to make sure we were on the right track with our progress as a team. +As a team, it was decided that we would have only a single sprint, up until the next point of submission. This was because of the short time period, enough for only a two week sprint. In addition to this, the sprint assessment process was completed more often to ensure that as a team time was managed well and sufficient progress was being made. \subsection{Meetings} -As we were attempting to do shorter sprints we held more regular meet ups to discuss progress and make design decisions as a team. -The minutes for formal meetings are available in Appendix +Regular meetings were also held to discuss and evaluate progress. This was crucial in the scrum process and as working in a team to allow a point of communication between each member at the same point in time. Multiple meetings were held during the most recent sprint to determine the tasks required for completion, to evaluate whether each task was completed and track progress in between. +The minutes for formal meetings are available in the Appendix. diff --git a/Report/texts/testing.tex b/Report/texts/testing.tex index 8a17e5b..ba88162 100644 --- a/Report/texts/testing.tex +++ b/Report/texts/testing.tex @@ -12,4 +12,4 @@ E.g. \textbf{"auth.routes.test.ts"} tested the authentication middle-ware, check \subsection{Unit Testing} \shellcmd{yarn test:unit} The main motivation for this category of tests was to find bugs early on without having to run the whole server. This saves time and uncovers new code breaking old functionality. We also found that unit tests improved the design process by forcing implementation of code that is testable. Furthermore, unit tests were often used as a form of documentation, as it aided in understanding how code of other team members worked and could be used. \par -We decided that each team-member was responsible for creating the unit tests for their code. Unfortunately the number and coverage of unit tests is still quite low. This may be the result of prioritising functionality over bug-resilience and test-driven development. +We decided that each team-member was responsible for creating the unit tests for their code. Unfortunately the number and coverage of unit tests is still quite low. This may be the result of prioritising functionality over bug-resilience and test-driven development. \ No newline at end of file -- cgit v1.2.1 From 3f36cbd27254ed4afc60205ca9d2030edf131f22 Mon Sep 17 00:00:00 2001 From: jw255 Date: Wed, 7 Mar 2018 16:42:29 +0000 Subject: fixed shellcmd --- Report/preamble.tex | 2 -- Report/texts/testing.tex | 8 ++++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Report/preamble.tex b/Report/preamble.tex index 9d2d513..b592df1 100644 --- a/Report/preamble.tex +++ b/Report/preamble.tex @@ -10,5 +10,3 @@ \usepackage{listings} \usepackage{cite} -\newcommand{\shellcmd}[1]{\\\indent\indent\texttt{\footnotesize\# #1}\\} - diff --git a/Report/texts/testing.tex b/Report/texts/testing.tex index ba88162..d5c0fc7 100644 --- a/Report/texts/testing.tex +++ b/Report/texts/testing.tex @@ -3,13 +3,13 @@ Tests do not currently run on the gitlab server, as the postgres integration wit When running integration tests locally, please make sure the postgres server is up and running on localhost. \subsection{Structure} Testing files were restructured for a more organised and professional approach. All test files end in "*.\(<\)context\(>\).test.ts" and were moved to the "test" directory. At this moment, "\(<\)context\(>\)" includes "unit" and "routes". Further, they were categorised into \textit{integration} and \textit{unit} tests and moved into corresponding sub-directories. \par -Apart from making test files easier to find, this new structure also allowed us to run specific tests independently to isolate failures and quickly rerun individual tests. For example \shellcmd{yarn test:routes:auth} runs all authentication tests. +Apart from making test files easier to find, this new structure also allowed us to run specific tests independently to isolate failures and quickly rerun individual tests. For example \texttt{yarn test:routes:auth} runs all authentication tests. \subsection{Integration Testing} -\shellcmd{yarn test:routes} +\texttt{yarn test:routes} This category of tests targeted the interplay of different server components as it tested server endpoints (routes) rather than internal functions. We aimed to test all routes for responses of success, and various degrees of failure. \par E.g. \textbf{"auth.routes.test.ts"} tested the authentication middle-ware, checking existing users could log in only with correct usernames, passwords and reauthentication tokens. During our later meetings, we realised that security is a key-component of medical systems, and requires further much more in-depth testing to guarantee safety of patient data. \par \textbf{"protocol.routes.test.ts"} aims to cover all endpoints specified in the agreed protocol by using the \textit{mocha-each} npm module. This allowed us to write few mocha testing functions iterating over the long list of endpoints, checking HTTP responses to fit the JSON response templates to conform to the protocol. This form of testing is still incomplete. \subsection{Unit Testing} -\shellcmd{yarn test:unit} +\texttt{yarn test:unit} The main motivation for this category of tests was to find bugs early on without having to run the whole server. This saves time and uncovers new code breaking old functionality. We also found that unit tests improved the design process by forcing implementation of code that is testable. Furthermore, unit tests were often used as a form of documentation, as it aided in understanding how code of other team members worked and could be used. \par -We decided that each team-member was responsible for creating the unit tests for their code. Unfortunately the number and coverage of unit tests is still quite low. This may be the result of prioritising functionality over bug-resilience and test-driven development. \ No newline at end of file +We decided that each team-member was responsible for creating the unit tests for their code. Unfortunately the number and coverage of unit tests is still quite low. This may be the result of prioritising functionality over bug-resilience and test-driven development. -- cgit v1.2.1 From 1df281c4bd4ec3b583e9914ce90361f5195dcdc2 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Wed, 7 Mar 2018 17:12:03 +0000 Subject: Add nicer title page, and improve Makefile --- Report/Makefile | 4 ++-- Report/graphics/title-logo.png | Bin 0 -> 220102 bytes Report/main.tex | 3 +++ Report/title.tex | 16 ++++++++++++++-- 4 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 Report/graphics/title-logo.png diff --git a/Report/Makefile b/Report/Makefile index 22d7496..135009b 100644 --- a/Report/Makefile +++ b/Report/Makefile @@ -1,8 +1,8 @@ -.PHONY: default clean +.PHONY: default clean FORCE default : main.pdf -%.pdf : %.tex +%.pdf : %.tex FORCE latexmk -pdf $< clean : diff --git a/Report/graphics/title-logo.png b/Report/graphics/title-logo.png new file mode 100644 index 0000000..8a72423 Binary files /dev/null and b/Report/graphics/title-logo.png differ diff --git a/Report/main.tex b/Report/main.tex index b208df0..e01bbbb 100644 --- a/Report/main.tex +++ b/Report/main.tex @@ -5,6 +5,9 @@ \begin{document} \maketitle + \thispagestyle{empty} + \newpage + \setcounter{page}{1} \input{texts/aims} \input{texts/scrum} diff --git a/Report/title.tex b/Report/title.tex index 97064ff..4406ef6 100644 --- a/Report/title.tex +++ b/Report/title.tex @@ -1,3 +1,15 @@ -\title{Report --- Juniour Honours Project Submission 2} -\author{Hafeez Abdul-Rehaman, Johannes Weck, Josh Lee, Calum Duff, Tom Harley} +\title{Report \\ Juniour Honours Project \\[0.5ex] Submission 2} +\author{Hafeez Abdul-Rehaman \\[1ex] Johannes Weck \\[1ex] Josh Lee \\[1ex] Calum Duff \\[2ex] Tom Harley} \date{\today} + +\makeatletter + \def\@maketitle{ + \begin{center} + \includegraphics[width=0.7\linewidth]{title-logo}\\[10ex] + {\huge \bfseries \@title{ }}\\[1ex] + \rule{0.5\textwidth}{.4pt}\\[1ex] + {\LARGE \@author}\\[15ex] + {\large \@date} + \end{center} + } +\makeatother -- cgit v1.2.1 From fba174b079dd012db9fdc86e07130ed34816e4c4 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Wed, 7 Mar 2018 18:16:04 +0000 Subject: Add section on typing support, and \file macro --- Report/graphics/km-dash.png | Bin 0 -> 97345 bytes Report/main.tex | 1 + Report/preamble.tex | 1 + Report/texts/process-management.tex | 2 +- Report/texts/typings.tex | 27 +++++++++++++++++++++++++++ 5 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 Report/graphics/km-dash.png create mode 100644 Report/texts/typings.tex diff --git a/Report/graphics/km-dash.png b/Report/graphics/km-dash.png new file mode 100644 index 0000000..840395d Binary files /dev/null and b/Report/graphics/km-dash.png differ diff --git a/Report/main.tex b/Report/main.tex index e01bbbb..d6be02c 100644 --- a/Report/main.tex +++ b/Report/main.tex @@ -17,6 +17,7 @@ \input{texts/logging} \input{texts/process-management} \input{texts/testing} + \input{texts/typings} \input{texts/conclusion} \clearpage diff --git a/Report/preamble.tex b/Report/preamble.tex index b592df1..14787a9 100644 --- a/Report/preamble.tex +++ b/Report/preamble.tex @@ -10,3 +10,4 @@ \usepackage{listings} \usepackage{cite} +\def\file{\texttt} diff --git a/Report/texts/process-management.tex b/Report/texts/process-management.tex index bb40faa..d99a73c 100644 --- a/Report/texts/process-management.tex +++ b/Report/texts/process-management.tex @@ -17,7 +17,7 @@ its profiling extension. \begin{figure} \centering - % \includegraphics[width=0.5\linewidth]{km-dash} + \includegraphics[width=0.95\linewidth]{km-dash} \caption{The KeyMetrics dashboard web client in use.}\label{fig:dash} \end{figure} diff --git a/Report/texts/typings.tex b/Report/texts/typings.tex new file mode 100644 index 0000000..65a0de0 --- /dev/null +++ b/Report/texts/typings.tex @@ -0,0 +1,27 @@ +\section{Type Enforcement} +In order to run JavaScript code as TypeScript code, typings (usually +supplied in a \file{.d.ts}-extended file) are applied at compile-time to +make sense of the original source's variable types. For a couple of +packages that have been used in the submission, these typings are not +available, due to a lack of desirablilty --- the packages in question are +niche and as such see little use. + +\subsection{mocha-each} +One such package is \emph{mocha-each}, a utility package for compacting +Mocha tests for readability and classification~\cite{mocha-each}. Without +typings, this package cannot be used in TypeScript projects. Due to its +single-facet use, however, it was simple to design a custom +\file{.d.ts} file. With small edits to conform to +guidelines~\cite{@types}, typings for +mocha-test were contributed to the DefinitelyTyped types repository\footnote{% +https://github.com/DefinitelyTyped/DefinitelyTyped/% +tree/master/types/mocha-each}. + +\subsection{pmx} +The package pmx (as previously described in \S\ref{sec:pmx}) is useful for +profiling. Similarly to mocha-each, however, it does not have supported typing. +Since this package covers a far wider range of functionality, and since said +functionality is very involved with sensitive run-time engine manipulation, +typings were written only for the functions being used by the team, and have +been kept in-house for their incompleteness. The files in question can be found +in \file{src/profiler}. -- cgit v1.2.1 From 14d5f07bacb0a5ab479b4ecbb60cd4be214d909c Mon Sep 17 00:00:00 2001 From: cjd24 Date: Wed, 7 Mar 2018 18:27:09 +0000 Subject: Adding my report stuff --- Report/biblio.bib | 21 ++++++++ Report/main.tex | 2 +- Report/texts/conversion.tex | 124 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 146 insertions(+), 1 deletion(-) create mode 100644 Report/texts/conversion.tex diff --git a/Report/biblio.bib b/Report/biblio.bib index 7c4d0fa..30d3994 100644 --- a/Report/biblio.bib +++ b/Report/biblio.bib @@ -159,3 +159,24 @@ publisher = {foreverjs}, note = {Accessed: 2018-03-07} } + +@misc {sharp, + howpublished = {https://github.com/lovell/sharp}, + title = {sharp}, + publisher = {Lovell Fuller}, + note = {Accessed: 2018-03-06} +} + +@misc {sharpPerformance, + howpublished = {http://sharp.pixelplumbing.com/en/stable/performance/}, + title = {Sharp Performance}, + publisher = {Lovell Fuller}, + note = {Accessed: 2018-03-06} +} + +@misc {zeissLicence, + howpublished = {https://www.zeiss.com/microscopy/int/products/microscope-software/czi/czi-download.html}, + title = {Apply for Zeiss Licence}, + publisher = {Carl Zeiss Microscopy GmbH}, + note = {Accessed: 2018-03-06} +} diff --git a/Report/main.tex b/Report/main.tex index 26c4a10..59f94aa 100644 --- a/Report/main.tex +++ b/Report/main.tex @@ -8,7 +8,7 @@ \input{texts/aims} \input{texts/scrum} - % \input{texts/file-conversions} + \input{texts/conversion} % \input{texts/protocol} % \input{texts/auth} \input{texts/logging} diff --git a/Report/texts/conversion.tex b/Report/texts/conversion.tex new file mode 100644 index 0000000..7bd2185 --- /dev/null +++ b/Report/texts/conversion.tex @@ -0,0 +1,124 @@ +\section{File Conversion} +\subsection{Intro} +One of the most key pieces of functionality for the backend groups; is to facilitate the agnosticity of the +original file format to the end user. No matter the original upload format, backend groups should all be +capable of returning files in standard file formats. +These specific ``standards'' were not hard-defined by the specification, however as part of our whole year +protocol, it was decided that JSON would be used for all kinds of file meta-information, as well as the +main structure of all responses from a backend server. PNG was decided upon as the standard file format +for all images, since it is very widely supported and has other favourable properties we would like to +take advantage of.\\ + +\subsection{Dealing with Images} +The nature of the file formats that we were expected to abstract over however turned out to be significantly +more challenging than was probably intended. The file formats of `Lecia' and `Zeiss', are widely used in the +medical field (the department we are providing this service for,) however almost nowhere else. Upon looking +into this more closely, it was found that the Zeiss file format is very proprietary and licenced.\\ +This means that in order to even gain access to simply read the documention you must fill in your details +and make an application for the documentation~\cite{zeissLicence}. Part of the agreement for this documentation is that you are +not allowed to share it with anyone else; you are allowed to write software to \emph{deconstruct} them; you +are strictly \emph{not} allowed to write any software to re-construct them.\\ +The documentation gives a description of the various "segments" of binary that can appear in the file, and +attempts to assist you in the method to read them. Given the large nature of the filesize of a Zeiss, it makes +sense for them to be designed to be `streamable', which they are - allowing you to read smaller chunks at a +time rather than loading the whole multi-gig object into memory all at once.\\ +After reading the specification in great detail, it was clear that it was extremely specialised and has +the potential to nest a variety of other file types within itself, as well as have many fields missing +- as they are optional - making it quite complex to interpret. In addition to this, the major difficulty +came from the fact that the base file is a proprietary binary file, which also contains things such as 128bit +unsigned integers. This fact, coupled with the substantial file sizes made the choice for languages to deal +with them limited to a systems programming language. Since I had most experience in `C99', then this seemed +the only realistic possibility.\\ + +\vspace{0.3cm} +\subsubsection{Extraction of Zeiss within `C'} +One \emph{major} consideration was, again - due to the sheer filesize of many of these images - we would need +to store them on the local `\verb|/cs/scratch/|' drive of the lab machines becuase they are simply too +large to store either on our host servers statically - let alone when working on extracting and expanding the +multiple gigabytes of thousands of smaller files within them.\\ With this in mind, and closely comparing the +`C' code against the rough documentation licenced to me, the structures possible within a Zeiss file were +slowly built up.\\ +Methods were written to print out the contents of various structures as progress was made, in +order to ensure that the offsets for file streaming were continually at the correct locations and the data we +were parsing out of the file was as expected. To this effect, testing of the extraction was run continually +in the standard `C' approach of a couple lines at a time before re-compilation, along with using flags such as +`\verb|--pedantic|' in order to try to catch as many errors as possible. Occassionally the program `valgrind' was also +run on this extraction code, since very significant amounts of memory are allocated and freed during the +extraction process. I am pleased to say that valgrind reports that there are no memory leaks at all - even +on the larger 12Gb .czi files.\\ + +\subsubsection{Converting extracted files} +Once the files/metadata/attatchments had been successfully extracted from the `.czi' multiple issues were +discovered. +\begin{itemize} + \item The container format for the image segments was in `JXR'. This is another completely proprietary + file format, which does not appear to be supported by anything at all, other than Microsoft's own software. + There is also extremely limited library support, especially for non-windows platforms.\\ + This was tackled by luckily coming accross a decoder for JXR's which was written in C++, and could therefore + be compiled on the destination machine. Enough of the executable is able to be compiled before any problems + occur, and this decoder can be copied into the relative path for our own C source. + \item The next issue, is a continuation from the previous one; the library for decoding JXR's is only + capable of conversion to `BMP' or `TIFF', which is not our standard format. Therefore an additional step of + converting the `JXR \verb|-->| TIFF', to `PNG' using the `imagemagick' command line tools like `convert'.\\ + This is an annoying overhead, which is unfortunately unavoidable. + \item A further issue is that, by simply extracting every image tile found within the JXR tile, we found that + there were also tiles found at non 1:1 zoom levels, which was wasteful to deal with, since we will be building + a custom hierarchy anyway. This issue was mitigated by adding some logic to only extract the tile to disk if + it was determined to have a 1:1 scaling and thus be on the base layer. + \item In a similar fashion to the previous issue, it also became apparent that there were many tiles in the + base layer which were of non-standard sizes, with some having tiny slivers as they came to edges etc.\\ The + only solution to make these tiles appear on a nice grid of base(2) sizes, was to iterate over the fragmented + canvas and stitch together the portions we want.\\ +\end{itemize} +In order to complete the conversion side of things, it seemed appropriate to move away from C programming, and +even away from the scripts that were being using to control the C, to something like Python.\\ +The thought process behind this descision is the fact that python supports multithreading - which for something +as parallel as multiple image conversions seemed extremely advantageous. The code to do this section is fairly +small, but absolutely crucial to the overall pipline of Zeiss format support.\\ + +\subsubsection{Stitching base tiles} +Once we finally had all of the base tiles in a 1:1 scale and a format that was easier to deal with, the first task +was to figure out how to build up our own grid accross the mismatch of sizes of existing base tiles.\\ +The tile dimensions decided on were 1024:1024. The reason for this, is that it is large enough to contain a +reasonable amount of information, without being so large that our server could provide or clients could load in +a timely manner.\\ +In order to do this stiching process, a descision was required as to the package to manage the image operations. +After a vast amount of searching and comparisons, the selection was made for `Sharp'~\cite{sharp}. The reason for +this, was that it appeared to be the onle single library which was capable of all of the different kinds of image +processing jobs we expected to be doing. Another key reason is the fact that it is known in advance that a very +large number of images will need to be processed here, so performance is critical. Sharp appears to perform +very significantly better than its competitors~\cite{sharpPerformance}. Finally, it has typing +support to work with our environment.\\ +With this set, high level logic was written to check various image bounds for related base tiles to a specific +region request. Regions were then selected out, sorted by x and y offsets, then relevant chunks chopped out of +them and stitched together into a coherent region of our selected size.\\ + +\subsubsection{building up hierarchy of zoom levels} +These finalised base layer tiles are written to disk in an output directory and details about their creation +are recorded in a new data structure which will map out the pyramid style hierarchy of the tiles. +(A small example of these final titles are shown on the cover page of our Report for interest as they are +legitemate generations in a format we would like.) +Now that the base layer exists, gaining the rest of the tile zoom levels, should be fairly simple - by moving +up to the next power of two (2048) and collecting 4 images together then scaling this back down to 1024 pixels. +This process can be repreated for each level of zoom we would like to come up to. This will massively speed up +the process of searching through base tiles and stitching many together if we preprocess all of the intermediate +layers. Since most of the other groups are using OpenSeaDragon which appears to request things in scales of powers +of two, then our approach should be a very fast performer with the trade off of larger up-front processing time.\\ +Indexing into this pyramid will be fast with each request too, as they will be separated by 'C' value, which is +one of the images layering options, then by zoom level. + +\subsection{Lecia \& other formats} +As Zeiss is such a difficult and mammoth file format almost all of my time was spent dealing with purely this, +and it is still not even complete yet. However having looked quickly into Lecia, there appears to be limited +library support, which may make life easier, along with the fact the internal structure appears to be simliar to +a BigTiff. More progress on this format will take place for the next deliverable.\\ +As for other image formats such as JPEG, TIFF etc. These are standard formats and so will be very trivial to +convert to our required standard of PNG so is not a significant point of progress currently. + +\subsection{Non image formats (.csv etc.)} +As for non image formats such as .csv, it is decided that the backend should only be responsible of hosting these +files, since there is no way that a backend server could possible predict what the file should be processed into. +Additionally there are also many cases where an end-user, may wish to delibaretly store something in a format +which a backend server checking legitemacy of the file would complain about incorrectly.\\ +The team hasn't really looked into things such as Excel files, however again, premptively looking - there seems to +be fairly wide library support for things like this, so it was not a major concern for this deliverable. -- cgit v1.2.1 From c73acee2fcf92af57dca8c7df40eb90fa18070b0 Mon Sep 17 00:00:00 2001 From: Hafeez Date: Wed, 7 Mar 2018 18:37:05 +0000 Subject: added burndown sub1 --- Report/Burn down Chart.xlsx | Bin 0 -> 5965 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 Report/Burn down Chart.xlsx diff --git a/Report/Burn down Chart.xlsx b/Report/Burn down Chart.xlsx new file mode 100644 index 0000000..912351d Binary files /dev/null and b/Report/Burn down Chart.xlsx differ -- cgit v1.2.1 From 9b69c811950aea8348a41083d27a6cfd723cfcc0 Mon Sep 17 00:00:00 2001 From: Hafeez Date: Wed, 7 Mar 2018 18:54:25 +0000 Subject: added things to report --- Report/main.tex | 5 ++--- Report/texts/conclusion.tex | 2 +- Report/texts/scrum.tex | 13 +++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Report/main.tex b/Report/main.tex index 3401596..8a09515 100644 --- a/Report/main.tex +++ b/Report/main.tex @@ -20,10 +20,9 @@ \input{texts/typings} \input{texts/conclusion} - \clearpage - \appendix - \input{texts/minutes} + \input{appendix/scrumboard} + \input{appendix/minutes} \clearpage diff --git a/Report/texts/conclusion.tex b/Report/texts/conclusion.tex index 8d49366..0e40979 100644 --- a/Report/texts/conclusion.tex +++ b/Report/texts/conclusion.tex @@ -1,5 +1,5 @@ \section{Conclusion} -As a group we have made a lot of progress for this submission, we were proactive in setting out goals for ourselves and feel we are now well on track to produce an outstanding final hand in. Our continued use of scrum has helped keep workload consistent and effective right through to this submission and we hope to continue in this way. Having now combined our work with the HCI group we are looking forward to working with machine learning to tie together all 3 groups to create the desired system set out by the project owner. +As a group a lot of progress was made for this submission, we were proactive in setting out goals for ourselves and feel we are now well on track to produce an outstanding final hand in. Our continued use of scrum has helped keep workload consistent and effective right through to this submission and we hope to continue in this way. Scrum is essential in our progress as it helps to manage time and organise the team work and so this process will be used for the duration of the project. Having now combined our work with the HCI group we are looking forward to working with teams focused on machine learning to tie together all 3 sections of the application to create the desired system set out by the project owner. \subsection{Next Tasks} Viewing the system as a whole, substantial progress has been made in completing each required task whilst also managing time for each task appropriately. Looking further ahead, our next objectives will surround performance enhancing, further testing and finally completing the integration process with the rest of the system. The process for these will include a large amount of analysis on the working server, which include finding delays between certain requests and responses, measuring time taken for converting files and testing for bugs after integration. Another important aspect is the security of the application, and preventing bugs from leading to exploits which can be used for malicious use. This is particularly important within the medical industry as data confidentiality and integrity are apart of practitioners' policy. One method of testing for this task would be penetration testing, using a suite of tools to attack the application, which would determine any vulnerabilities that exist. \ No newline at end of file diff --git a/Report/texts/scrum.tex b/Report/texts/scrum.tex index 12e0ecf..8a22851 100644 --- a/Report/texts/scrum.tex +++ b/Report/texts/scrum.tex @@ -1,9 +1,10 @@ \section{Continued use of Scrum} -The scrum process was continued as we found this very useful in terms of clearly setting out tasks for each member and managing the progress of the implementation. In general the size and the time taken of each individual task was a lot smaller when comparing to the last submission. -\subsection{Scrum board} -Again, the scrum board was used to outline and track the completion of each task. This gave a clear visual representation of the objectives. With everyone now being in the same location it also made it a lot easier for everyone to set up and manage ongoing tasks. +The scrum process was continued as we found this very useful in terms of clearly setting out tasks for each member and managing the progress of the implementation. One of the changes that was made for this sprint was the change in roles between team members. The change in responsibility allows team members to complete new and different jobs. In general the size and the time taken of each individual task was a lot more varied when comparing to the last submission, however, there were certain tasks which were larger in terms of hours put in. These large tasks included creating a logger system and a file converter. \subsection{Sprints} -As a team, it was decided that we would have only a single sprint, up until the next point of submission. This was because of the short time period, enough for only a two week sprint. In addition to this, the sprint assessment process was completed more often to ensure that as a team time was managed well and sufficient progress was being made. +As a team, it was decided that there would only be a single sprint, up until the next point of submission. This was because of the short time period, enough for only a two week sprint. In addition to this, the sprint assessment process was completed more often to ensure that as a team time was managed well and sufficient progress was being made. All the tasks that was set for this sprint were completed within the required time frame. +\subsection{Scrum board} +Again, the scrum board was used to outline and track the completion of each task. The same whiteboard in the John Honey main computer lab was used in order to maintain consistency. This gave a clear visual representation of the objectives. During the sprint, the main jobs required for completion were to further enhance the testing unit to increase its coverage across the implemented systems, implement a simple file converter and introduce a logging system for the server. Much experience was gained from completing previous sprints and so using this experience we were better equipped to handle larger tasks. Examples of the board in use can be found in Appendix \ref{app:board}. + \subsection{Meetings} -Regular meetings were also held to discuss and evaluate progress. This was crucial in the scrum process and as working in a team to allow a point of communication between each member at the same point in time. Multiple meetings were held during the most recent sprint to determine the tasks required for completion, to evaluate whether each task was completed and track progress in between. -The minutes for formal meetings are available in the Appendix. +Regular meetings were also held to discuss and evaluate progress. This was crucial in the scrum process and as working in a team to allow a point of communication between each member at the same point in time. An example of a major decision being made during the discussion was the change of language of the file converter implementation. It was decided that the more appropriate language to use would be C as there would more extensive libraries for this particular operation and would also have the advantage of greater efficiency. Multiple meetings were held during the most recent sprint to determine the tasks required for completion, to evaluate whether each task was completed and track progress in between. +The minutes for formal meetings are available in Appendix \ref{app:meet}. -- cgit v1.2.1 From 92b8c300d26318ffd3c1e5b195402fc9bba5832d Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Wed, 7 Mar 2018 19:06:13 +0000 Subject: Spell-check some report content --- Report/texts/conversion.tex | 175 +++++++++++++++++++++++--------------------- 1 file changed, 93 insertions(+), 82 deletions(-) diff --git a/Report/texts/conversion.tex b/Report/texts/conversion.tex index 7bd2185..b56ebf0 100644 --- a/Report/texts/conversion.tex +++ b/Report/texts/conversion.tex @@ -1,124 +1,135 @@ \section{File Conversion} -\subsection{Intro} -One of the most key pieces of functionality for the backend groups; is to facilitate the agnosticity of the -original file format to the end user. No matter the original upload format, backend groups should all be +One of the most key pieces of functionality for the backend groups is the facilitation of the agnosticity of +original file formats to the end user. No matter the original upload format, backend groups should all be capable of returning files in standard file formats. These specific ``standards'' were not hard-defined by the specification, however as part of our whole year -protocol, it was decided that JSON would be used for all kinds of file meta-information, as well as the -main structure of all responses from a backend server. PNG was decided upon as the standard file format +protocol, it was decided that \emph{JSON} would be used for file meta-information, as well as the +main structure of all responses from a backend server. \emph{PNG} was decided upon as the standard file format for all images, since it is very widely supported and has other favourable properties we would like to -take advantage of.\\ +take advantage of. \subsection{Dealing with Images} The nature of the file formats that we were expected to abstract over however turned out to be significantly -more challenging than was probably intended. The file formats of `Lecia' and `Zeiss', are widely used in the -medical field (the department we are providing this service for,) however almost nowhere else. Upon looking -into this more closely, it was found that the Zeiss file format is very proprietary and licenced.\\ -This means that in order to even gain access to simply read the documention you must fill in your details +more challenging than was initially perceived. The file formats of `Leica' and `Zeiss' are widely used in the +medical field (the department we are providing this service for), however almost nowhere else. Upon looking +into this more closely, it was found that the Zeiss file format is very proprietary and licensed. + +This means that in order to even gain access to simply read the documentation you must fill in your details and make an application for the documentation~\cite{zeissLicence}. Part of the agreement for this documentation is that you are not allowed to share it with anyone else; you are allowed to write software to \emph{deconstruct} them; you -are strictly \emph{not} allowed to write any software to re-construct them.\\ -The documentation gives a description of the various "segments" of binary that can appear in the file, and -attempts to assist you in the method to read them. Given the large nature of the filesize of a Zeiss, it makes -sense for them to be designed to be `streamable', which they are - allowing you to read smaller chunks at a -time rather than loading the whole multi-gig object into memory all at once.\\ +are strictly \emph{not} allowed to write any software to construct them. + +The documentation gives a description of the various ``segments'' of binary that can appear in the file, and +attempts to assist you in the method to read them. Given the large nature of the file size of a Zeiss, it makes +sense for them to be designed to be `streamable', which they are --- allowing you to read smaller chunks at a +time rather than loading the whole object into memory simultaneously. + After reading the specification in great detail, it was clear that it was extremely specialised and has the potential to nest a variety of other file types within itself, as well as have many fields missing -- as they are optional - making it quite complex to interpret. In addition to this, the major difficulty +--- as they are optional --- making it quite complex to interpret. In addition to this, the major difficulty came from the fact that the base file is a proprietary binary file, which also contains things such as 128bit unsigned integers. This fact, coupled with the substantial file sizes made the choice for languages to deal with them limited to a systems programming language. Since I had most experience in `C99', then this seemed -the only realistic possibility.\\ - -\vspace{0.3cm} -\subsubsection{Extraction of Zeiss within `C'} -One \emph{major} consideration was, again - due to the sheer filesize of many of these images - we would need -to store them on the local `\verb|/cs/scratch/|' drive of the lab machines becuase they are simply too -large to store either on our host servers statically - let alone when working on extracting and expanding the -multiple gigabytes of thousands of smaller files within them.\\ With this in mind, and closely comparing the -`C' code against the rough documentation licenced to me, the structures possible within a Zeiss file were -slowly built up.\\ +the only realistic possibility. + +\subsubsection{Extraction of Zeiss Within `C'} +One major consideration was that --- due to the sheer file size of many of these images --- we would need +to store them on the local \file{/cs/scratch} drive of the lab machines: they are simply too +large to store either on our host servers statically, let alone when working on extracting and expanding the +thousands of smaller files within them. + +With this in mind, and closely comparing the +`C' code against the rough documentation licensed to me, the structures possible within a Zeiss file were +slowly built up. + Methods were written to print out the contents of various structures as progress was made, in order to ensure that the offsets for file streaming were continually at the correct locations and the data we were parsing out of the file was as expected. To this effect, testing of the extraction was run continually in the standard `C' approach of a couple lines at a time before re-compilation, along with using flags such as -`\verb|--pedantic|' in order to try to catch as many errors as possible. Occassionally the program `valgrind' was also -run on this extraction code, since very significant amounts of memory are allocated and freed during the -extraction process. I am pleased to say that valgrind reports that there are no memory leaks at all - even -on the larger 12Gb .czi files.\\ +`\verb|--pedantic|' in order to try to catch as many errors as possible. Occasionally \verb|valgrind| was also +run on this extraction code, since significant chunks of memory are allocated and freed during the +extraction process. \verb|valgrind| reports that there are no memory leaks at all --- even +on the larger 12Gb \file{.czi} files. -\subsubsection{Converting extracted files} -Once the files/metadata/attatchments had been successfully extracted from the `.czi' multiple issues were +\subsubsection{Converting Extracted Files} +Once the files/metadata/attachments had been successfully extracted from the target file, multiple issues were discovered. \begin{itemize} - \item The container format for the image segments was in `JXR'. This is another completely proprietary - file format, which does not appear to be supported by anything at all, other than Microsoft's own software. - There is also extremely limited library support, especially for non-windows platforms.\\ - This was tackled by luckily coming accross a decoder for JXR's which was written in C++, and could therefore - be compiled on the destination machine. Enough of the executable is able to be compiled before any problems - occur, and this decoder can be copied into the relative path for our own C source. - \item The next issue, is a continuation from the previous one; the library for decoding JXR's is only - capable of conversion to `BMP' or `TIFF', which is not our standard format. Therefore an additional step of - converting the `JXR \verb|-->| TIFF', to `PNG' using the `imagemagick' command line tools like `convert'.\\ - This is an annoying overhead, which is unfortunately unavoidable. - \item A further issue is that, by simply extracting every image tile found within the JXR tile, we found that - there were also tiles found at non 1:1 zoom levels, which was wasteful to deal with, since we will be building - a custom hierarchy anyway. This issue was mitigated by adding some logic to only extract the tile to disk if - it was determined to have a 1:1 scaling and thus be on the base layer. + \item The container format for the image segments was in \emph{JPEG-XR}. This is another proprietary + file format, which does not appear to be supported by anything at all, other than Microsoft's own software. + There is also extremely limited library support, especially for non-Windows platforms. + Fortunately, a C++-written \file{.jxr} decoder was found, and could + be compiled on the destination machine. Enough of the executable is able to be compiled before any problems + occur, and this decoder can be copied into the relative path for our own C source. + \item The library for decoding JXR's is only + capable of conversion to \emph{BMP} or \emph{TIFF}, which is not our desired format. Therefore an additional step of + converting the `JXR' to `TIFF', and then to `PNG' using the `imagemagick' command line tools like \verb|convert| + became necessary. + This is an annoying overhead, which is unfortunately unavoidable. + \item By simply extracting every image tile found within the JXR tile, we found that + there were also tiles found at non 1:1 zoom levels, which was wasteful to deal with, since we will be building + a custom image pyramid anyway. This issue was mitigated by adding some logic to only extract the tile to disk if + it was determined to have a 1:1 scaling and thus be on the base layer. \item In a similar fashion to the previous issue, it also became apparent that there were many tiles in the - base layer which were of non-standard sizes, with some having tiny slivers as they came to edges etc.\\ The - only solution to make these tiles appear on a nice grid of base(2) sizes, was to iterate over the fragmented - canvas and stitch together the portions we want.\\ + base layer which were of non-standard sizes, with some having tiny slivers as they came to edges etc. + The only solution to make these tiles appear on a nice grid of $n^2$ sizes, was to iterate over the fragmented + canvas and stitch together the portions we want. \end{itemize} + In order to complete the conversion side of things, it seemed appropriate to move away from C programming, and -even away from the scripts that were being using to control the C, to something like Python.\\ -The thought process behind this descision is the fact that python supports multithreading - which for something +even away from the scripts that were being using to control the C, to something like \emph{Python}. +The thought process behind this decision is the fact that Python supports multithreading --- which for something as parallel as multiple image conversions seemed extremely advantageous. The code to do this section is fairly -small, but absolutely crucial to the overall pipline of Zeiss format support.\\ +small, but absolutely crucial to the overall pipeline of Zeiss format support. -\subsubsection{Stitching base tiles} +\subsubsection{Stitching Base Tiles} Once we finally had all of the base tiles in a 1:1 scale and a format that was easier to deal with, the first task -was to figure out how to build up our own grid accross the mismatch of sizes of existing base tiles.\\ +was to figure out how to build up our own grid across the mismatch of sizes of existing base tiles.\\ The tile dimensions decided on were 1024:1024. The reason for this, is that it is large enough to contain a reasonable amount of information, without being so large that our server could provide or clients could load in -a timely manner.\\ -In order to do this stiching process, a descision was required as to the package to manage the image operations. -After a vast amount of searching and comparisons, the selection was made for `Sharp'~\cite{sharp}. The reason for -this, was that it appeared to be the onle single library which was capable of all of the different kinds of image +a timely manner. + +In order to do this stitching process, a decision was required as to the package to manage the image operations. +After a vast amount of searching and comparisons, the selection was made for \emph{Sharp}~\cite{sharp}. The reason for +this, was that it appeared to be the single library which was capable of all of the different kinds of image processing jobs we expected to be doing. Another key reason is the fact that it is known in advance that a very large number of images will need to be processed here, so performance is critical. Sharp appears to perform very significantly better than its competitors~\cite{sharpPerformance}. Finally, it has typing -support to work with our environment.\\ +support to work with our environment. + With this set, high level logic was written to check various image bounds for related base tiles to a specific region request. Regions were then selected out, sorted by x and y offsets, then relevant chunks chopped out of -them and stitched together into a coherent region of our selected size.\\ +them and stitched together into a coherent region of our selected size. -\subsubsection{building up hierarchy of zoom levels} +\subsubsection{Building Up Hierarchy of Zoom Levels} These finalised base layer tiles are written to disk in an output directory and details about their creation are recorded in a new data structure which will map out the pyramid style hierarchy of the tiles. -(A small example of these final titles are shown on the cover page of our Report for interest as they are -legitemate generations in a format we would like.) -Now that the base layer exists, gaining the rest of the tile zoom levels, should be fairly simple - by moving +A small example of these final titles are shown on the cover page of our Report for interest as they are +legitimate generations in a format we would like. + +Now that the base layer exists, gaining the rest of the tile zoom levels, should be fairly simple --- by moving up to the next power of two (2048) and collecting 4 images together then scaling this back down to 1024 pixels. -This process can be repreated for each level of zoom we would like to come up to. This will massively speed up -the process of searching through base tiles and stitching many together if we preprocess all of the intermediate -layers. Since most of the other groups are using OpenSeaDragon which appears to request things in scales of powers -of two, then our approach should be a very fast performer with the trade off of larger up-front processing time.\\ -Indexing into this pyramid will be fast with each request too, as they will be separated by 'C' value, which is -one of the images layering options, then by zoom level. - -\subsection{Lecia \& other formats} +This process can be repeated for each level of zoom we would like to raise to. This will massively speed up +the process of searching through base tiles and stitching many together if we pre-process all of the intermediate +layers. Since most HCI groups are using OpenSeaDragon (which requests things in scales of powers +of two~\cite{openseadragon}), our approach should be a very fast performer with the trade off of larger up-front processing time.\\ +Indexing into this pyramid will be fast with each request too, as they will be separated by `C' value, which is +one of the image's layering options, then by zoom level. + +\subsection{Leica \& Other Formats} As Zeiss is such a difficult and mammoth file format almost all of my time was spent dealing with purely this, -and it is still not even complete yet. However having looked quickly into Lecia, there appears to be limited -library support, which may make life easier, along with the fact the internal structure appears to be simliar to -a BigTiff. More progress on this format will take place for the next deliverable.\\ -As for other image formats such as JPEG, TIFF etc. These are standard formats and so will be very trivial to +and it is still not even complete yet. However having looked quickly into Leica, there appears to be +library support, which may make life easier, along with the fact the internal structure appears to be similar to +a BigTiff. More progress on this format will take place for the next deliverable. + +As for other image formats such as JPEG, TIFF etc. These are standard formats and so will be trivial to convert to our required standard of PNG so is not a significant point of progress currently. -\subsection{Non image formats (.csv etc.)} -As for non image formats such as .csv, it is decided that the backend should only be responsible of hosting these -files, since there is no way that a backend server could possible predict what the file should be processed into. -Additionally there are also many cases where an end-user, may wish to delibaretly store something in a format -which a backend server checking legitemacy of the file would complain about incorrectly.\\ -The team hasn't really looked into things such as Excel files, however again, premptively looking - there seems to +\subsection{Non image formats (\file{.csv} etc.)} +As for non image formats such as \file{.csv}, it has been decided that the backend should only be responsible of hosting these +files, since there is no way that a backend server could possibly predict what the file should be processed into. +Additionally, there are also many cases where an end-user may wish to deliberately store something in a format +which a backend server checking legitimacy of the file would complain about incorrectly. + +The team hasn't really looked into things such as Excel (\file{.xlsx}) files, however again, premptively looking, there seems to be fairly wide library support for things like this, so it was not a major concern for this deliverable. -- cgit v1.2.1 From d605fd16ac8a823c9d36262afbd189454421adf4 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Wed, 7 Mar 2018 19:23:24 +0000 Subject: Add burndown chart and toc --- Report/graphics/burndown.png | Bin 0 -> 21982 bytes Report/main.tex | 3 +++ Report/texts/scrum.tex | 9 ++++++++- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 Report/graphics/burndown.png diff --git a/Report/graphics/burndown.png b/Report/graphics/burndown.png new file mode 100644 index 0000000..f3ae71d Binary files /dev/null and b/Report/graphics/burndown.png differ diff --git a/Report/main.tex b/Report/main.tex index 8a09515..ac035d1 100644 --- a/Report/main.tex +++ b/Report/main.tex @@ -9,6 +9,9 @@ \newpage \setcounter{page}{1} + \tableofcontents + \newpage + \input{texts/aims} \input{texts/scrum} \input{texts/conversion} diff --git a/Report/texts/scrum.tex b/Report/texts/scrum.tex index 8a22851..ca724c8 100644 --- a/Report/texts/scrum.tex +++ b/Report/texts/scrum.tex @@ -1,10 +1,17 @@ \section{Continued use of Scrum} The scrum process was continued as we found this very useful in terms of clearly setting out tasks for each member and managing the progress of the implementation. One of the changes that was made for this sprint was the change in roles between team members. The change in responsibility allows team members to complete new and different jobs. In general the size and the time taken of each individual task was a lot more varied when comparing to the last submission, however, there were certain tasks which were larger in terms of hours put in. These large tasks included creating a logger system and a file converter. \subsection{Sprints} + +\begin{figure}[h] + \centering + \includegraphics[width=0.6\textwidth]{burndown} + \caption{A Burndown Chart for the past 14 days.}\label{fig:burn} +\end{figure} + As a team, it was decided that there would only be a single sprint, up until the next point of submission. This was because of the short time period, enough for only a two week sprint. In addition to this, the sprint assessment process was completed more often to ensure that as a team time was managed well and sufficient progress was being made. All the tasks that was set for this sprint were completed within the required time frame. \subsection{Scrum board} Again, the scrum board was used to outline and track the completion of each task. The same whiteboard in the John Honey main computer lab was used in order to maintain consistency. This gave a clear visual representation of the objectives. During the sprint, the main jobs required for completion were to further enhance the testing unit to increase its coverage across the implemented systems, implement a simple file converter and introduce a logging system for the server. Much experience was gained from completing previous sprints and so using this experience we were better equipped to handle larger tasks. Examples of the board in use can be found in Appendix \ref{app:board}. \subsection{Meetings} -Regular meetings were also held to discuss and evaluate progress. This was crucial in the scrum process and as working in a team to allow a point of communication between each member at the same point in time. An example of a major decision being made during the discussion was the change of language of the file converter implementation. It was decided that the more appropriate language to use would be C as there would more extensive libraries for this particular operation and would also have the advantage of greater efficiency. Multiple meetings were held during the most recent sprint to determine the tasks required for completion, to evaluate whether each task was completed and track progress in between. +Regular meetings were also held to discuss and evaluate progress. This was crucial in the scrum process and as working in a team to allow a point of communication between each member at the same point in time. An example of a major decision being made during the discussion was the change of language of the file converter implementation. It was decided that the more appropriate language to use would be C as there would more extensive libraries for this particular operation and would also have the advantage of greater efficiency. Multiple meetings were held during the most recent sprint to determine the tasks required for completion, to evaluate whether each task was completed and track progress in between. The minutes for formal meetings are available in Appendix \ref{app:meet}. -- cgit v1.2.1 From abbb4cdaf89c57fc7ddfaaf6c7edfa65d12acb36 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Wed, 7 Mar 2018 19:52:32 +0000 Subject: Fix minor report problems --- Report/biblio.bib | 7 +++++++ Report/main.tex | 2 ++ Report/main.toc | 34 ++++++++++++++++++++++++++++++++++ Report/texts/conversion.tex | 2 +- Report/texts/testing.tex | 20 ++++++++++---------- Report/texts/typings.tex | 2 +- 6 files changed, 55 insertions(+), 12 deletions(-) create mode 100644 Report/main.toc diff --git a/Report/biblio.bib b/Report/biblio.bib index 30d3994..fdfc56b 100644 --- a/Report/biblio.bib +++ b/Report/biblio.bib @@ -180,3 +180,10 @@ publisher = {Carl Zeiss Microscopy GmbH}, note = {Accessed: 2018-03-06} } + +@misc {openseadragon, + howpublished = {https://openseadragon.github.io/docs/}, + title = {OpenSeadDragon}, + publisher = {openseadragon}, + note = {Accessed: 2019-03-07} +} diff --git a/Report/main.tex b/Report/main.tex index ac035d1..dce9106 100644 --- a/Report/main.tex +++ b/Report/main.tex @@ -24,7 +24,9 @@ \input{texts/conclusion} \appendix + \newpage \input{appendix/scrumboard} + \newpage \input{appendix/minutes} \clearpage diff --git a/Report/main.toc b/Report/main.toc new file mode 100644 index 0000000..b056d00 --- /dev/null +++ b/Report/main.toc @@ -0,0 +1,34 @@ +\contentsline {section}{\numberline {1}Aims for submission 2}{2} +\contentsline {section}{\numberline {2}Continued use of Scrum}{2} +\contentsline {subsection}{\numberline {2.1}Sprints}{2} +\contentsline {subsection}{\numberline {2.2}Scrum board}{2} +\contentsline {subsection}{\numberline {2.3}Meetings}{3} +\contentsline {section}{\numberline {3}File Conversion}{3} +\contentsline {subsection}{\numberline {3.1}Dealing with Images}{3} +\contentsline {subsubsection}{\numberline {3.1.1}Extraction of Zeiss Within `C'}{4} +\contentsline {subsubsection}{\numberline {3.1.2}Converting Extracted Files}{4} +\contentsline {subsubsection}{\numberline {3.1.3}Stitching Base Tiles}{4} +\contentsline {subsubsection}{\numberline {3.1.4}Building Up Hierarchy of Zoom Levels}{5} +\contentsline {subsection}{\numberline {3.2}Leica \& Other Formats}{5} +\contentsline {subsection}{\numberline {3.3}Non image formats (\texttt {.csv} etc.)}{5} +\contentsline {section}{\numberline {4}Logging}{6} +\contentsline {subsection}{\numberline {4.1}Standard Logging}{6} +\contentsline {subsection}{\numberline {4.2}SQL Query Logging}{6} +\contentsline {subsection}{\numberline {4.3}Motivation}{6} +\contentsline {section}{\numberline {5}Process Management and Deployment}{6} +\contentsline {subsection}{\numberline {5.1}Process Manager Selection}{6} +\contentsline {subsection}{\numberline {5.2}pm2 and KeyMetrics}{6} +\contentsline {subsection}{\numberline {5.3}Process Limitations}{7} +\contentsline {subsection}{\numberline {5.4}Heroku Hosting}{7} +\contentsline {subsection}{\numberline {5.5}External System Hosting}{7} +\contentsline {section}{\numberline {6}Testing}{7} +\contentsline {subsection}{\numberline {6.1}Structure}{7} +\contentsline {subsection}{\numberline {6.2}Integration Testing}{8} +\contentsline {subsection}{\numberline {6.3}Unit Testing}{8} +\contentsline {section}{\numberline {7}Type Enforcement}{8} +\contentsline {subsection}{\numberline {7.1}mocha-each}{8} +\contentsline {subsection}{\numberline {7.2}pmx}{8} +\contentsline {section}{\numberline {8}Conclusion}{9} +\contentsline {subsection}{\numberline {8.1}Next Tasks}{9} +\contentsline {section}{\numberline {A}Scrum Board Images}{10} +\contentsline {section}{\numberline {B}Scrum Meeting Minutes}{12} diff --git a/Report/texts/conversion.tex b/Report/texts/conversion.tex index b56ebf0..87db332 100644 --- a/Report/texts/conversion.tex +++ b/Report/texts/conversion.tex @@ -131,5 +131,5 @@ files, since there is no way that a backend server could possibly predict what t Additionally, there are also many cases where an end-user may wish to deliberately store something in a format which a backend server checking legitimacy of the file would complain about incorrectly. -The team hasn't really looked into things such as Excel (\file{.xlsx}) files, however again, premptively looking, there seems to +The team hasn't really looked into things such as Excel (\file{.xlsx}) files, however again, pre-emptively looking, there seems to be fairly wide library support for things like this, so it was not a major concern for this deliverable. diff --git a/Report/texts/testing.tex b/Report/texts/testing.tex index d5c0fc7..e3f709b 100644 --- a/Report/texts/testing.tex +++ b/Report/texts/testing.tex @@ -1,15 +1,15 @@ \section{Testing} -Tests do not currently run on the gitlab server, as the postgres integration with the docker gilab-ci is still missing. This means any tests run automatically when pushing will fail. \par -When running integration tests locally, please make sure the postgres server is up and running on localhost. +Tests do not currently run on the gitlab server, as the postgres integration with the docker gitlab-ci is still missing. This means any tests run automatically when pushing will fail. \par +When running integration tests locally, please make sure the postgres server is up and running on localhost. \subsection{Structure} -Testing files were restructured for a more organised and professional approach. All test files end in "*.\(<\)context\(>\).test.ts" and were moved to the "test" directory. At this moment, "\(<\)context\(>\)" includes "unit" and "routes". Further, they were categorised into \textit{integration} and \textit{unit} tests and moved into corresponding sub-directories. \par -Apart from making test files easier to find, this new structure also allowed us to run specific tests independently to isolate failures and quickly rerun individual tests. For example \texttt{yarn test:routes:auth} runs all authentication tests. +Testing files were restructured for a more organised and professional approach. All test files end in ``*.\(<\)context\(>\).test.ts'' and were moved to the ``test'' directory. At this moment, ``\(<\)context\(>\)'' includes ``unit'' and ``routes''. Further, they were categorised into \textit{integration} and \textit{unit} tests and moved into corresponding sub-directories. \par +Apart from making test files easier to find, this new structure also allowed us to run specific tests independently to isolate failures and quickly rerun individual tests. For example \texttt{yarn test:routes:auth} runs all authentication tests. \subsection{Integration Testing} -\texttt{yarn test:routes} +\texttt{yarn test:routes} This category of tests targeted the interplay of different server components as it tested server endpoints (routes) rather than internal functions. We aimed to test all routes for responses of success, and various degrees of failure. \par -E.g. \textbf{"auth.routes.test.ts"} tested the authentication middle-ware, checking existing users could log in only with correct usernames, passwords and reauthentication tokens. During our later meetings, we realised that security is a key-component of medical systems, and requires further much more in-depth testing to guarantee safety of patient data. \par -\textbf{"protocol.routes.test.ts"} aims to cover all endpoints specified in the agreed protocol by using the \textit{mocha-each} npm module. This allowed us to write few mocha testing functions iterating over the long list of endpoints, checking HTTP responses to fit the JSON response templates to conform to the protocol. This form of testing is still incomplete. +E.g. \textbf{``auth.routes.test.ts''} tested the authentication middle-ware, checking existing users could log in only with correct usernames, passwords and reauthentication tokens. During our later meetings, we realised that security is a key-component of medical systems, and requires further much more in-depth testing to guarantee safety of patient data. \par +\textbf{``protocol.routes.test.ts''} aims to cover all endpoints specified in the agreed protocol by using the \textit{mocha-each} npm module. This allowed us to write few mocha testing functions iterating over the long list of endpoints, checking HTTP responses to fit the JSON response templates to conform to the protocol. This form of testing is still incomplete. \subsection{Unit Testing} -\texttt{yarn test:unit} -The main motivation for this category of tests was to find bugs early on without having to run the whole server. This saves time and uncovers new code breaking old functionality. We also found that unit tests improved the design process by forcing implementation of code that is testable. Furthermore, unit tests were often used as a form of documentation, as it aided in understanding how code of other team members worked and could be used. \par -We decided that each team-member was responsible for creating the unit tests for their code. Unfortunately the number and coverage of unit tests is still quite low. This may be the result of prioritising functionality over bug-resilience and test-driven development. +\texttt{yarn test:unit} +The main motivation for this category of tests was to find bugs early on without having to run the whole server. This saves time and uncovers new code breaking old functionality. We also found that unit tests improved the design process by forcing implementation of code that is testable. Furthermore, unit tests were often used as a form of documentation, as it aided in understanding how code of other team members worked and could be used. \par +We decided that each team-member was responsible for creating the unit tests for their code. Unfortunately the number and coverage of unit tests is still quite low. This may be the result of prioritising functionality over bug-resilience and test-driven development. diff --git a/Report/texts/typings.tex b/Report/texts/typings.tex index 65a0de0..36297b7 100644 --- a/Report/texts/typings.tex +++ b/Report/texts/typings.tex @@ -18,7 +18,7 @@ https://github.com/DefinitelyTyped/DefinitelyTyped/% tree/master/types/mocha-each}. \subsection{pmx} -The package pmx (as previously described in \S\ref{sec:pmx}) is useful for +The package pmx (as previously described in \S\ref{sec:pms}) is useful for profiling. Similarly to mocha-each, however, it does not have supported typing. Since this package covers a far wider range of functionality, and since said functionality is very involved with sensitive run-time engine manipulation, -- cgit v1.2.1 From 7e90ef51dc81f47d4d61e28d17987521d2609f82 Mon Sep 17 00:00:00 2001 From: josh97josh Date: Wed, 7 Mar 2018 20:03:44 +0000 Subject: included minutes --- Report/appendix/minutes.tex | 100 ++++++++++++++++++++------------------------ 1 file changed, 46 insertions(+), 54 deletions(-) diff --git a/Report/appendix/minutes.tex b/Report/appendix/minutes.tex index e1942be..9b2d34d 100644 --- a/Report/appendix/minutes.tex +++ b/Report/appendix/minutes.tex @@ -1,75 +1,67 @@ - -\section{Scrum Meeting Minutes} \label{app:meet} - -\begin{lstlisting} +\begin{lstlisting} Group Project Meeting 1 post submission -Date: 12/02/18 -Topics: -Reassigning scrum roles -Creating next set of tasks -Task allocation +Date: 12/02/18 +Topics: +Reassigning scrum roles +Creating next set of tasks +Task allocation Outcomes: -* Scrum: - * scrum master - Hafeez - * project owner - Calum +* Scrum: + * scrum master - Hafeez + * project owner - Calum *Tasks: * Implementing endpoints - * Implementing file conversions - * Improving test coverage - * Writing tests for untested sections - * Connecting all middleware + * Implementing file conversions + * Improving test coverage + * Writing tests for untested sections + * Connecting all middleware * Decide on how to deal with errors - * Organising file-system - * Creating a Linter to maintain a consistent file structure - + * Organising file-system + * Creating a Linter to maintain a consistent file structure + Group Project Meeting 2 Pre-sprint -Date 15/02/18 +Date 19/02/18 Topics: Define user stories -Task allocation +Task allocation Outcomes: * Sprint - * Week long sprint - * Meeting set for 22/02/18 - -Group Project Meeting 3 Post-Sprint -Date 22/02/18 + * 2 Week long sprint + * Mid sprint meeting set for 26/02/18 +* Images + * Dealing with leica and zeiss files +* Testing + * Implementing unit and integration tests +* Logger + * Standard and SQL logger + + +Group Project Meeting 3 mid-Sprint +Date 26/02/18 Topics: -Analysis of work -Next task assignment +updating progress Outcomes: - -Group Project Meeting 4 -Date 24/02/18 -Topics: -Sprint aims -Sprint deadline +* Images + * Continued work on image files + * File extraction and testing + * Stitching +* Logger + * Needed a better one to log problems + +Group Project Meeting 4 post-sprint +Date 05/03/18 +Topics +Final tasks required before deadline Outcomes: - *Decided to hold a sprint now to leave time - before next submission to finish off all leftover work - -Group Project Meeting 5 -Date 03/03/18 -Topics -Analysis of work todo after sprint -Work needed to complete before deadline - - -Outcomes: - * Finishing off of the report - *Connecting work with another HCI group - *Finish testing - - - + * Finishing off of the report + * Finish testing + * Process manager + * Hosting on heroku - - - \end{lstlisting} -- cgit v1.2.1 From 171dae72ee4f4b4f60c3b97f652ed79323d2af0b Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Thu, 8 Mar 2018 13:09:32 +0000 Subject: Change minor report things Even if it is too late :'( --- Report/Burn down Chart.xlsx | Bin 5965 -> 10244 bytes Report/appendix/minutes.tex | 1 + Report/main.toc | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Report/Burn down Chart.xlsx b/Report/Burn down Chart.xlsx index 912351d..9fa607e 100644 Binary files a/Report/Burn down Chart.xlsx and b/Report/Burn down Chart.xlsx differ diff --git a/Report/appendix/minutes.tex b/Report/appendix/minutes.tex index 9b2d34d..44aa702 100644 --- a/Report/appendix/minutes.tex +++ b/Report/appendix/minutes.tex @@ -1,3 +1,4 @@ +\section{Meeting Minutes}\label{app:meet} \begin{lstlisting} Group Project Meeting 1 post submission diff --git a/Report/main.toc b/Report/main.toc index b056d00..c9dcd7b 100644 --- a/Report/main.toc +++ b/Report/main.toc @@ -31,4 +31,4 @@ \contentsline {section}{\numberline {8}Conclusion}{9} \contentsline {subsection}{\numberline {8.1}Next Tasks}{9} \contentsline {section}{\numberline {A}Scrum Board Images}{10} -\contentsline {section}{\numberline {B}Scrum Meeting Minutes}{12} +\contentsline {section}{\numberline {B}Meeting Minutes}{12} -- cgit v1.2.1 From 44a943dcefac313011c57d125b78bebf36d11d49 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Tue, 10 Apr 2018 09:31:58 +0100 Subject: Rename folder 'Report' to 'report' --- Report/Burn down Chart.xlsx | Bin 10244 -> 0 bytes Report/Makefile | 9 - Report/appendix/minutes.tex | 68 ------ Report/appendix/scrumboard.tex | 8 - Report/biblio.bib | 189 ---------------- Report/graphics/1.png | Bin 23078 -> 0 bytes Report/graphics/2.png | Bin 76186 -> 0 bytes Report/graphics/3.png | Bin 37309 -> 0 bytes Report/graphics/4.png | Bin 17337 -> 0 bytes Report/graphics/5.png | Bin 21343 -> 0 bytes Report/graphics/6.png | Bin 28793 -> 0 bytes Report/graphics/7.png | Bin 30848 -> 0 bytes Report/graphics/burndown.png | Bin 21982 -> 0 bytes Report/graphics/km-dash.png | Bin 97345 -> 0 bytes Report/graphics/scrum.jpg | Bin 1829499 -> 0 bytes Report/graphics/scrum2.jpg | Bin 1746169 -> 0 bytes Report/graphics/scrum3.jpg | Bin 1830134 -> 0 bytes Report/graphics/scrum4.jpg | Bin 164302 -> 0 bytes Report/graphics/scrum5.jpg | Bin 152855 -> 0 bytes Report/graphics/title-logo.png | Bin 220102 -> 0 bytes Report/main.tex | 38 ---- Report/main.toc | 34 --- Report/preamble.tex | 13 -- Report/report.md | 303 ------------------------- Report/report.tex | 438 ------------------------------------ Report/texts/aims.tex | 7 - Report/texts/conclusion.tex | 5 - Report/texts/conversion.tex | 135 ----------- Report/texts/logging.tex | 38 ---- Report/texts/minutes.tex | 72 ------ Report/texts/process-management.tex | 56 ----- Report/texts/scrum.tex | 17 -- Report/texts/testing.tex | 15 -- Report/texts/typings.tex | 27 --- Report/title.tex | 15 -- report/Burn down Chart.xlsx | Bin 0 -> 10244 bytes report/Makefile | 9 + report/appendix/minutes.tex | 68 ++++++ report/appendix/scrumboard.tex | 8 + report/biblio.bib | 189 ++++++++++++++++ report/graphics/1.png | Bin 0 -> 23078 bytes report/graphics/2.png | Bin 0 -> 76186 bytes report/graphics/3.png | Bin 0 -> 37309 bytes report/graphics/4.png | Bin 0 -> 17337 bytes report/graphics/5.png | Bin 0 -> 21343 bytes report/graphics/6.png | Bin 0 -> 28793 bytes report/graphics/7.png | Bin 0 -> 30848 bytes report/graphics/burndown.png | Bin 0 -> 21982 bytes report/graphics/km-dash.png | Bin 0 -> 97345 bytes report/graphics/scrum.jpg | Bin 0 -> 1829499 bytes report/graphics/scrum2.jpg | Bin 0 -> 1746169 bytes report/graphics/scrum3.jpg | Bin 0 -> 1830134 bytes report/graphics/scrum4.jpg | Bin 0 -> 164302 bytes report/graphics/scrum5.jpg | Bin 0 -> 152855 bytes report/graphics/title-logo.png | Bin 0 -> 220102 bytes report/main.tex | 38 ++++ report/main.toc | 34 +++ report/preamble.tex | 13 ++ report/report.md | 303 +++++++++++++++++++++++++ report/report.tex | 438 ++++++++++++++++++++++++++++++++++++ report/texts/aims.tex | 7 + report/texts/conclusion.tex | 5 + report/texts/conversion.tex | 135 +++++++++++ report/texts/logging.tex | 38 ++++ report/texts/minutes.tex | 72 ++++++ report/texts/process-management.tex | 56 +++++ report/texts/scrum.tex | 17 ++ report/texts/testing.tex | 15 ++ report/texts/typings.tex | 27 +++ report/title.tex | 15 ++ 70 files changed, 1487 insertions(+), 1487 deletions(-) delete mode 100644 Report/Burn down Chart.xlsx delete mode 100644 Report/Makefile delete mode 100644 Report/appendix/minutes.tex delete mode 100644 Report/appendix/scrumboard.tex delete mode 100644 Report/biblio.bib delete mode 100644 Report/graphics/1.png delete mode 100644 Report/graphics/2.png delete mode 100644 Report/graphics/3.png delete mode 100644 Report/graphics/4.png delete mode 100644 Report/graphics/5.png delete mode 100644 Report/graphics/6.png delete mode 100644 Report/graphics/7.png delete mode 100644 Report/graphics/burndown.png delete mode 100644 Report/graphics/km-dash.png delete mode 100644 Report/graphics/scrum.jpg delete mode 100644 Report/graphics/scrum2.jpg delete mode 100644 Report/graphics/scrum3.jpg delete mode 100644 Report/graphics/scrum4.jpg delete mode 100644 Report/graphics/scrum5.jpg delete mode 100644 Report/graphics/title-logo.png delete mode 100644 Report/main.tex delete mode 100644 Report/main.toc delete mode 100644 Report/preamble.tex delete mode 100644 Report/report.md delete mode 100644 Report/report.tex delete mode 100644 Report/texts/aims.tex delete mode 100644 Report/texts/conclusion.tex delete mode 100644 Report/texts/conversion.tex delete mode 100644 Report/texts/logging.tex delete mode 100644 Report/texts/minutes.tex delete mode 100644 Report/texts/process-management.tex delete mode 100644 Report/texts/scrum.tex delete mode 100644 Report/texts/testing.tex delete mode 100644 Report/texts/typings.tex delete mode 100644 Report/title.tex create mode 100644 report/Burn down Chart.xlsx create mode 100644 report/Makefile create mode 100644 report/appendix/minutes.tex create mode 100644 report/appendix/scrumboard.tex create mode 100644 report/biblio.bib create mode 100644 report/graphics/1.png create mode 100644 report/graphics/2.png create mode 100644 report/graphics/3.png create mode 100644 report/graphics/4.png create mode 100644 report/graphics/5.png create mode 100644 report/graphics/6.png create mode 100644 report/graphics/7.png create mode 100644 report/graphics/burndown.png create mode 100644 report/graphics/km-dash.png create mode 100644 report/graphics/scrum.jpg create mode 100644 report/graphics/scrum2.jpg create mode 100644 report/graphics/scrum3.jpg create mode 100644 report/graphics/scrum4.jpg create mode 100644 report/graphics/scrum5.jpg create mode 100644 report/graphics/title-logo.png create mode 100644 report/main.tex create mode 100644 report/main.toc create mode 100644 report/preamble.tex create mode 100644 report/report.md create mode 100644 report/report.tex create mode 100644 report/texts/aims.tex create mode 100644 report/texts/conclusion.tex create mode 100644 report/texts/conversion.tex create mode 100644 report/texts/logging.tex create mode 100644 report/texts/minutes.tex create mode 100644 report/texts/process-management.tex create mode 100644 report/texts/scrum.tex create mode 100644 report/texts/testing.tex create mode 100644 report/texts/typings.tex create mode 100644 report/title.tex diff --git a/Report/Burn down Chart.xlsx b/Report/Burn down Chart.xlsx deleted file mode 100644 index 9fa607e..0000000 Binary files a/Report/Burn down Chart.xlsx and /dev/null differ diff --git a/Report/Makefile b/Report/Makefile deleted file mode 100644 index 135009b..0000000 --- a/Report/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -.PHONY: default clean FORCE - -default : main.pdf - -%.pdf : %.tex FORCE - latexmk -pdf $< - -clean : - latexmk -C diff --git a/Report/appendix/minutes.tex b/Report/appendix/minutes.tex deleted file mode 100644 index 44aa702..0000000 --- a/Report/appendix/minutes.tex +++ /dev/null @@ -1,68 +0,0 @@ -\section{Meeting Minutes}\label{app:meet} -\begin{lstlisting} - -Group Project Meeting 1 post submission -Date: 12/02/18 -Topics: -Reassigning scrum roles -Creating next set of tasks -Task allocation - -Outcomes: -* Scrum: - * scrum master - Hafeez - * project owner - Calum - -*Tasks: - * Implementing endpoints - * Implementing file conversions - * Improving test coverage - * Writing tests for untested sections - * Connecting all middleware - * Decide on how to deal with errors - * Organising file-system - * Creating a Linter to maintain a consistent file structure - -Group Project Meeting 2 Pre-sprint -Date 19/02/18 -Topics: -Define user stories -Task allocation - -Outcomes: -* Sprint - * 2 Week long sprint - * Mid sprint meeting set for 26/02/18 -* Images - * Dealing with leica and zeiss files -* Testing - * Implementing unit and integration tests -* Logger - * Standard and SQL logger - - -Group Project Meeting 3 mid-Sprint -Date 26/02/18 -Topics: -updating progress - -Outcomes: -* Images - * Continued work on image files - * File extraction and testing - * Stitching -* Logger - * Needed a better one to log problems - -Group Project Meeting 4 post-sprint -Date 05/03/18 -Topics -Final tasks required before deadline - -Outcomes: - * Finishing off of the report - * Finish testing - * Process manager - * Hosting on heroku - -\end{lstlisting} diff --git a/Report/appendix/scrumboard.tex b/Report/appendix/scrumboard.tex deleted file mode 100644 index e868278..0000000 --- a/Report/appendix/scrumboard.tex +++ /dev/null @@ -1,8 +0,0 @@ -\section{Scrum Board Images} \label{app:board} - -{ -\centering -\includegraphics[width=\textwidth]{graphics/scrum.jpg} -\includegraphics[width=\textwidth]{graphics/scrum3.jpg} -\includegraphics[width=\textwidth]{graphics/scrum4.jpg} -} diff --git a/Report/biblio.bib b/Report/biblio.bib deleted file mode 100644 index fdfc56b..0000000 --- a/Report/biblio.bib +++ /dev/null @@ -1,189 +0,0 @@ -@misc {tslint, - howpublished = {https://palantir.github.io/tslint/}, - title = {TSLint}, - publisher = {Palantir Technologies}, - year = {2016}, - note = {Accessed: 2018-03-01} -} - -@misc {protocol, - howpublished = {https://github.com/CS3099JH2017/cs3099jh/tree/master/protocols}, - title = {CS3099JH2017 Protocol}, - publisher = {CS3099 Year Group of 2017/18}, - year = {2018}, - note = {Accessed: 2018-03-02} -} - -@misc {yarn, - howpublished = {https://yarnpkg.com/en/docs}, - title = {Yarn}, - publisher = {Yarn Organization}, - note = {Accessed: 2018-03-02} -} - -@misc {typescript, - howpublished = {https://www.typescriptlang.org/docs/home.html}, - title = {TypeScript}, - publisher = {Microsoft}, - year = {2017}, - note = {Accessed: 2018-03-02} -} - -@misc {sequelize, - howpublished = {http://docs.sequelizejs.com/}, - title = {Sequelize}, - publisher = {Sequelize}, - note = {Accessed: 2018-03-02} -} - -@misc {sequelize-typescript, - howpublished = {https://github.com/RobinBuschmann/sequelize-typescript}, - title = {sequelize-typescript}, - publisher = {Robin Buschmann}, - note = {Accessed: 2018-03-02} -} - -@misc {postgres, - howpublished = {https://www.postgresql.org/docs/}, - title = {PostreSQL}, - publisher = {The PostgreSQL Global Development Group}, - year = {2018}, - note = {Accessed: 2018-03-02} -} - -@misc {mocha, - howpublished = {https://mochajs.org/}, - title = {Mocha}, - publisher = {mochajs}, - note = {Accessed: 2018-03-02} -} - -@misc {mocha-each, - howpublished = {https://github.com/ryym/mocha-each}, - title = {mocha-each}, - publisher = {ryym}, - note = {Accessed: 2018-03-02} -} - -@misc {chai, - howpublished = {http://chaijs.com/api/bdd/}, - title = {Chai Assertion Library}, - publisher = {chaijs}, - note = {Accessed: 2018-03-02} -} - -@misc {chai-http, - howpublished = {http://chaijs.com/plugins/chai-http/}, - title = {Chai HTTP}, - publisher = {chaijs}, - note = {Accessed: 2018-03-02} -} - -@misc {express, - howpublished = {https://expressjs.com/en/4x/api.html}, - title = {Express 4.x}, - publisher = {expressjs}, - year = {2017}, - note = {Accessed: 2018-03-02} -} - -@misc {passport, - howpublished = {http://www.passportjs.org/docs/}, - title = {Passport}, - publisher = {Jared Hanson}, - note = {Accessed: 2018-03-02} -} - -@misc {passport-local, - howpublished = {https://github.com/jaredhanson/passport-local}, - title = {passport-local}, - publisher = {Jared Hanson}, - note = {Accessed: 2018-03-02} -} - -@misc {morgan, - howpublished = {https://github.com/expressjs/morgan}, - title = {morgan}, - publisher = {expressjs}, - note = {Accessed: 2018-03-02} -} - -@misc {typedoc, - howpublished = {http://typedoc.org/guides/usage/}, - title = {TypeDoc}, - publisher = {TypeStrong}, - note = {Accessed: 2018-03-02} -} - -@misc {xlsx, - howpublished = {https://github.com/sheetjs/js-xlsx}, - title = {js-xlsx}, - publisher = {SheetJS}, - note = {Accessed: 2018-03-02} -} - -@misc {docker, - howpublished = {https://hub.docker.com/}, - title = {Docker Hub}, - publisher = {Docker Inc.}, - year = {2016}, - note = {Accessed: 2018-03-02} -} - -@misc {@types, - howpublished = {http://definitelytyped.org/}, - title = {DefinitelyTyped}, - publisher = {DefinitelyTyped}, - year = {2017}, - note = {Accessed: 2018-03-02} -} - -@misc {strongloop, - howpublished = {https://strongloop.com/}, - title = {StrongLoop}, - publisher = {IBM}, - year = {2018}, - note = {Accessed: 2018-03-07} -} - -@misc {pm2, - howpublished = {http://pm2.keymetrics.io/}, - title = {pm2}, - publisher = {KeyMetrics}, - note = {Accessed: 2018-03-07} -} - -@misc {forever, - howpublished = {https://github.com/foreverjs/forever}, - title = {foreverjs}, - publisher = {foreverjs}, - note = {Accessed: 2018-03-07} -} - -@misc {sharp, - howpublished = {https://github.com/lovell/sharp}, - title = {sharp}, - publisher = {Lovell Fuller}, - note = {Accessed: 2018-03-06} -} - -@misc {sharpPerformance, - howpublished = {http://sharp.pixelplumbing.com/en/stable/performance/}, - title = {Sharp Performance}, - publisher = {Lovell Fuller}, - note = {Accessed: 2018-03-06} -} - -@misc {zeissLicence, - howpublished = {https://www.zeiss.com/microscopy/int/products/microscope-software/czi/czi-download.html}, - title = {Apply for Zeiss Licence}, - publisher = {Carl Zeiss Microscopy GmbH}, - note = {Accessed: 2018-03-06} -} - -@misc {openseadragon, - howpublished = {https://openseadragon.github.io/docs/}, - title = {OpenSeadDragon}, - publisher = {openseadragon}, - note = {Accessed: 2019-03-07} -} diff --git a/Report/graphics/1.png b/Report/graphics/1.png deleted file mode 100644 index 089b8ef..0000000 Binary files a/Report/graphics/1.png and /dev/null differ diff --git a/Report/graphics/2.png b/Report/graphics/2.png deleted file mode 100644 index 1714110..0000000 Binary files a/Report/graphics/2.png and /dev/null differ diff --git a/Report/graphics/3.png b/Report/graphics/3.png deleted file mode 100644 index 7eef8dc..0000000 Binary files a/Report/graphics/3.png and /dev/null differ diff --git a/Report/graphics/4.png b/Report/graphics/4.png deleted file mode 100644 index 8379ef7..0000000 Binary files a/Report/graphics/4.png and /dev/null differ diff --git a/Report/graphics/5.png b/Report/graphics/5.png deleted file mode 100644 index aeea913..0000000 Binary files a/Report/graphics/5.png and /dev/null differ diff --git a/Report/graphics/6.png b/Report/graphics/6.png deleted file mode 100644 index e3fb624..0000000 Binary files a/Report/graphics/6.png and /dev/null differ diff --git a/Report/graphics/7.png b/Report/graphics/7.png deleted file mode 100644 index a917d83..0000000 Binary files a/Report/graphics/7.png and /dev/null differ diff --git a/Report/graphics/burndown.png b/Report/graphics/burndown.png deleted file mode 100644 index f3ae71d..0000000 Binary files a/Report/graphics/burndown.png and /dev/null differ diff --git a/Report/graphics/km-dash.png b/Report/graphics/km-dash.png deleted file mode 100644 index 840395d..0000000 Binary files a/Report/graphics/km-dash.png and /dev/null differ diff --git a/Report/graphics/scrum.jpg b/Report/graphics/scrum.jpg deleted file mode 100644 index 4b5c911..0000000 Binary files a/Report/graphics/scrum.jpg and /dev/null differ diff --git a/Report/graphics/scrum2.jpg b/Report/graphics/scrum2.jpg deleted file mode 100644 index 231cf1f..0000000 Binary files a/Report/graphics/scrum2.jpg and /dev/null differ diff --git a/Report/graphics/scrum3.jpg b/Report/graphics/scrum3.jpg deleted file mode 100644 index 012e9b3..0000000 Binary files a/Report/graphics/scrum3.jpg and /dev/null differ diff --git a/Report/graphics/scrum4.jpg b/Report/graphics/scrum4.jpg deleted file mode 100644 index ab1f7a5..0000000 Binary files a/Report/graphics/scrum4.jpg and /dev/null differ diff --git a/Report/graphics/scrum5.jpg b/Report/graphics/scrum5.jpg deleted file mode 100644 index e79e828..0000000 Binary files a/Report/graphics/scrum5.jpg and /dev/null differ diff --git a/Report/graphics/title-logo.png b/Report/graphics/title-logo.png deleted file mode 100644 index 8a72423..0000000 Binary files a/Report/graphics/title-logo.png and /dev/null differ diff --git a/Report/main.tex b/Report/main.tex deleted file mode 100644 index dce9106..0000000 --- a/Report/main.tex +++ /dev/null @@ -1,38 +0,0 @@ -\input{preamble} - -\input{title} - -\begin{document} - - \maketitle - \thispagestyle{empty} - \newpage - \setcounter{page}{1} - - \tableofcontents - \newpage - - \input{texts/aims} - \input{texts/scrum} - \input{texts/conversion} - % \input{texts/protocol} - % \input{texts/auth} - \input{texts/logging} - \input{texts/process-management} - \input{texts/testing} - \input{texts/typings} - \input{texts/conclusion} - - \appendix - \newpage - \input{appendix/scrumboard} - \newpage - \input{appendix/minutes} - - \clearpage - - \nocite{*} - \bibliography{biblio}{} - \bibliographystyle{plain} - -\end{document} diff --git a/Report/main.toc b/Report/main.toc deleted file mode 100644 index c9dcd7b..0000000 --- a/Report/main.toc +++ /dev/null @@ -1,34 +0,0 @@ -\contentsline {section}{\numberline {1}Aims for submission 2}{2} -\contentsline {section}{\numberline {2}Continued use of Scrum}{2} -\contentsline {subsection}{\numberline {2.1}Sprints}{2} -\contentsline {subsection}{\numberline {2.2}Scrum board}{2} -\contentsline {subsection}{\numberline {2.3}Meetings}{3} -\contentsline {section}{\numberline {3}File Conversion}{3} -\contentsline {subsection}{\numberline {3.1}Dealing with Images}{3} -\contentsline {subsubsection}{\numberline {3.1.1}Extraction of Zeiss Within `C'}{4} -\contentsline {subsubsection}{\numberline {3.1.2}Converting Extracted Files}{4} -\contentsline {subsubsection}{\numberline {3.1.3}Stitching Base Tiles}{4} -\contentsline {subsubsection}{\numberline {3.1.4}Building Up Hierarchy of Zoom Levels}{5} -\contentsline {subsection}{\numberline {3.2}Leica \& Other Formats}{5} -\contentsline {subsection}{\numberline {3.3}Non image formats (\texttt {.csv} etc.)}{5} -\contentsline {section}{\numberline {4}Logging}{6} -\contentsline {subsection}{\numberline {4.1}Standard Logging}{6} -\contentsline {subsection}{\numberline {4.2}SQL Query Logging}{6} -\contentsline {subsection}{\numberline {4.3}Motivation}{6} -\contentsline {section}{\numberline {5}Process Management and Deployment}{6} -\contentsline {subsection}{\numberline {5.1}Process Manager Selection}{6} -\contentsline {subsection}{\numberline {5.2}pm2 and KeyMetrics}{6} -\contentsline {subsection}{\numberline {5.3}Process Limitations}{7} -\contentsline {subsection}{\numberline {5.4}Heroku Hosting}{7} -\contentsline {subsection}{\numberline {5.5}External System Hosting}{7} -\contentsline {section}{\numberline {6}Testing}{7} -\contentsline {subsection}{\numberline {6.1}Structure}{7} -\contentsline {subsection}{\numberline {6.2}Integration Testing}{8} -\contentsline {subsection}{\numberline {6.3}Unit Testing}{8} -\contentsline {section}{\numberline {7}Type Enforcement}{8} -\contentsline {subsection}{\numberline {7.1}mocha-each}{8} -\contentsline {subsection}{\numberline {7.2}pmx}{8} -\contentsline {section}{\numberline {8}Conclusion}{9} -\contentsline {subsection}{\numberline {8.1}Next Tasks}{9} -\contentsline {section}{\numberline {A}Scrum Board Images}{10} -\contentsline {section}{\numberline {B}Meeting Minutes}{12} diff --git a/Report/preamble.tex b/Report/preamble.tex deleted file mode 100644 index 14787a9..0000000 --- a/Report/preamble.tex +++ /dev/null @@ -1,13 +0,0 @@ -\documentclass{article} - -\usepackage[margin=1in]{geometry} -\usepackage{a4wide} - -\usepackage{graphicx} -\graphicspath{{./graphics/}} - -\usepackage{float} -\usepackage{listings} -\usepackage{cite} - -\def\file{\texttt} diff --git a/Report/report.md b/Report/report.md deleted file mode 100644 index 323c98e..0000000 --- a/Report/report.md +++ /dev/null @@ -1,303 +0,0 @@ -# Junior Honours Project 2017 - 2018 -## BACKEND GROUP 4. -|User ID | Name | Matrticulation Number | -|:------:|:--------:|:----------------------:| -|cjd24 | Calum | 150011830 | -|trh | Tom | 150001937 | -|har4 | Hafeez | 160006551 | -|jl247 | Josh | 150010415 | -|jw255 | Johannes | 140013112 | - - - - - - -### Requirements Overview: -For every version you submit, you are required to submit the following to MMS as a team: - -1) A working version of your software, which includes a test suite. By version we -mean a version of the finished product. It is up to you to decide how you have divided -the entire finished product into versions. - -2) A report which details how you have followed the SCRUM process. - - It should include: - - a) A list of all user stories contained in your Product Backlog and Release Backlog; - this is expected to evolve from version to version. - - b) Documented evidence that you have followed SCRUM, e.g., timestamped photographs of - your Product Backlog, Release Backlog, Sprint Backlogs, and task boards (if you - are using a physical whiteboard), or timestamped screen grabs of any tools you - are using instead. - - c) The process you used to estimate how long user stories would take to implement. - A burndown chart should also be included to track progress. - - d) Team structure and role assignment - - e) Meeting outcomes: sprint planning, sprint retrospective, and an overview of - stand-up meetings (i.e. meetings don’t need to be documented individually) - -3) You should then demo the working version of your software to your supervisor at - one of your regular meetings. - - - - - - -### Design Choices: -- Scrum -Using the scrum approach as advised by the project specifications facilitated the planning and running of group meetings. As the year wide protocol continued to change throughout the development process, an agile working process addressed the complex problem of changing requirements through its iterative and incremental system. -One of the essential parts of this process was distribution of responsibility, planning of time and ordering of tasks for the next release. Oftentimes we had to spend some time researching a topic before we could decide on the task allocation and if it should be included in the next release. For example, we decided early on that the file-conversion was less important... **To be continued** -**MORE SHOULD BE SAID HERE PLZ?** - -- Database -We chose to use Postgres for our database system, after considering the benefits and drawbacks of different databases compatible with NodeJS. Its greatest advantage is its object-relational data model, JSON support and scalability. We also decided that it would be significantly less efficient to store our raw files inside the database as Blobs etc. This is because the nature of the files that we will be dealing with are likely to be huge. So storing masses of binary data in the database which is likely to never actually be "edited" in the same way as some other binary data might, then it would be a significant overhead for no return. As such we opted for designing our infrastructure in such a way that we will have a (nearly) '*flat*' filesystem, where all files are stored under a UUID. All notion of "directory hierarchy" and "filenames" would be stored internally with relations in the database. As possible extensions, we could then store direct references to files (or perhaps even offsets within files) to act as a very high performing cache server for frequent data, or data that we could predict is going to be accessed in short time proximity. - -- File management - --- Folders -A part of the specification required the use of folders to group together files in a project. The issue I first came across were how folders not just contained other files but would quite often have other folders inside them as well. My second issue was navigating through the folders to get to the files, this meant that given a folder you could return the contents of that folder as well as being able to find all other files at the same level in the system. - -To manage my first issue I included a table called dirent with an inheritance relation so that a dirent could either be a folder, image or text. Having this table made it easy to query on data as well as better representing how files could be stored within folders. This meant that a folder would be related to a dirent which could then be linked to the specific type on creation. - -There were two ways to manage the navigability, either store the file path with each dirent or store the ID of the superfolder it was contained in, I decided on storing the ID. This created a link system and to therefore view files within a folder you would search all files which had the same ID as the super folder. - -E.g 1) To locate an image called image1 at folder1/folder2/folder3/image1 to find it you would use the queries - -SELECT * FROM dirent NATURAL JOIN folder WHERE folder_name = 'folder1' AND super_folder is null AND project_name = 'project 1'; -SELECT * FROM dirent WHERE super_folder = '77dea3b7-523e-463a-aff1-3d8b92259fbb'; -SELECT * FROM dirent WHERE super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; -SELECT * FROM dirent NATURAL JOIN image WHERE super_folder = '22b94214-6942-40dd-b8af-deb1371fa298'; -![Alt text](1.png?raw=true "eg1") - -From this directory if you wanted to find dirents contained within folder 2 you could use the queries - -SELECT * FROM dirent WHERE id = '22b94214-6942-40dd-b8af-deb1371fa298'; -SELECT * FROM dirent WHERE super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; -![Alt text](2.png?raw=true "eg1_cont") -Showing all three dirents in this folder. - --- File identification -In choosing the ID for the files I originally had an auto increment ID. The issue with this would be that a hazardous user could guess the ID of a specific file, accessing files without the required permission. To get around this I used a randomly generated UUID. This made it almost impossible to guess the ID and is universally unique. - --- File storage -Originally I thought of storing files within the database in blob format although this seemed to work well I felt that the scalability of this method would be not be effective. I also felt that it would be a lot harder to backup the database as the number of files grew. Instead the database contained the structure of the file system with info for each file including the UUID for each file. This made it easy to return files from our own file storage system with matching UUID each time a request was made. - --- Projects -Another requirement of the database was the need for projects which also helped group together files. A user could also have per project privileges such as adding files into that project. To manage this, on creation of a project it was given an owner matching the current logged in user. I created a trigger which also granted all permissions (admin) to the owner giving them control over the permissions for their project. - -E.g 2) using -INSERT INTO project ("project_name", "owner") VALUES ('project 1', 'josh') -Would give all permissions to josh in project 1. - - - -- User management - -Once the file system had been set up I wanted to have a robust user permission system that would consistently allow the API to check permissions. - -Permissions were split into 2 types -User based permissions. -The user based permissions were create project, create user, remove user , edit user, view projects and view users. - -Project based permissions. -The project based permissions were add files, edit files, remove files and view files (remove project could also be included here but I decided to make that only accessible to the owner and an admin user) This was more difficult because each user would have different privileges on different projects. - --- Set up -My initial thought was to have columns for each permission in the user table. I soon realised this was hard to manage once revoking privileges is implemented. I decided on creating a tree system for user permissions similar to how the database manages its own privileges. This meant that if one user granted many permissions and then had their own permission removed, all user permissions granted by the revoked user would also be removed. I decided to represent this by having a table for each permission. There were two main reasons for this - -1) This made it easy to check permissions e.g to check whether a user had add file permissions you would just go into the add_files table and check whether it contained a row corresponding to that user. - -2) On each grant the permission ID is stored as a foreign key of its own table representing how a specific user was given that permission . This meant that if a user was deleted or a privilege was revoked it would also remove privileges of sub grants by using ‘on delete cascade’ - -E.g 3) the image below shows the table add_files -![Alt text](3.png?raw=true "add_files") -Josh granted permission to user 2 who then granted permission to both user 3 and back to user2. When user 2 has his permission revoked both permissions that were granted by user 2 are also revoked. -![Alt text](4.png?raw=true "granted permissions") - - --- Returning all permissions for each user -On looking at the specification it seemed clear that there were a lot of API requests to get all permissions that a user had been granted. By storing the permissions in their own table required searching every single table every time you wanted to do this which would be ineffective. Combining this with my original idea I created a summary table, if a user was then granted a permission it was added into the summary table with the permission ID by means of a trigger. This meant a slower insert but was highly beneficial in being easy to search. The combination of these two methods kept the system robust whilst making it easy to query on. - -Ex 4) Following on from example 2 it is now easy to see how all the permissions are given to a user when a project is created. -![Alt text](5.png?raw=true "eg4") -Also if josh grants permission to user2 to add files you can see below the permission is added. -![Alt text](6.png?raw=true "eg4_cont") -When the permission is revoked that column for user2 is set null. -![Alt text](7.png?raw=true "eg4_cont2") - --- User information -In order to login the user the user table contains a password to each user. This password was stored md5 hashed. (I also want to add salting for a later hand in for additional security). -Also in the user data is metadata both private and public that could be seen/ managed based on your own permissions or whether you are viewing yourself. I used views to represent the different accesses on the user table to prevent things such as password being included in the query result. I also stored this metadata as Json type instead of individual columns for each attribute. This made it easier to match the expected request format and also helped group together the metadata. - - - -- Server -For the implementation of the server, we chose a typescript-nodejs approach. NodeJS seemed a common and sensible choice, as all members of the team had previous experience and it is a scalable, and well-supported development framework that runs on both Unix and Windows infrastructures. It is easy to deploy and furthermore offers more speed and a nonblocking I/O API in comparison to Java or .Net servers. We then chose the TypeScript superset of JS as it provides typing, classes, interfaces and IDE support for developers which makes the language easier to use and more robust. In particular we chose to specialise our node app with express, and a comprehensive middleware stack. This middleware stack would carry out tasks such as logging, body parsing, type checking, with potential to be expanded as the project matures. We also decided on Sequelize as our ORM. This was due to wide support in the deployment community with favourable reviews of its functionality - as well as having a specialisation called sequelize-typescript, which massively simplifies syntax, and appeared to integrate to our design model very nicely. - -- Project Approach and Expansion -Once most of the core decisions had been made in isolation of the incorporation into the submission as a whole, we had a **meeting** to decide how these should best operate together. -The approximate approach that was decided on is as follows: - - The Node Server would catch all valid API endpoint requests and pass them to handler functions. - - Since almost all requests that are made to the server, some way or another need to talk to the database, then during initialisation of the server, a connection would be made to the postgres database, which would persist throughout the life of the server. This connection would then be utilised by our ORM solution to carry out queries. - - The request would be formulated through the ORM (or by direct file access for things like server config.) and then passed to the DB serer. - - The response would hopefully be ready as we require it, however at this stage there can be logical checks done of the data if necessary. - - We would then run it through some typechecking middleware to ensure that the content that we are serving back to a client is valid JSON. - - The Response would be served back to the client and the request would be considered *successful*. - - Expansion: - - Once the basic implementation according to the protocol was complete, it was discussed on multiple occasions, and in detail of possible ways to make this core service better. - - Building on the ATOMIC nature of a database transaction, and given the Users deployment scenario - multiple research facilities potentially across multiple geographically diverse locations, we thought it would be critical to allow the database to have multiple instances operating concurrently. - - Approximately how this would look, is that clients talk to the backend server they are physically closest to on the network for the best possible latency. - - Since there can be multiple nodes however to serve clients in different locations, then the servers would then need to make best attempt to synchronise in an Atomic manner. - - This would make our system far more scalable in the future, and may have potential applications for things such as a "live" backup server - since medical data is all fairly critical. - - On top of the transactions to the Database being atomic and synchronised across all instances of the server, we would additionally need to consider the physical distribution of file storage. - - Since we made the design decision to store all of the actual files, outside of the database, then keeping ATOMIC communication to each instance server, does not necessarily solve the issue of file replication. - - For example, if a memeber of a group is working on a node other than the "root" node where that project was created and all of the data happens to be stored for it, then we will need to include some kind of notion of a "server reference" for each file known about by the database. - - Then, if a client made a request for data not locally stored, it could either be re-directed by the server to the other node, or the server forwards the request then pipes it back to the client. - - Alternatively as a further specialisation of this functionality, the server could intelligently detect related data to the "foreign" request being made, and pre-emptively load in the data from the alt server, so it is ready to serve future data locally. This data could be cached locally and used, then re-synchronised if changes were made back to the original, or dropped if it was just for reading. It is likely however that most of these interactions will be reads, so things like carrying out a machine learning session on some data, would only require the (probably) smaller file containing the results to be synchronised back which is a much easier task as it would likely just be new file upload to the remote server. - - - - - - - -### Year Wide Protocol Compilation: -As part of this practical, a final solution to the over-arching problem is that the end-user -should be able to "*pick-n-mix*" one submission from each [Backend, HCI, Machine Learning]. -In order to successfully achieve this, all of the participating groups throughout the year -are required to formulate between themselves and agree upon a single protocol for each -component to talk over. -Various meetings were organised on a variety of topics between members who were interested -in affecting the outcome. Minutes of these meetings can be seen at: -[Maybe Here?](https://github.com/CS3099JH2017/cs3099jh) -**We should also probably detail roughly what was said at each of these meetings/summaries etc? GET THE RECORDED DATES** - - - - - - - - - -### Scrum: -After groups were eventually allocated for this group project, the team met up quickly to -discuss the **Scrum** method of doing work, and figure out how roles should be shared amongst -the team members. - Team Structure and Role assignment - -Supervisor -> Adam - -Scrum Master -> Tom - -Product Owner -> Calum - -Developer -> Hafeez - -Developer -> Josh - -Developer -> Johannes - -It was initially decided that Tom would be the "Scrum Master", and Calum would be the -"Product Owner", and that the roles would be rotated around other group members, -approximately bi-weekly. -A quick brainstorming session was then had to interpret our specification and quickly fill -in the User Epic stories, along with some more decomposed stories and requirements. -As the specification requires, the following is a list of the stories the group came up with. - - -(Time Est | Time taken) -- User Epic stories ------- (Continuous) - - Create a "plug and play" module, providing backend functionality to the clients requirements. ------- (Continuous) - - Conform to a year-wide protocol specification to ensure inter-operability. ------- (Continuous) - - Support the notion of 'Projects', 'Users' with specialisations such as Admin, 'Conversion to Standard File Formats'. ------- (Continuous) - - Be Complete by 23rd April 2018. - - First Release 9th February 2018 -- Design ------- (2-3 Weeks | 3 Weeks) - - Design Test Interface ------- (3 Days | 1 Week) - - Separation of Machine Learning tests & HCI tests. ------- (1 Day | 3 days) - - Plan what mocks of other groups are required to ensure usability. ------- (2 Days | 4 days) - - Design Server ------- (1 week | 1.5 Weeks) - - Stubs for conforming to protocol ------- (1 Day | 3 Days) - - Structure and Core Packages ------- (5 Days | 1 week) - - Language(s)? we will use & why. ------- (1 Day | 1 Day) - - Design Database ------- (1 week | 1.5 Weeks) - - Which database will we use? ------- (1 Day | 1 Day) - - Schema ------- (2 Days | 2 Days) - - ER Diagram ------- (5 Days | 1 Week) -- Implementation ------- (Continuous) - - Database Implementation ------- (~3 Weeks) - - Interface/Linking with the root to the file system. ------- (3 Days) - - Notion of Secure Access for the database. ------- (1 Week) - - Dealing with various filetypes - Conversion / Standardisation for storage. ------- (2 Days) - - Standard procedures for fetching. ------- (2 Days) - - Deal with Storing Image Data (+ other binary formats?) / JSON. ------- (5 Days) - - Deal with storing plain text + tabular data. ------- (5 Days) - - Create Database from schema ------- (3 Days) - - Server Implementation ------- (~1.5 Months | 2 Months) - - Setup initial HelloWorld Sever to ensure correct installation & dependencies. ------- (1 Day| 1 Day) - - Create Strong/Reliable link between server functions and underlying filesystem for database. ------- (1 Weeks | 2 Weeks) - - Create Strong/Reliable link between server functions and the database. ------- (5 Days 1 Week) - - Create pre-processing functions to standardise Data passed in. (images->png & plaintext->csv/json) ------- (1 Week | in proc.) - - Deal with responses to a client ------- (4 Weeks | in proc.) - - Involving continuous file transfer (For example, whilst panning Large Pathology photos.) ------- (1 Week) - - Involving 'simple' file transfer (getting whole file at once for csv etc.) ------- (1 Week) - - Involving file uploads All at once. ------- (1 Week) - - Involving file uploads in chunks for files above 8Mb. ------- (1 Week) - - Create Node "router" to capture all required URLs and forward to functions to handle based on protocol. ------- (1 Day) - - Create Basic error response functions which can be called from anywhere to deal with any potential problems and safely respond to client. ------- (2 Days) -- Testing ------- (9 Weeks | in proc) - - Server Testing ------- (3 Weeks | in proc) - - Create methods to test logic of JS/TS which can be re-run on each commit ------- (2 Weeks | in proc) - - From Backend's perspective ------- (1 Week | 2 Weeks) - - From HCI's perspective ------- (1 Weeks | in proc) - - Create unit tests for individual files can be re-run on each commit ------- (1 Weeks | 1 Weeks) - - Database Testing ------- (2 Weeks | in proc.) - - Carrying out Optimisations/Streamlining ------- (5 Days) - - Profiling of performance of UnCommon Actions (delete) ------- (4 Days) - - Profiling of performance of common actions (file creation/file reads) ------- (4 Days) - - Accuracy of file retrieval ------- (1 Day) - - TestInterface Implementation ------- (2 Weeks | 2 Weeks) - - Create HTML5/JS to retrieve NON image data and display ------- (1 Day | 2 Days) - - Create HTML5/JS to retrieve image (or section of) data and display ------- (1 Day | 4 Days) - - Create HTML5/JS to begin an ML session on some data and retrieve results. ------- (1 Day | 1 Day) - - Create HTML5/JS to check a user/group information ------- (1 Day | 1 Day) - - Create HTML5/JS to upload various filetypes and ensure they convert to universal format. ------- (1 Day | 2 days) - - Create HTML5/JS to action a login ------- (1 Day | 2 days) -- Extension Implementation ------- (~3 Weeks | outstanding) - - Develop a Caching function for frequently accessed files, or anticipate UUIDs next to be accessed for increased performance. ------- (1 Week) - - Extend our basic server implementation, to support multiple instances and ensure ATOMICity of DB and sensible file distribution. ------- (2 Weeks) - - Upgrade all HTTP interactions to HTTPS ------- (2 Days) - - Add support for Lecia file conversion (heavily licenced) ------- (2 Weeks) - - -Additionally as part of following the scrum methodology of development, the group carried out a selection of meetings to: -1) Evaluate the current sprint (Work complete, standard, sprint time etc. -2) Retrospectively plan anything with crept up throughout the past sprint, and evaluate how we dealt with it. -3) Catch up with each others' progress and decide on work distribution -The Following is a quick summary of these meetings: - -> Meeting 1: -> > Date: -> Time: -> Attendance: -> Content : - -> Meeting 2: -> > Date: -> Time: -> Attendance: -> Content : - -# Need to upload the pictures of our scrum board to the repository/report! -# ALSO need to upload our burn-down charts to this report. - - - - - -### Sources: -[Help regarding creating a restful api with both node and typescript as a combo](http://mherman.org/blog/2016/11/05/developing-a-restful-api-with-node-and-typescript/#.WlW1fhdpw8o) -[Typescript for Node](https://basarat.gitbooks.io/typescript/docs/quick/nodejs.html) -[Sequelize (ORM library for connecting to the Postgres Database)](https://sequelize.readthedocs.io/en/v3/) -[Sequelize-Typescript specialisation (For making sequelize more adapted for postgres over mysql)](https://github.com/RobinBuschmann/sequelize-typescript) diff --git a/Report/report.tex b/Report/report.tex deleted file mode 100644 index dae5b11..0000000 --- a/Report/report.tex +++ /dev/null @@ -1,438 +0,0 @@ -\documentclass{article} -\usepackage[margin=1in]{geometry} -\usepackage{graphicx} -\usepackage{a4wide} -\usepackage{float} -\usepackage{listings} - -\graphicspath{graphics} - -\begin{document} -\title{Report --- Juniour Honours Project Submission 1} -\author{Hafeez Abdul-Rehaman, Johannes Weck, Josh Lee, Calum Duff, Tom Harley} -\date{\today} - -\maketitle - -\tableofcontents - -\section{Requirements Overview} -For our Junior Honours project, we are to design and create a database -for a system which will be used primarily for the sharing and viewing -of various medical and pathological media. - -Our database is to be: -\begin{description} - \item[User-aware] The system should act as a platform for managing - users and their permissions, with respect to viewing and affecting - projects and media. - \item[Filetype-agnostic] The system should accept files in a - variety of filetypes and be able to translate between them, in order to - provide a user with a desirable output filetype. - \item[Substitutable] The system should follow standardised - communication protocols, to participate in a framework of modularised - systems created in conjunction with other Junior Honours groups. -\end{description} - -\section{Using Scrum} -The Scrum approach facilitated the -planning and running of group meetings. As the year-wide protocol changed -over time, an AGILE working process provided the granular iteration -required to address the frequent design changes. - -\subsection{Scrum Board} -Throughout the project a Scrum board has been used to keep track of current tasks -and further items to implement. A whiteboard in the John Honey main computer lab -was used throughout this process. Examples of the board in use can be found in -Appendix \ref{app:board}. - -The Scrum board made visualizing tasks and progression straightforward. -Using it in meetings helped with determining how much was still to be done. - -At times the \emph{In Progress} section of the Scrum board seemed unbalanced; -at these times several people were working on the same large task, and so fewer -notes were placed in this column. - -\subsection{Time Management} -Based on how tasks were split, and the difficulty of various tasks, we estimated -durations for each task. Due to the widely-varying estimated completion times, -we decided to distribute our Sprint durations accordingly. -Initially, we divided our total available time with the number of available tasks, -but over time experience from previous work and from previous meetings was helpful in -refining the expected duration of the future tasks. -This, combined with -the late reveal of the specification meant that work was done over holidays, greatly -warping the duration of several Sprints to be longer than anticipated. - -\begin{figure}[H] -\centering - \includegraphics[width=\linewidth]{graphics/chart.png} - \caption{A Burn Down chart graphically representing average completion time of tasks} - \label{fig:burndown} -\end{figure} - -\subsection{Meetings} -Meetings were held every 1-3 weeks with the entire team. -They were carried out in person or, during the holidays, using -voice chat clients. - -Meetings helped members of the team understand what was being done by -other members of the team, particularly in areas were only one person -was working. They also helped the team decide on what was important to -attempt in the next Sprint. - -The minutes for formal meetings are available in Appendix \ref{app:meet}. - -\subsection{Paired Programming/Teamwork} -Paired Programming was used extensively throughout implementation of basic server -functions, such as writing logic for the public protocol endpoints. - -Multiple people working on a single task reduces the total actual time it takes to -complete. This allowed larger tasks that would not normally fit into a regular Sprint -to still be tackled within a single Sprint. - -At times the entire team was in labs, working concurrently on separate tasks. - -Having everyone in the same place focussed everyone on the task at hand and greatly -improved communication, keeping everyone working on what was important and not dallying. - -\subsection{Evaluation of Work Done/To Do} -The Scrum board and regular meetings greatly aided in our evaluation of how much work -had been completed, and how much there was left to do, at the time. Now that we're -used to Scrum, evaluation of further tasks (such as extensions) should be more -realistic, and tasks are more likely to be assigned to Sprints with enough time to -accommodate them, instead of persisting to the next Sprint. - -\section{Design Decisions} -\subsection{Database} -\subsubsection{Security} -Passwords in the database are currently stored totally unencrypted. Initially, -the focus of work was on routing traffic, and for this purpose salting -passwords is unnecessary. Once the server is past development phase, passwords -will be encrypted in some secure fashion. - -\subsubsection{File Representation} -File paths are stored in the database, represented as one-to-many parent-folder-to-file -mappings. This decision was made since all files will already have entries in the -database (such as metadata and their UUID), and adding the remainder of necessary -information for a file would be simple. - -While file paths are stored in the database, the file content itself will not be. -It has been specified that the system should be capable of storing large files, -and databases may struggle with the difficulties of storing variable-size Binary -Large Objects when said objects are of this scale. In addition, the breakdown and -caching of large images into image pyramids both increases the quantity of binary -data that will need to be stored, and greatly increases the number of reads and -writes carried out by the server on binary data. File systems, on the other hand, -are optimised for jobs of this kind. - -The resulting setup is a virtual filesystem that resembles a regular filesystem, -and a very flat physical filesystem: a root folder containing a folder for each -project, which in turn contain all non-folder files belonging to that particular project. -Keeping the files separated by folders named after their projects allows for simple -deletion of an entire project. - -All files in the database are given a UUID, which serves a number of functions: -\begin{enumerate} - \item It is the name of the file in the physical file system on disk, - \item It can be used to uniquely identify a file irrespective of its position - in the virtual file system, - \item It can be used to keep a reference to a file even if it is moved - (or even if it is deleted). -\end{enumerate} - -Examples of SQL queries using the structure described can be found in Appendix -\ref{app:sql}. - -\subsection{Server Framework} -This practical requires a variety of utilities, and should be easy to document and -to understand from an outside perspective. Additionally, it was decided that for a -large project a language and platform that all members of the team were comfortable -with was a high priority. Finally, the system would need to be scalable, in the sense -that additional features should be easy to implement and plug in to the -already-functioning system. - -For these reasons, NodeJS and Typescript were chosen as the framework and language -for the project. - -\subsubsection{NodeJS} -NodeJS has a huge library (or \emph{package}) repository, providing teams with a wide variety of options on how to implement projects. Its ease of deployment on both *nix and Windows systems, -and its common IDE support make it ideal for team development. - -\subsubsection{Typescript} -While not every team member had previously used Typescript, all had used and are comfortable -with Javascript, and were willing to take on the slight increase in complexity for static -type checking. Typescript's compile-time checks and IDE integration remove the ambiguity of -Javascript from large projects, improving their scalability and maintainability as the project -increases in size. - -\subsubsection{ExpressJS} -A core package used by the project for client-server communication is the middleware handler -ExpressJS. This package allows for easy insertion and use of any number of middlewares, both created in-house -and imported from other packages. Uses for this multi-layer structure include authentication, user -permission checking, and wrapping responses with statuses. - -ExpressJS also handles client-server communication through a RESTful API. - -\begin{figure}[H] - \centering - \includegraphics[width=1.5in]{graphics/be-layer-structure.pdf} - \caption{Structure of Layers in a Server Instance} - \label{fig:layer} -\end{figure} - -\subsubsection{Sequelize (and Sequelize-Typescript)} -Sequelize was chosen as the ORM package to use to connect to the database server. It was chosen over other -similar packages for its variety of powerful features (such as eager loading) and its large user-base. -It can connect to a variety of SQL-dialect databases, and hides the low-level table interactions to create -a simple abstraction to Javascript objects. -Furthermore, it also has comprehensive and clear documentation, providing better access to these features. - -In addition to Sequelize is the add-on package Sequelize-Typescript: this improves Sequelize syntax to -accept ES6 classes with Typescript types as ORM model definitions, amongst other smaller improvements -made possible by Typescript's experimental annotation support. - -\subsubsection{Token-Based Authentication (Passport/JWT)} -The protocol designed by the entire year uses a token-based authentication service -similar to and inspired by OAuth2. Using token-based authentication removes the need -for sessions or for cookies while still providing a smooth and secure user experience, -and simplifying client design. -It was decided that implementing OAuth2 in its entirety would be superfluous. OAuth2 -relies on the acquisition of tokens from third parties, which would be unsuitable for -a simple system such as this. - -The Javascript package Passport was used for handling authentication through this protocol. -Passport's support for custom authentication services in addition to its synergy with ExpressJS middleware -support made it an obvious choice. - -For generating authentication "bearer" tokens, JWT was used. - -\subsection{Testing Framework} -Testing was extensive and concurrent to the implementation in each Sprint. This was to ensure minimal time was spent debugging which then prevented the team from missing the Sprint deadlines. Unit testing was one of the primary methods of testing individual functionality. This was very useful for a modularised task as each module could be debugged without affecting other modules which were functioning as expected. Producing unit tests concurrently with the implementation of certain functionality gave the advantage of designing the functionality around the possible input or validation errors that may occur. MochaJS and ChaiJS were the JavaScript frameworks used for unit testing. These were chosen due to their simplicity of use and strong compatibility with TypeScript and Express.js. They both also allowed automation which increased efficiency and productivity. An example of tests that were performed include matching the response object for all routes to what is expected as defined by the protocols. - -Unit test were convenient for implementation, however, to be thorough further tests were applied whilst the server was actually running in order to ensure that different components work as expected as a larger unit. These particular tests were applied during the end of each implementation iteration as all components are needed. The process began by starting the server on a host machine and specific port. Then tools such as cURL and Postman helped act as the client, in order to send appropriate requests to the server. A set of requests were sent and the responses given were compared to the responses that were actually expected. Some stages resulted in server errors which described bugs in the system where previously we would not have foreseen. - -As well as testing the individual functionality of components, testing was also carried out on data types to ensure certain programming errors will be detected and reported. This was also completed using MochaJS and ChaiJS. - -Further testing is still in progress however this requires additional components to be added to the system in upcoming Sprints. One portion of testing includes producing a mock user interface in order to test integration further on with other sections of the system which are completed by other teams. A client-side SDK for each request is generated by SwaggerHub, which prevents any focus being applied to user interaction and keeps the back-end server as the main task. - -\section{Looking Ahead} -\subsection{File Agnosticity} -It is the goal of a backend server to be able to support any file type possible as part of a project. These may be miscellaneous files that a user would like to store in the project, or it may also be a temporary file created by an HCI or ML service which is proprietary to the work they are carrying out. In the average case where a file is one of the Users’ complex image formats, or an excel spreadsheet perhaps - the server should be capable of converting this into a standardised file format that anything should be able to read. In particular, if a ‘Leica’ file is uploaded in ‘.scn’, our server should be capable of converting this into whatever resolution of sub pictures in PNG format so that we can ensure interoperability between components and clients. The server may still hold on to the original file and, in-fact would be expected to do so, but should only ever hand out standard formats from endpoints. In the case of Excel files (.xlsx), the server should be capable of transforming these sheets into ‘.csv’, to be read from another service, whilst maintaining the ability for clients to still download the original proprietary format. For example, if an ‘HCI’ client is connecting through a mobile phone, the client shouldn’t care which format an image was uploaded to a project in, as it should always send out a standard (PNG for images) format to remain type-agnostic. - -\subsection{Advanced Telemetry} -As part of professional development, an end goal was set to enable the server to be particularly self-aware through advanced telemetry monitoring. There are many benefits to this, mainly improved system performance to reduce bottlenecks, as well as being resilient to errors that may crop up with user interaction. -Some forms of telemetry considered were continually monitoring the kinds of requests that are coming in and check to see if they access similar locations. Then UUIDs could be cached with meta information such as hit count, and related files so that the sever could learn about the kinds of operations being carried out on it, and report back to some kind of systems admin. We could also start to preemptively carry out certain tasks such as unpacking and converting spatially adjacent images for files that are currently being browsed to reduce latency on further “panning” of the file for example. Statistics about this kind of operation could be gathered, such as time taken to complete and the time difference that was saved by doing so. These kinds of results would then be used to make an internal decision if some of the files should be “permanently” stored in some converted format. - -With regards to the scalability potential of running multiple instances, there is a plethora of further telemetry that can be gathered about connections made between instances, both with reference to the content in the database and the ACID/atomic properties which would need to be upheld, as well as with regards to the physical file distribution across multiple geographical nodes. -There could then be all kinds of algorithms to determine if files should be “invisibly” shuffled around behind the scenes to provide a more seamless experience for the end-user. - -\subsection{ACID Distribution} - -\begin{figure} - \centering - \includegraphics[width=3in]{graphics/acid-echo.pdf} - \caption{A Server Instance Connected to an Echo Server as Part of a Distributed Network} - \label{fig:acid} -\end{figure} - -Building on the atomic nature of a database transaction, and given the Users deployment scenario (multiple research facilities potentially across multiple geographically diverse locations), we thought it would be critical to allow the database to have multiple instances operating concurrently. Approximately how this would look, is that clients talk to the backend server they are physically closest to on the network for the lowest possible latency. However, since there can be multiple nodes to serve clients in different locations, the servers would need to make a "best attempt" to synchronise in an atomic manner. This would make the system far more scalable in the future, and may have potential applications for things such as a "live" backup server - since medical data is all fairly critical. -On top of the transactions to the Database being atomic and synchronised across all instances of the server, the physical distribution of file storage would additionally need to be considered. - -Since we made the design decision to store all of the actual files, outside of the database, then keeping atomic communication to each instance server does not necessarily solve the issue of file replication.For example, if a member of a group is working on a node other than the "root" node where that project was created and all of the data happens to be stored for it, then we will need to include some kind of notion of a "server reference" for each file known about by the database. -Then, if a client made a request for data not locally stored, it could either be re-directed by the server to the other node, or the server forwards the request then pipes it back to the client. - -Alternatively, as a further specialisation of this functionality, the server could intelligently detect related data to the "foreign" request being made, and pre-emptively load in the data from the alternate server, so it is ready to serve future data locally. This data could be cached locally and used, then re-synchronised if changes were made back to the original, or dropped if it was just for reading. It is likely however that most of these interactions will be reads, so activities such as carrying out a machine learning session on some data would only require the (potentially) smaller file containing the results to be synchronised back, which is a much easier task as it would likely just be new file upload to the remote server. -As part of professional development, an end goal was set to enable the server to be incredibly self aware through advanced telemetry monitoring. There are many benefits to this, mainly improved system performance to reduce bottlenecks, as well as being resilient to errors that may crop up with user interaction. -Some forms of telemetry considered were continually monitoring the kinds of requests that are coming in and check to see if they access similar locations. Then UUIDs could be cached with meta information such as hit count, and related files so that the sever could learn about the kinds of operations being carried out on it, and report back to some kind of systems admin. We could also start to preemptively carry out certain tasks such as unpacking and converting spatially adjacent images for files that are currently being browsed to reduce latency on further “panning” of the file for example. Statistics about this kind of operation could be gathered, such as time taken to complete and the time difference that was saved by doing so. These kinds of results would then be used to make an internal decision if some of the files should be “permanently” stored in some converted format. - -With regards the scalability potential of running multiple instances, there is a plethora of further telemetry that can be gathered about connections made between instances, both with reference to the content in the database and the acid/atomic properties which would need to be upheld, as well as with regards the physical file distribution across multiple geographical nodes. -There could then be all kinds of algorithms to determine if files should be “invisibly” shuffled around behind the scenes to provide a more seamless experience for the end-user -\appendix -\section{Scrum Board Images} \label{app:board} - -{ -\centering -\includegraphics[width=\textwidth]{graphics/4-12-17.jpg} -\includegraphics[width=\textwidth]{graphics/4-12-17-2.jpg} -\includegraphics[width=\textwidth]{graphics/8-1-18.jpg} -\includegraphics[width=\textwidth]{graphics/29-1-18.jpg} -\includegraphics[width=\textwidth]{graphics/5-2-18.jpg} -} - -\section{Scrum Meeting Minutes} \label{app:meet} -\begin{lstlisting} -Project Meeting minutes - -Group project meeting 1 -Date: 10/11/17 -Topics: -Code type -User initial tasks and roles - - -Outcomes: - - -* Scrum -* Scrum master: Tom -* Product owner: Calum -* Code: - * Language: typescript - * Framework: NodeJS -* File conversion: - * On-the-fly - only keep original and convert when necessary -* OpenCdragon lib -* Networking: - * Express.js -* Storage: - * Database - * Storing json format for metadata - * Filepath for files -* Users, groups: - * Tokens - libraries? - * oauth -> which version? - * stored in tables - encryption -* Security: - * Per-file encryption - * Hash passwords - * not needed? -* Other: - * ask IT services for more user space - * Use teamspeak over christmas -* Deadline 5 days after we come back -* Next_Tasks: - * Tom: setup basic Node Server - * Get data from user on friday - * Design API - * Johannes: test file conversion libraries - * Calum: think about database format - * Make ER diagram and Schema - - -Group project meeting 2 pre sprint -Date: 4/12/17 -Topics: -Database type and design -Authorisation -Protocol -Set up first set of user stories -Setting up server - - -Outcomes: -* Database -* Postgres -* Talk about design -* Set up ER diagram -* Authentication and security -* Passport -* oauth tokens -* User stories- -* Setting up stubs for conforming to database -* Setting up database from ER diagram - - -Group project meeting 3 post sprint -Date: 8/12/17 -Topics: -Burnout chart -Evaluation of sprint -Setting next time for sprint -Change of scrum master and project - - -Outcomes: -* Change of roles -* Scrum master: Johannes -* Project Owner: Hafeez - - -Group project meeting 4 -Date: 8/1/18 -Topics -Storing files -Setting up mock HCI -Dealing with file types -Thinking About File type conversions - -Change of roles - -Outcomes -* Change of roles -* Scrum master: Calum -* Project Owner: Josh - - -Group project meeting 5 -Date: 28/1/18 -Topics: -Discuss previous sprint -Catching up on research Over Holidays -Planning How to Acheive First Deliverable - -Outcomes: -* Continuing on the Scrum board with realistic -goals of tasks that can be completed by the deadline -* Redistribution of work between members so that -everyone has an even share of the work - -Group project meeting 6 -Date: 3/2/18 -Topics: -User stories for sprint before first hand in. -What tasks we are leaving until next hand in - - -Outcomes: -* File conversions saving for future hand in -* Have a working demo for following hand in -* User stories -* Is the Epic User Story achievable by the end of the year? - -Discuss previous sprint -Discuss how to present hand in - - -Outcomes: -* Responsibilities -\end{lstlisting} - -\section{Example SQL Queries on File System} \label{app:sql} -\subsection{Example 1} -To locate an image called image1 at folder1/folder2/folder3/image1 to find it you would use the queries: -\begin{lstlisting}[language=SQL] -SELECT * FROM dirent - NATURAL JOIN folder WHERE - folder_name = 'folder1' AND - super_folder is null AND - project_name = 'project 1'; -SELECT * FROM dirent WHERE - super_folder = '77dea3b7-523e-463a-aff1-3d8b92259fbb'; -SELECT * FROM dirent WHERE - super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; -SELECT * FROM dirent - NATURAL JOIN image WHERE - super_folder = '22b94214-6942-40dd-b8af-deb1371fa298'; -\end{lstlisting} - -From this directory, if you wanted to find dirents contained within folder 2 you could use the -queries: -\begin{lstlisting}[language=SQL] -SELECT * FROM dirent WHERE - id = '22b94214-6942-40dd-b8af-deb1371fa298'; -SELECT * FROM dirent - WHERE super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; -\end{lstlisting} - -\subsection{Example 2} -Using: -\begin{lstlisting}[language=SQL] -INSERT INTO - project ("project_name", "owner") - VALUES ('project 1', 'josh') -\end{lstlisting} - -Would give all permissions to josh in project 1. - -\end{document} diff --git a/Report/texts/aims.tex b/Report/texts/aims.tex deleted file mode 100644 index e1da3ee..0000000 --- a/Report/texts/aims.tex +++ /dev/null @@ -1,7 +0,0 @@ -\section{Aims for submission 2} -From our first submission, we now had a working server that allowed a user to access our own mock user interface to log in and access data based on their level of authorisation. Following this we set up a meeting to lay out goals for ourselves that would act as requirements for the second submission. -\begin{description} - \item[Define Specific Protocol] Now that we had a working server, we next wanted to define specific protocol in order to demo our progress using work from another Junior Honours HCI groups. - \item[Manage Filetype Conversions] A main part of this submission was creating a file converter for all the required file types that would be needed. - \item[Testing] As our code was getting more complicated we wanted to make sure that extensive testing was implemented to create a more secure and consistent system. -\end{description} diff --git a/Report/texts/conclusion.tex b/Report/texts/conclusion.tex deleted file mode 100644 index 0e40979..0000000 --- a/Report/texts/conclusion.tex +++ /dev/null @@ -1,5 +0,0 @@ -\section{Conclusion} -As a group a lot of progress was made for this submission, we were proactive in setting out goals for ourselves and feel we are now well on track to produce an outstanding final hand in. Our continued use of scrum has helped keep workload consistent and effective right through to this submission and we hope to continue in this way. Scrum is essential in our progress as it helps to manage time and organise the team work and so this process will be used for the duration of the project. Having now combined our work with the HCI group we are looking forward to working with teams focused on machine learning to tie together all 3 sections of the application to create the desired system set out by the project owner. - -\subsection{Next Tasks} -Viewing the system as a whole, substantial progress has been made in completing each required task whilst also managing time for each task appropriately. Looking further ahead, our next objectives will surround performance enhancing, further testing and finally completing the integration process with the rest of the system. The process for these will include a large amount of analysis on the working server, which include finding delays between certain requests and responses, measuring time taken for converting files and testing for bugs after integration. Another important aspect is the security of the application, and preventing bugs from leading to exploits which can be used for malicious use. This is particularly important within the medical industry as data confidentiality and integrity are apart of practitioners' policy. One method of testing for this task would be penetration testing, using a suite of tools to attack the application, which would determine any vulnerabilities that exist. \ No newline at end of file diff --git a/Report/texts/conversion.tex b/Report/texts/conversion.tex deleted file mode 100644 index 87db332..0000000 --- a/Report/texts/conversion.tex +++ /dev/null @@ -1,135 +0,0 @@ -\section{File Conversion} -One of the most key pieces of functionality for the backend groups is the facilitation of the agnosticity of -original file formats to the end user. No matter the original upload format, backend groups should all be -capable of returning files in standard file formats. -These specific ``standards'' were not hard-defined by the specification, however as part of our whole year -protocol, it was decided that \emph{JSON} would be used for file meta-information, as well as the -main structure of all responses from a backend server. \emph{PNG} was decided upon as the standard file format -for all images, since it is very widely supported and has other favourable properties we would like to -take advantage of. - -\subsection{Dealing with Images} -The nature of the file formats that we were expected to abstract over however turned out to be significantly -more challenging than was initially perceived. The file formats of `Leica' and `Zeiss' are widely used in the -medical field (the department we are providing this service for), however almost nowhere else. Upon looking -into this more closely, it was found that the Zeiss file format is very proprietary and licensed. - -This means that in order to even gain access to simply read the documentation you must fill in your details -and make an application for the documentation~\cite{zeissLicence}. Part of the agreement for this documentation is that you are -not allowed to share it with anyone else; you are allowed to write software to \emph{deconstruct} them; you -are strictly \emph{not} allowed to write any software to construct them. - -The documentation gives a description of the various ``segments'' of binary that can appear in the file, and -attempts to assist you in the method to read them. Given the large nature of the file size of a Zeiss, it makes -sense for them to be designed to be `streamable', which they are --- allowing you to read smaller chunks at a -time rather than loading the whole object into memory simultaneously. - -After reading the specification in great detail, it was clear that it was extremely specialised and has -the potential to nest a variety of other file types within itself, as well as have many fields missing ---- as they are optional --- making it quite complex to interpret. In addition to this, the major difficulty -came from the fact that the base file is a proprietary binary file, which also contains things such as 128bit -unsigned integers. This fact, coupled with the substantial file sizes made the choice for languages to deal -with them limited to a systems programming language. Since I had most experience in `C99', then this seemed -the only realistic possibility. - -\subsubsection{Extraction of Zeiss Within `C'} -One major consideration was that --- due to the sheer file size of many of these images --- we would need -to store them on the local \file{/cs/scratch} drive of the lab machines: they are simply too -large to store either on our host servers statically, let alone when working on extracting and expanding the -thousands of smaller files within them. - -With this in mind, and closely comparing the -`C' code against the rough documentation licensed to me, the structures possible within a Zeiss file were -slowly built up. - -Methods were written to print out the contents of various structures as progress was made, in -order to ensure that the offsets for file streaming were continually at the correct locations and the data we -were parsing out of the file was as expected. To this effect, testing of the extraction was run continually -in the standard `C' approach of a couple lines at a time before re-compilation, along with using flags such as -`\verb|--pedantic|' in order to try to catch as many errors as possible. Occasionally \verb|valgrind| was also -run on this extraction code, since significant chunks of memory are allocated and freed during the -extraction process. \verb|valgrind| reports that there are no memory leaks at all --- even -on the larger 12Gb \file{.czi} files. - -\subsubsection{Converting Extracted Files} -Once the files/metadata/attachments had been successfully extracted from the target file, multiple issues were -discovered. -\begin{itemize} - \item The container format for the image segments was in \emph{JPEG-XR}. This is another proprietary - file format, which does not appear to be supported by anything at all, other than Microsoft's own software. - There is also extremely limited library support, especially for non-Windows platforms. - Fortunately, a C++-written \file{.jxr} decoder was found, and could - be compiled on the destination machine. Enough of the executable is able to be compiled before any problems - occur, and this decoder can be copied into the relative path for our own C source. - \item The library for decoding JXR's is only - capable of conversion to \emph{BMP} or \emph{TIFF}, which is not our desired format. Therefore an additional step of - converting the `JXR' to `TIFF', and then to `PNG' using the `imagemagick' command line tools like \verb|convert| - became necessary. - This is an annoying overhead, which is unfortunately unavoidable. - \item By simply extracting every image tile found within the JXR tile, we found that - there were also tiles found at non 1:1 zoom levels, which was wasteful to deal with, since we will be building - a custom image pyramid anyway. This issue was mitigated by adding some logic to only extract the tile to disk if - it was determined to have a 1:1 scaling and thus be on the base layer. - \item In a similar fashion to the previous issue, it also became apparent that there were many tiles in the - base layer which were of non-standard sizes, with some having tiny slivers as they came to edges etc. - The only solution to make these tiles appear on a nice grid of $n^2$ sizes, was to iterate over the fragmented - canvas and stitch together the portions we want. -\end{itemize} - -In order to complete the conversion side of things, it seemed appropriate to move away from C programming, and -even away from the scripts that were being using to control the C, to something like \emph{Python}. -The thought process behind this decision is the fact that Python supports multithreading --- which for something -as parallel as multiple image conversions seemed extremely advantageous. The code to do this section is fairly -small, but absolutely crucial to the overall pipeline of Zeiss format support. - -\subsubsection{Stitching Base Tiles} -Once we finally had all of the base tiles in a 1:1 scale and a format that was easier to deal with, the first task -was to figure out how to build up our own grid across the mismatch of sizes of existing base tiles.\\ -The tile dimensions decided on were 1024:1024. The reason for this, is that it is large enough to contain a -reasonable amount of information, without being so large that our server could provide or clients could load in -a timely manner. - -In order to do this stitching process, a decision was required as to the package to manage the image operations. -After a vast amount of searching and comparisons, the selection was made for \emph{Sharp}~\cite{sharp}. The reason for -this, was that it appeared to be the single library which was capable of all of the different kinds of image -processing jobs we expected to be doing. Another key reason is the fact that it is known in advance that a very -large number of images will need to be processed here, so performance is critical. Sharp appears to perform -very significantly better than its competitors~\cite{sharpPerformance}. Finally, it has typing -support to work with our environment. - -With this set, high level logic was written to check various image bounds for related base tiles to a specific -region request. Regions were then selected out, sorted by x and y offsets, then relevant chunks chopped out of -them and stitched together into a coherent region of our selected size. - -\subsubsection{Building Up Hierarchy of Zoom Levels} -These finalised base layer tiles are written to disk in an output directory and details about their creation -are recorded in a new data structure which will map out the pyramid style hierarchy of the tiles. -A small example of these final titles are shown on the cover page of our Report for interest as they are -legitimate generations in a format we would like. - -Now that the base layer exists, gaining the rest of the tile zoom levels, should be fairly simple --- by moving -up to the next power of two (2048) and collecting 4 images together then scaling this back down to 1024 pixels. -This process can be repeated for each level of zoom we would like to raise to. This will massively speed up -the process of searching through base tiles and stitching many together if we pre-process all of the intermediate -layers. Since most HCI groups are using OpenSeaDragon (which requests things in scales of powers -of two~\cite{openseadragon}), our approach should be a very fast performer with the trade off of larger up-front processing time.\\ -Indexing into this pyramid will be fast with each request too, as they will be separated by `C' value, which is -one of the image's layering options, then by zoom level. - -\subsection{Leica \& Other Formats} -As Zeiss is such a difficult and mammoth file format almost all of my time was spent dealing with purely this, -and it is still not even complete yet. However having looked quickly into Leica, there appears to be -library support, which may make life easier, along with the fact the internal structure appears to be similar to -a BigTiff. More progress on this format will take place for the next deliverable. - -As for other image formats such as JPEG, TIFF etc. These are standard formats and so will be trivial to -convert to our required standard of PNG so is not a significant point of progress currently. - -\subsection{Non image formats (\file{.csv} etc.)} -As for non image formats such as \file{.csv}, it has been decided that the backend should only be responsible of hosting these -files, since there is no way that a backend server could possibly predict what the file should be processed into. -Additionally, there are also many cases where an end-user may wish to deliberately store something in a format -which a backend server checking legitimacy of the file would complain about incorrectly. - -The team hasn't really looked into things such as Excel (\file{.xlsx}) files, however again, pre-emptively looking, there seems to -be fairly wide library support for things like this, so it was not a major concern for this deliverable. diff --git a/Report/texts/logging.tex b/Report/texts/logging.tex deleted file mode 100644 index d0a7255..0000000 --- a/Report/texts/logging.tex +++ /dev/null @@ -1,38 +0,0 @@ -\section{Logging} -Server logging has now been formalised: the functionality is imported into -a file and can then be used to log messages at the selection of urgencies -specified in Protocol BE01~\cite{protocol}. - -These outputs have many configuration options, which ideally will be -incorporated into a global configuration handler in future development. - -\subsection{Standard Logging} -By default, the standard logger logs to three places: -\begin{enumerate} - \item Colourised, human-readable messages are printed to the console. - Any error- or critical-level messages are printed through stderr. - \item More verbose JSON editions of messages are written to a basic - logfile. - \item Critical-level messages are additionally written to an extra - logfile. -\end{enumerate} - -\subsection{SQL Query Logging} -A separate logger has been designed for logging the output of -Sequelize~\cite{sequelize}. Since Protocol BE01 does not specify that they -should be retreivable, the output queries can be stored with less associated -metadata. In addition, Sequelize can output the total required time to -process the query, which is stored in the log for future use as profiling -data. - -\subsection{Motivation} -Since basic server functionality has been implemented, the errors produced -will likely be caused by difficult-to-debug problems, such as edge-cases or -data races. With a verbose and thorough logging system, these problems -should be much easier to detect and rectify. - -In addition, Protocol BE01~\cite{protocol} requires of the backend support -for receiving and storing logs from other services. The introduction of a -well-implemented logging system abstracts this from the common use-case of -logging while keeping powerful functionality of forwarding and fetching logs -available for when it is needed. diff --git a/Report/texts/minutes.tex b/Report/texts/minutes.tex deleted file mode 100644 index 55aab2a..0000000 --- a/Report/texts/minutes.tex +++ /dev/null @@ -1,72 +0,0 @@ -\begin{lstlisting} - -Group Project Meeting 1 post submission -Date: 12/02/18 -Topics: -Reassigning scrum roles -Creating next set of tasks -Task allocation - -Outcomes: -* Scrum: - * scrum master - Hafeez - * project owner - Calum - -*Tasks: - * Implementing endpoints - * Implementing file conversions - * Improving test coverage - * Writing tests for untested sections - * Connecting all middleware - * Decide on how to deal with errors - * Organising file-system - * Creating a Linter to maintain a consistent file structure - -Group Project Meeting 2 Pre-sprint -Date 15/02/18 -Topics: -Define user stories -Task allocation - -Outcomes: -* Sprint - * Week long sprint - * Meeting set for 22/02/18 - -Group Project Meeting 3 Post-Sprint -Date 22/02/18 -Topics: -Analysis of work -Next task assignment - -Outcomes: - -Group Project Meeting 4 -Date 24/02/18 -Topics: -Sprint aims -Sprint deadline - -Outcomes: - *Decided to hold a sprint now to leave time - before next submission to finish off all leftover work - -Group Project Meeting 5 -Date 03/03/18 -Topics -Analysis of work todo after sprint -Work needed to complete before deadline - - -Outcomes: - * Finishing off of the report - *Connecting work with another HCI group - *Finish testing - - - - - - - -\end{lstlisting} diff --git a/Report/texts/process-management.tex b/Report/texts/process-management.tex deleted file mode 100644 index d99a73c..0000000 --- a/Report/texts/process-management.tex +++ /dev/null @@ -1,56 +0,0 @@ -\section{Process Management and Deployment}\label{sec:pm} -In a production environment, many instances of a NodeJS server are run on -one machine; this way NodeJS applications can make use of multiple -processors. For this purpose, research into \emph{process managers} --- -applications used for running and managing production-level systems --- -was carried out. - -\subsection{Process Manager Selection}\label{sec:pms} -A number of process managers were investigated with the hope of -incorporating them into the production -system~\cite{strongloop}\cite{pm2}\cite{forever}. The application pm2 was -chosen, primarily for its highly-configurable \emph{ecosystem}-config files, -and \emph{pmx}\footnote{https://github.com/keymetrics/pmx}, -its profiling extension. - -\subsection{pm2 and KeyMetrics}\label{sec:pm2} - -\begin{figure} - \centering - \includegraphics[width=0.95\linewidth]{km-dash} - \caption{The KeyMetrics dashboard web client in use.}\label{fig:dash} -\end{figure} - -A feature available in \emph{pm2} is the ability to transmit profiling -statistics to a web client, as a dashboard. The dashboard also allows the -user to remotely issue commands to the running instances. Further, -custom profiling information, and custom remote commands, can be created -through the introduction of simple logic into the codebase. - -\subsection{Process Limitations}\label{sec:plim} -Running multiple NodeJS instances can quickly accumulate counts towards a -user process limit: each instance hosts several threads, and each connection -to the PostgreSQL database can pool several threads also, resulting in many -threads per instance. Compounded with the fact that pm2 itself also runs -as a NodeJS instance, this means that a user can reach their process limit -on the host labs very quickly. Using \texttt{nolimit} on process -instantiation is one solution, however this means having to run -\texttt{nolimit} when starting the databse, deamonising the process manager, -starting the server instances, and doing any miscellaneous tasks. This -limitation has stunted hindered attempts to connect to other teams' -products. - -\subsection{Heroku Hosting}\label{sec:her} -In response to the issues addressed in \S\ref{sec:plim}, an attempt to host -an instance of the server on hosting service -\emph{Heroku}\footnote{https://heroku.com/} has been started. This would -alloow the team to interact with other teams, without using a member's -process limit and hindering their productivity. Additionally, it would show -the deployability of the system --- an important factor for a backend -server. - -\subsection{External System Hosting}\label{sec:ext} -Another option is to host instances of the system on devices personally -owned by members of the team. This would give the team absolute control over -configuration of the sytem, and would have the potential to outperform an -instance running on a complementary Heroku service. diff --git a/Report/texts/scrum.tex b/Report/texts/scrum.tex deleted file mode 100644 index ca724c8..0000000 --- a/Report/texts/scrum.tex +++ /dev/null @@ -1,17 +0,0 @@ -\section{Continued use of Scrum} -The scrum process was continued as we found this very useful in terms of clearly setting out tasks for each member and managing the progress of the implementation. One of the changes that was made for this sprint was the change in roles between team members. The change in responsibility allows team members to complete new and different jobs. In general the size and the time taken of each individual task was a lot more varied when comparing to the last submission, however, there were certain tasks which were larger in terms of hours put in. These large tasks included creating a logger system and a file converter. -\subsection{Sprints} - -\begin{figure}[h] - \centering - \includegraphics[width=0.6\textwidth]{burndown} - \caption{A Burndown Chart for the past 14 days.}\label{fig:burn} -\end{figure} - -As a team, it was decided that there would only be a single sprint, up until the next point of submission. This was because of the short time period, enough for only a two week sprint. In addition to this, the sprint assessment process was completed more often to ensure that as a team time was managed well and sufficient progress was being made. All the tasks that was set for this sprint were completed within the required time frame. -\subsection{Scrum board} -Again, the scrum board was used to outline and track the completion of each task. The same whiteboard in the John Honey main computer lab was used in order to maintain consistency. This gave a clear visual representation of the objectives. During the sprint, the main jobs required for completion were to further enhance the testing unit to increase its coverage across the implemented systems, implement a simple file converter and introduce a logging system for the server. Much experience was gained from completing previous sprints and so using this experience we were better equipped to handle larger tasks. Examples of the board in use can be found in Appendix \ref{app:board}. - -\subsection{Meetings} -Regular meetings were also held to discuss and evaluate progress. This was crucial in the scrum process and as working in a team to allow a point of communication between each member at the same point in time. An example of a major decision being made during the discussion was the change of language of the file converter implementation. It was decided that the more appropriate language to use would be C as there would more extensive libraries for this particular operation and would also have the advantage of greater efficiency. Multiple meetings were held during the most recent sprint to determine the tasks required for completion, to evaluate whether each task was completed and track progress in between. -The minutes for formal meetings are available in Appendix \ref{app:meet}. diff --git a/Report/texts/testing.tex b/Report/texts/testing.tex deleted file mode 100644 index e3f709b..0000000 --- a/Report/texts/testing.tex +++ /dev/null @@ -1,15 +0,0 @@ -\section{Testing} -Tests do not currently run on the gitlab server, as the postgres integration with the docker gitlab-ci is still missing. This means any tests run automatically when pushing will fail. \par -When running integration tests locally, please make sure the postgres server is up and running on localhost. -\subsection{Structure} -Testing files were restructured for a more organised and professional approach. All test files end in ``*.\(<\)context\(>\).test.ts'' and were moved to the ``test'' directory. At this moment, ``\(<\)context\(>\)'' includes ``unit'' and ``routes''. Further, they were categorised into \textit{integration} and \textit{unit} tests and moved into corresponding sub-directories. \par -Apart from making test files easier to find, this new structure also allowed us to run specific tests independently to isolate failures and quickly rerun individual tests. For example \texttt{yarn test:routes:auth} runs all authentication tests. -\subsection{Integration Testing} -\texttt{yarn test:routes} -This category of tests targeted the interplay of different server components as it tested server endpoints (routes) rather than internal functions. We aimed to test all routes for responses of success, and various degrees of failure. \par -E.g. \textbf{``auth.routes.test.ts''} tested the authentication middle-ware, checking existing users could log in only with correct usernames, passwords and reauthentication tokens. During our later meetings, we realised that security is a key-component of medical systems, and requires further much more in-depth testing to guarantee safety of patient data. \par -\textbf{``protocol.routes.test.ts''} aims to cover all endpoints specified in the agreed protocol by using the \textit{mocha-each} npm module. This allowed us to write few mocha testing functions iterating over the long list of endpoints, checking HTTP responses to fit the JSON response templates to conform to the protocol. This form of testing is still incomplete. -\subsection{Unit Testing} -\texttt{yarn test:unit} -The main motivation for this category of tests was to find bugs early on without having to run the whole server. This saves time and uncovers new code breaking old functionality. We also found that unit tests improved the design process by forcing implementation of code that is testable. Furthermore, unit tests were often used as a form of documentation, as it aided in understanding how code of other team members worked and could be used. \par -We decided that each team-member was responsible for creating the unit tests for their code. Unfortunately the number and coverage of unit tests is still quite low. This may be the result of prioritising functionality over bug-resilience and test-driven development. diff --git a/Report/texts/typings.tex b/Report/texts/typings.tex deleted file mode 100644 index 36297b7..0000000 --- a/Report/texts/typings.tex +++ /dev/null @@ -1,27 +0,0 @@ -\section{Type Enforcement} -In order to run JavaScript code as TypeScript code, typings (usually -supplied in a \file{.d.ts}-extended file) are applied at compile-time to -make sense of the original source's variable types. For a couple of -packages that have been used in the submission, these typings are not -available, due to a lack of desirablilty --- the packages in question are -niche and as such see little use. - -\subsection{mocha-each} -One such package is \emph{mocha-each}, a utility package for compacting -Mocha tests for readability and classification~\cite{mocha-each}. Without -typings, this package cannot be used in TypeScript projects. Due to its -single-facet use, however, it was simple to design a custom -\file{.d.ts} file. With small edits to conform to -guidelines~\cite{@types}, typings for -mocha-test were contributed to the DefinitelyTyped types repository\footnote{% -https://github.com/DefinitelyTyped/DefinitelyTyped/% -tree/master/types/mocha-each}. - -\subsection{pmx} -The package pmx (as previously described in \S\ref{sec:pms}) is useful for -profiling. Similarly to mocha-each, however, it does not have supported typing. -Since this package covers a far wider range of functionality, and since said -functionality is very involved with sensitive run-time engine manipulation, -typings were written only for the functions being used by the team, and have -been kept in-house for their incompleteness. The files in question can be found -in \file{src/profiler}. diff --git a/Report/title.tex b/Report/title.tex deleted file mode 100644 index 4406ef6..0000000 --- a/Report/title.tex +++ /dev/null @@ -1,15 +0,0 @@ -\title{Report \\ Juniour Honours Project \\[0.5ex] Submission 2} -\author{Hafeez Abdul-Rehaman \\[1ex] Johannes Weck \\[1ex] Josh Lee \\[1ex] Calum Duff \\[2ex] Tom Harley} -\date{\today} - -\makeatletter - \def\@maketitle{ - \begin{center} - \includegraphics[width=0.7\linewidth]{title-logo}\\[10ex] - {\huge \bfseries \@title{ }}\\[1ex] - \rule{0.5\textwidth}{.4pt}\\[1ex] - {\LARGE \@author}\\[15ex] - {\large \@date} - \end{center} - } -\makeatother diff --git a/report/Burn down Chart.xlsx b/report/Burn down Chart.xlsx new file mode 100644 index 0000000..9fa607e Binary files /dev/null and b/report/Burn down Chart.xlsx differ diff --git a/report/Makefile b/report/Makefile new file mode 100644 index 0000000..135009b --- /dev/null +++ b/report/Makefile @@ -0,0 +1,9 @@ +.PHONY: default clean FORCE + +default : main.pdf + +%.pdf : %.tex FORCE + latexmk -pdf $< + +clean : + latexmk -C diff --git a/report/appendix/minutes.tex b/report/appendix/minutes.tex new file mode 100644 index 0000000..44aa702 --- /dev/null +++ b/report/appendix/minutes.tex @@ -0,0 +1,68 @@ +\section{Meeting Minutes}\label{app:meet} +\begin{lstlisting} + +Group Project Meeting 1 post submission +Date: 12/02/18 +Topics: +Reassigning scrum roles +Creating next set of tasks +Task allocation + +Outcomes: +* Scrum: + * scrum master - Hafeez + * project owner - Calum + +*Tasks: + * Implementing endpoints + * Implementing file conversions + * Improving test coverage + * Writing tests for untested sections + * Connecting all middleware + * Decide on how to deal with errors + * Organising file-system + * Creating a Linter to maintain a consistent file structure + +Group Project Meeting 2 Pre-sprint +Date 19/02/18 +Topics: +Define user stories +Task allocation + +Outcomes: +* Sprint + * 2 Week long sprint + * Mid sprint meeting set for 26/02/18 +* Images + * Dealing with leica and zeiss files +* Testing + * Implementing unit and integration tests +* Logger + * Standard and SQL logger + + +Group Project Meeting 3 mid-Sprint +Date 26/02/18 +Topics: +updating progress + +Outcomes: +* Images + * Continued work on image files + * File extraction and testing + * Stitching +* Logger + * Needed a better one to log problems + +Group Project Meeting 4 post-sprint +Date 05/03/18 +Topics +Final tasks required before deadline + +Outcomes: + * Finishing off of the report + * Finish testing + * Process manager + * Hosting on heroku + +\end{lstlisting} diff --git a/report/appendix/scrumboard.tex b/report/appendix/scrumboard.tex new file mode 100644 index 0000000..e868278 --- /dev/null +++ b/report/appendix/scrumboard.tex @@ -0,0 +1,8 @@ +\section{Scrum Board Images} \label{app:board} + +{ +\centering +\includegraphics[width=\textwidth]{graphics/scrum.jpg} +\includegraphics[width=\textwidth]{graphics/scrum3.jpg} +\includegraphics[width=\textwidth]{graphics/scrum4.jpg} +} diff --git a/report/biblio.bib b/report/biblio.bib new file mode 100644 index 0000000..fdfc56b --- /dev/null +++ b/report/biblio.bib @@ -0,0 +1,189 @@ +@misc {tslint, + howpublished = {https://palantir.github.io/tslint/}, + title = {TSLint}, + publisher = {Palantir Technologies}, + year = {2016}, + note = {Accessed: 2018-03-01} +} + +@misc {protocol, + howpublished = {https://github.com/CS3099JH2017/cs3099jh/tree/master/protocols}, + title = {CS3099JH2017 Protocol}, + publisher = {CS3099 Year Group of 2017/18}, + year = {2018}, + note = {Accessed: 2018-03-02} +} + +@misc {yarn, + howpublished = {https://yarnpkg.com/en/docs}, + title = {Yarn}, + publisher = {Yarn Organization}, + note = {Accessed: 2018-03-02} +} + +@misc {typescript, + howpublished = {https://www.typescriptlang.org/docs/home.html}, + title = {TypeScript}, + publisher = {Microsoft}, + year = {2017}, + note = {Accessed: 2018-03-02} +} + +@misc {sequelize, + howpublished = {http://docs.sequelizejs.com/}, + title = {Sequelize}, + publisher = {Sequelize}, + note = {Accessed: 2018-03-02} +} + +@misc {sequelize-typescript, + howpublished = {https://github.com/RobinBuschmann/sequelize-typescript}, + title = {sequelize-typescript}, + publisher = {Robin Buschmann}, + note = {Accessed: 2018-03-02} +} + +@misc {postgres, + howpublished = {https://www.postgresql.org/docs/}, + title = {PostreSQL}, + publisher = {The PostgreSQL Global Development Group}, + year = {2018}, + note = {Accessed: 2018-03-02} +} + +@misc {mocha, + howpublished = {https://mochajs.org/}, + title = {Mocha}, + publisher = {mochajs}, + note = {Accessed: 2018-03-02} +} + +@misc {mocha-each, + howpublished = {https://github.com/ryym/mocha-each}, + title = {mocha-each}, + publisher = {ryym}, + note = {Accessed: 2018-03-02} +} + +@misc {chai, + howpublished = {http://chaijs.com/api/bdd/}, + title = {Chai Assertion Library}, + publisher = {chaijs}, + note = {Accessed: 2018-03-02} +} + +@misc {chai-http, + howpublished = {http://chaijs.com/plugins/chai-http/}, + title = {Chai HTTP}, + publisher = {chaijs}, + note = {Accessed: 2018-03-02} +} + +@misc {express, + howpublished = {https://expressjs.com/en/4x/api.html}, + title = {Express 4.x}, + publisher = {expressjs}, + year = {2017}, + note = {Accessed: 2018-03-02} +} + +@misc {passport, + howpublished = {http://www.passportjs.org/docs/}, + title = {Passport}, + publisher = {Jared Hanson}, + note = {Accessed: 2018-03-02} +} + +@misc {passport-local, + howpublished = {https://github.com/jaredhanson/passport-local}, + title = {passport-local}, + publisher = {Jared Hanson}, + note = {Accessed: 2018-03-02} +} + +@misc {morgan, + howpublished = {https://github.com/expressjs/morgan}, + title = {morgan}, + publisher = {expressjs}, + note = {Accessed: 2018-03-02} +} + +@misc {typedoc, + howpublished = {http://typedoc.org/guides/usage/}, + title = {TypeDoc}, + publisher = {TypeStrong}, + note = {Accessed: 2018-03-02} +} + +@misc {xlsx, + howpublished = {https://github.com/sheetjs/js-xlsx}, + title = {js-xlsx}, + publisher = {SheetJS}, + note = {Accessed: 2018-03-02} +} + +@misc {docker, + howpublished = {https://hub.docker.com/}, + title = {Docker Hub}, + publisher = {Docker Inc.}, + year = {2016}, + note = {Accessed: 2018-03-02} +} + +@misc {@types, + howpublished = {http://definitelytyped.org/}, + title = {DefinitelyTyped}, + publisher = {DefinitelyTyped}, + year = {2017}, + note = {Accessed: 2018-03-02} +} + +@misc {strongloop, + howpublished = {https://strongloop.com/}, + title = {StrongLoop}, + publisher = {IBM}, + year = {2018}, + note = {Accessed: 2018-03-07} +} + +@misc {pm2, + howpublished = {http://pm2.keymetrics.io/}, + title = {pm2}, + publisher = {KeyMetrics}, + note = {Accessed: 2018-03-07} +} + +@misc {forever, + howpublished = {https://github.com/foreverjs/forever}, + title = {foreverjs}, + publisher = {foreverjs}, + note = {Accessed: 2018-03-07} +} + +@misc {sharp, + howpublished = {https://github.com/lovell/sharp}, + title = {sharp}, + publisher = {Lovell Fuller}, + note = {Accessed: 2018-03-06} +} + +@misc {sharpPerformance, + howpublished = {http://sharp.pixelplumbing.com/en/stable/performance/}, + title = {Sharp Performance}, + publisher = {Lovell Fuller}, + note = {Accessed: 2018-03-06} +} + +@misc {zeissLicence, + howpublished = {https://www.zeiss.com/microscopy/int/products/microscope-software/czi/czi-download.html}, + title = {Apply for Zeiss Licence}, + publisher = {Carl Zeiss Microscopy GmbH}, + note = {Accessed: 2018-03-06} +} + +@misc {openseadragon, + howpublished = {https://openseadragon.github.io/docs/}, + title = {OpenSeadDragon}, + publisher = {openseadragon}, + note = {Accessed: 2019-03-07} +} diff --git a/report/graphics/1.png b/report/graphics/1.png new file mode 100644 index 0000000..089b8ef Binary files /dev/null and b/report/graphics/1.png differ diff --git a/report/graphics/2.png b/report/graphics/2.png new file mode 100644 index 0000000..1714110 Binary files /dev/null and b/report/graphics/2.png differ diff --git a/report/graphics/3.png b/report/graphics/3.png new file mode 100644 index 0000000..7eef8dc Binary files /dev/null and b/report/graphics/3.png differ diff --git a/report/graphics/4.png b/report/graphics/4.png new file mode 100644 index 0000000..8379ef7 Binary files /dev/null and b/report/graphics/4.png differ diff --git a/report/graphics/5.png b/report/graphics/5.png new file mode 100644 index 0000000..aeea913 Binary files /dev/null and b/report/graphics/5.png differ diff --git a/report/graphics/6.png b/report/graphics/6.png new file mode 100644 index 0000000..e3fb624 Binary files /dev/null and b/report/graphics/6.png differ diff --git a/report/graphics/7.png b/report/graphics/7.png new file mode 100644 index 0000000..a917d83 Binary files /dev/null and b/report/graphics/7.png differ diff --git a/report/graphics/burndown.png b/report/graphics/burndown.png new file mode 100644 index 0000000..f3ae71d Binary files /dev/null and b/report/graphics/burndown.png differ diff --git a/report/graphics/km-dash.png b/report/graphics/km-dash.png new file mode 100644 index 0000000..840395d Binary files /dev/null and b/report/graphics/km-dash.png differ diff --git a/report/graphics/scrum.jpg b/report/graphics/scrum.jpg new file mode 100644 index 0000000..4b5c911 Binary files /dev/null and b/report/graphics/scrum.jpg differ diff --git a/report/graphics/scrum2.jpg b/report/graphics/scrum2.jpg new file mode 100644 index 0000000..231cf1f Binary files /dev/null and b/report/graphics/scrum2.jpg differ diff --git a/report/graphics/scrum3.jpg b/report/graphics/scrum3.jpg new file mode 100644 index 0000000..012e9b3 Binary files /dev/null and b/report/graphics/scrum3.jpg differ diff --git a/report/graphics/scrum4.jpg b/report/graphics/scrum4.jpg new file mode 100644 index 0000000..ab1f7a5 Binary files /dev/null and b/report/graphics/scrum4.jpg differ diff --git a/report/graphics/scrum5.jpg b/report/graphics/scrum5.jpg new file mode 100644 index 0000000..e79e828 Binary files /dev/null and b/report/graphics/scrum5.jpg differ diff --git a/report/graphics/title-logo.png b/report/graphics/title-logo.png new file mode 100644 index 0000000..8a72423 Binary files /dev/null and b/report/graphics/title-logo.png differ diff --git a/report/main.tex b/report/main.tex new file mode 100644 index 0000000..dce9106 --- /dev/null +++ b/report/main.tex @@ -0,0 +1,38 @@ +\input{preamble} + +\input{title} + +\begin{document} + + \maketitle + \thispagestyle{empty} + \newpage + \setcounter{page}{1} + + \tableofcontents + \newpage + + \input{texts/aims} + \input{texts/scrum} + \input{texts/conversion} + % \input{texts/protocol} + % \input{texts/auth} + \input{texts/logging} + \input{texts/process-management} + \input{texts/testing} + \input{texts/typings} + \input{texts/conclusion} + + \appendix + \newpage + \input{appendix/scrumboard} + \newpage + \input{appendix/minutes} + + \clearpage + + \nocite{*} + \bibliography{biblio}{} + \bibliographystyle{plain} + +\end{document} diff --git a/report/main.toc b/report/main.toc new file mode 100644 index 0000000..c9dcd7b --- /dev/null +++ b/report/main.toc @@ -0,0 +1,34 @@ +\contentsline {section}{\numberline {1}Aims for submission 2}{2} +\contentsline {section}{\numberline {2}Continued use of Scrum}{2} +\contentsline {subsection}{\numberline {2.1}Sprints}{2} +\contentsline {subsection}{\numberline {2.2}Scrum board}{2} +\contentsline {subsection}{\numberline {2.3}Meetings}{3} +\contentsline {section}{\numberline {3}File Conversion}{3} +\contentsline {subsection}{\numberline {3.1}Dealing with Images}{3} +\contentsline {subsubsection}{\numberline {3.1.1}Extraction of Zeiss Within `C'}{4} +\contentsline {subsubsection}{\numberline {3.1.2}Converting Extracted Files}{4} +\contentsline {subsubsection}{\numberline {3.1.3}Stitching Base Tiles}{4} +\contentsline {subsubsection}{\numberline {3.1.4}Building Up Hierarchy of Zoom Levels}{5} +\contentsline {subsection}{\numberline {3.2}Leica \& Other Formats}{5} +\contentsline {subsection}{\numberline {3.3}Non image formats (\texttt {.csv} etc.)}{5} +\contentsline {section}{\numberline {4}Logging}{6} +\contentsline {subsection}{\numberline {4.1}Standard Logging}{6} +\contentsline {subsection}{\numberline {4.2}SQL Query Logging}{6} +\contentsline {subsection}{\numberline {4.3}Motivation}{6} +\contentsline {section}{\numberline {5}Process Management and Deployment}{6} +\contentsline {subsection}{\numberline {5.1}Process Manager Selection}{6} +\contentsline {subsection}{\numberline {5.2}pm2 and KeyMetrics}{6} +\contentsline {subsection}{\numberline {5.3}Process Limitations}{7} +\contentsline {subsection}{\numberline {5.4}Heroku Hosting}{7} +\contentsline {subsection}{\numberline {5.5}External System Hosting}{7} +\contentsline {section}{\numberline {6}Testing}{7} +\contentsline {subsection}{\numberline {6.1}Structure}{7} +\contentsline {subsection}{\numberline {6.2}Integration Testing}{8} +\contentsline {subsection}{\numberline {6.3}Unit Testing}{8} +\contentsline {section}{\numberline {7}Type Enforcement}{8} +\contentsline {subsection}{\numberline {7.1}mocha-each}{8} +\contentsline {subsection}{\numberline {7.2}pmx}{8} +\contentsline {section}{\numberline {8}Conclusion}{9} +\contentsline {subsection}{\numberline {8.1}Next Tasks}{9} +\contentsline {section}{\numberline {A}Scrum Board Images}{10} +\contentsline {section}{\numberline {B}Meeting Minutes}{12} diff --git a/report/preamble.tex b/report/preamble.tex new file mode 100644 index 0000000..14787a9 --- /dev/null +++ b/report/preamble.tex @@ -0,0 +1,13 @@ +\documentclass{article} + +\usepackage[margin=1in]{geometry} +\usepackage{a4wide} + +\usepackage{graphicx} +\graphicspath{{./graphics/}} + +\usepackage{float} +\usepackage{listings} +\usepackage{cite} + +\def\file{\texttt} diff --git a/report/report.md b/report/report.md new file mode 100644 index 0000000..323c98e --- /dev/null +++ b/report/report.md @@ -0,0 +1,303 @@ +# Junior Honours Project 2017 - 2018 +## BACKEND GROUP 4. +|User ID | Name | Matrticulation Number | +|:------:|:--------:|:----------------------:| +|cjd24 | Calum | 150011830 | +|trh | Tom | 150001937 | +|har4 | Hafeez | 160006551 | +|jl247 | Josh | 150010415 | +|jw255 | Johannes | 140013112 | + + + + + + +### Requirements Overview: +For every version you submit, you are required to submit the following to MMS as a team: + +1) A working version of your software, which includes a test suite. By version we +mean a version of the finished product. It is up to you to decide how you have divided +the entire finished product into versions. + +2) A report which details how you have followed the SCRUM process. + + It should include: + + a) A list of all user stories contained in your Product Backlog and Release Backlog; + this is expected to evolve from version to version. + + b) Documented evidence that you have followed SCRUM, e.g., timestamped photographs of + your Product Backlog, Release Backlog, Sprint Backlogs, and task boards (if you + are using a physical whiteboard), or timestamped screen grabs of any tools you + are using instead. + + c) The process you used to estimate how long user stories would take to implement. + A burndown chart should also be included to track progress. + + d) Team structure and role assignment + + e) Meeting outcomes: sprint planning, sprint retrospective, and an overview of + stand-up meetings (i.e. meetings don’t need to be documented individually) + +3) You should then demo the working version of your software to your supervisor at + one of your regular meetings. + + + + + + +### Design Choices: +- Scrum +Using the scrum approach as advised by the project specifications facilitated the planning and running of group meetings. As the year wide protocol continued to change throughout the development process, an agile working process addressed the complex problem of changing requirements through its iterative and incremental system. +One of the essential parts of this process was distribution of responsibility, planning of time and ordering of tasks for the next release. Oftentimes we had to spend some time researching a topic before we could decide on the task allocation and if it should be included in the next release. For example, we decided early on that the file-conversion was less important... **To be continued** +**MORE SHOULD BE SAID HERE PLZ?** + +- Database +We chose to use Postgres for our database system, after considering the benefits and drawbacks of different databases compatible with NodeJS. Its greatest advantage is its object-relational data model, JSON support and scalability. We also decided that it would be significantly less efficient to store our raw files inside the database as Blobs etc. This is because the nature of the files that we will be dealing with are likely to be huge. So storing masses of binary data in the database which is likely to never actually be "edited" in the same way as some other binary data might, then it would be a significant overhead for no return. As such we opted for designing our infrastructure in such a way that we will have a (nearly) '*flat*' filesystem, where all files are stored under a UUID. All notion of "directory hierarchy" and "filenames" would be stored internally with relations in the database. As possible extensions, we could then store direct references to files (or perhaps even offsets within files) to act as a very high performing cache server for frequent data, or data that we could predict is going to be accessed in short time proximity. + +- File management + +-- Folders +A part of the specification required the use of folders to group together files in a project. The issue I first came across were how folders not just contained other files but would quite often have other folders inside them as well. My second issue was navigating through the folders to get to the files, this meant that given a folder you could return the contents of that folder as well as being able to find all other files at the same level in the system. + +To manage my first issue I included a table called dirent with an inheritance relation so that a dirent could either be a folder, image or text. Having this table made it easy to query on data as well as better representing how files could be stored within folders. This meant that a folder would be related to a dirent which could then be linked to the specific type on creation. + +There were two ways to manage the navigability, either store the file path with each dirent or store the ID of the superfolder it was contained in, I decided on storing the ID. This created a link system and to therefore view files within a folder you would search all files which had the same ID as the super folder. + +E.g 1) To locate an image called image1 at folder1/folder2/folder3/image1 to find it you would use the queries + +SELECT * FROM dirent NATURAL JOIN folder WHERE folder_name = 'folder1' AND super_folder is null AND project_name = 'project 1'; +SELECT * FROM dirent WHERE super_folder = '77dea3b7-523e-463a-aff1-3d8b92259fbb'; +SELECT * FROM dirent WHERE super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; +SELECT * FROM dirent NATURAL JOIN image WHERE super_folder = '22b94214-6942-40dd-b8af-deb1371fa298'; +![Alt text](1.png?raw=true "eg1") + +From this directory if you wanted to find dirents contained within folder 2 you could use the queries + +SELECT * FROM dirent WHERE id = '22b94214-6942-40dd-b8af-deb1371fa298'; +SELECT * FROM dirent WHERE super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; +![Alt text](2.png?raw=true "eg1_cont") +Showing all three dirents in this folder. + +-- File identification +In choosing the ID for the files I originally had an auto increment ID. The issue with this would be that a hazardous user could guess the ID of a specific file, accessing files without the required permission. To get around this I used a randomly generated UUID. This made it almost impossible to guess the ID and is universally unique. + +-- File storage +Originally I thought of storing files within the database in blob format although this seemed to work well I felt that the scalability of this method would be not be effective. I also felt that it would be a lot harder to backup the database as the number of files grew. Instead the database contained the structure of the file system with info for each file including the UUID for each file. This made it easy to return files from our own file storage system with matching UUID each time a request was made. + +-- Projects +Another requirement of the database was the need for projects which also helped group together files. A user could also have per project privileges such as adding files into that project. To manage this, on creation of a project it was given an owner matching the current logged in user. I created a trigger which also granted all permissions (admin) to the owner giving them control over the permissions for their project. + +E.g 2) using +INSERT INTO project ("project_name", "owner") VALUES ('project 1', 'josh') +Would give all permissions to josh in project 1. + + + +- User management + +Once the file system had been set up I wanted to have a robust user permission system that would consistently allow the API to check permissions. + +Permissions were split into 2 types +User based permissions. +The user based permissions were create project, create user, remove user , edit user, view projects and view users. + +Project based permissions. +The project based permissions were add files, edit files, remove files and view files (remove project could also be included here but I decided to make that only accessible to the owner and an admin user) This was more difficult because each user would have different privileges on different projects. + +-- Set up +My initial thought was to have columns for each permission in the user table. I soon realised this was hard to manage once revoking privileges is implemented. I decided on creating a tree system for user permissions similar to how the database manages its own privileges. This meant that if one user granted many permissions and then had their own permission removed, all user permissions granted by the revoked user would also be removed. I decided to represent this by having a table for each permission. There were two main reasons for this + +1) This made it easy to check permissions e.g to check whether a user had add file permissions you would just go into the add_files table and check whether it contained a row corresponding to that user. + +2) On each grant the permission ID is stored as a foreign key of its own table representing how a specific user was given that permission . This meant that if a user was deleted or a privilege was revoked it would also remove privileges of sub grants by using ‘on delete cascade’ + +E.g 3) the image below shows the table add_files +![Alt text](3.png?raw=true "add_files") +Josh granted permission to user 2 who then granted permission to both user 3 and back to user2. When user 2 has his permission revoked both permissions that were granted by user 2 are also revoked. +![Alt text](4.png?raw=true "granted permissions") + + +-- Returning all permissions for each user +On looking at the specification it seemed clear that there were a lot of API requests to get all permissions that a user had been granted. By storing the permissions in their own table required searching every single table every time you wanted to do this which would be ineffective. Combining this with my original idea I created a summary table, if a user was then granted a permission it was added into the summary table with the permission ID by means of a trigger. This meant a slower insert but was highly beneficial in being easy to search. The combination of these two methods kept the system robust whilst making it easy to query on. + +Ex 4) Following on from example 2 it is now easy to see how all the permissions are given to a user when a project is created. +![Alt text](5.png?raw=true "eg4") +Also if josh grants permission to user2 to add files you can see below the permission is added. +![Alt text](6.png?raw=true "eg4_cont") +When the permission is revoked that column for user2 is set null. +![Alt text](7.png?raw=true "eg4_cont2") + +-- User information +In order to login the user the user table contains a password to each user. This password was stored md5 hashed. (I also want to add salting for a later hand in for additional security). +Also in the user data is metadata both private and public that could be seen/ managed based on your own permissions or whether you are viewing yourself. I used views to represent the different accesses on the user table to prevent things such as password being included in the query result. I also stored this metadata as Json type instead of individual columns for each attribute. This made it easier to match the expected request format and also helped group together the metadata. + + + +- Server +For the implementation of the server, we chose a typescript-nodejs approach. NodeJS seemed a common and sensible choice, as all members of the team had previous experience and it is a scalable, and well-supported development framework that runs on both Unix and Windows infrastructures. It is easy to deploy and furthermore offers more speed and a nonblocking I/O API in comparison to Java or .Net servers. We then chose the TypeScript superset of JS as it provides typing, classes, interfaces and IDE support for developers which makes the language easier to use and more robust. In particular we chose to specialise our node app with express, and a comprehensive middleware stack. This middleware stack would carry out tasks such as logging, body parsing, type checking, with potential to be expanded as the project matures. We also decided on Sequelize as our ORM. This was due to wide support in the deployment community with favourable reviews of its functionality - as well as having a specialisation called sequelize-typescript, which massively simplifies syntax, and appeared to integrate to our design model very nicely. + +- Project Approach and Expansion +Once most of the core decisions had been made in isolation of the incorporation into the submission as a whole, we had a **meeting** to decide how these should best operate together. +The approximate approach that was decided on is as follows: + - The Node Server would catch all valid API endpoint requests and pass them to handler functions. + - Since almost all requests that are made to the server, some way or another need to talk to the database, then during initialisation of the server, a connection would be made to the postgres database, which would persist throughout the life of the server. This connection would then be utilised by our ORM solution to carry out queries. + - The request would be formulated through the ORM (or by direct file access for things like server config.) and then passed to the DB serer. + - The response would hopefully be ready as we require it, however at this stage there can be logical checks done of the data if necessary. + - We would then run it through some typechecking middleware to ensure that the content that we are serving back to a client is valid JSON. + - The Response would be served back to the client and the request would be considered *successful*. + + Expansion: + - Once the basic implementation according to the protocol was complete, it was discussed on multiple occasions, and in detail of possible ways to make this core service better. + - Building on the ATOMIC nature of a database transaction, and given the Users deployment scenario - multiple research facilities potentially across multiple geographically diverse locations, we thought it would be critical to allow the database to have multiple instances operating concurrently. + - Approximately how this would look, is that clients talk to the backend server they are physically closest to on the network for the best possible latency. + - Since there can be multiple nodes however to serve clients in different locations, then the servers would then need to make best attempt to synchronise in an Atomic manner. + - This would make our system far more scalable in the future, and may have potential applications for things such as a "live" backup server - since medical data is all fairly critical. + - On top of the transactions to the Database being atomic and synchronised across all instances of the server, we would additionally need to consider the physical distribution of file storage. + - Since we made the design decision to store all of the actual files, outside of the database, then keeping ATOMIC communication to each instance server, does not necessarily solve the issue of file replication. + - For example, if a memeber of a group is working on a node other than the "root" node where that project was created and all of the data happens to be stored for it, then we will need to include some kind of notion of a "server reference" for each file known about by the database. + - Then, if a client made a request for data not locally stored, it could either be re-directed by the server to the other node, or the server forwards the request then pipes it back to the client. + - Alternatively as a further specialisation of this functionality, the server could intelligently detect related data to the "foreign" request being made, and pre-emptively load in the data from the alt server, so it is ready to serve future data locally. This data could be cached locally and used, then re-synchronised if changes were made back to the original, or dropped if it was just for reading. It is likely however that most of these interactions will be reads, so things like carrying out a machine learning session on some data, would only require the (probably) smaller file containing the results to be synchronised back which is a much easier task as it would likely just be new file upload to the remote server. + + + + + + + +### Year Wide Protocol Compilation: +As part of this practical, a final solution to the over-arching problem is that the end-user +should be able to "*pick-n-mix*" one submission from each [Backend, HCI, Machine Learning]. +In order to successfully achieve this, all of the participating groups throughout the year +are required to formulate between themselves and agree upon a single protocol for each +component to talk over. +Various meetings were organised on a variety of topics between members who were interested +in affecting the outcome. Minutes of these meetings can be seen at: +[Maybe Here?](https://github.com/CS3099JH2017/cs3099jh) +**We should also probably detail roughly what was said at each of these meetings/summaries etc? GET THE RECORDED DATES** + + + + + + + + + +### Scrum: +After groups were eventually allocated for this group project, the team met up quickly to +discuss the **Scrum** method of doing work, and figure out how roles should be shared amongst +the team members. + Team Structure and Role assignment + -Supervisor -> Adam + -Scrum Master -> Tom + -Product Owner -> Calum + -Developer -> Hafeez + -Developer -> Josh + -Developer -> Johannes + +It was initially decided that Tom would be the "Scrum Master", and Calum would be the +"Product Owner", and that the roles would be rotated around other group members, +approximately bi-weekly. +A quick brainstorming session was then had to interpret our specification and quickly fill +in the User Epic stories, along with some more decomposed stories and requirements. +As the specification requires, the following is a list of the stories the group came up with. + + +(Time Est | Time taken) +- User Epic stories ------- (Continuous) + - Create a "plug and play" module, providing backend functionality to the clients requirements. ------- (Continuous) + - Conform to a year-wide protocol specification to ensure inter-operability. ------- (Continuous) + - Support the notion of 'Projects', 'Users' with specialisations such as Admin, 'Conversion to Standard File Formats'. ------- (Continuous) + - Be Complete by 23rd April 2018. + - First Release 9th February 2018 +- Design ------- (2-3 Weeks | 3 Weeks) + - Design Test Interface ------- (3 Days | 1 Week) + - Separation of Machine Learning tests & HCI tests. ------- (1 Day | 3 days) + - Plan what mocks of other groups are required to ensure usability. ------- (2 Days | 4 days) + - Design Server ------- (1 week | 1.5 Weeks) + - Stubs for conforming to protocol ------- (1 Day | 3 Days) + - Structure and Core Packages ------- (5 Days | 1 week) + - Language(s)? we will use & why. ------- (1 Day | 1 Day) + - Design Database ------- (1 week | 1.5 Weeks) + - Which database will we use? ------- (1 Day | 1 Day) + - Schema ------- (2 Days | 2 Days) + - ER Diagram ------- (5 Days | 1 Week) +- Implementation ------- (Continuous) + - Database Implementation ------- (~3 Weeks) + - Interface/Linking with the root to the file system. ------- (3 Days) + - Notion of Secure Access for the database. ------- (1 Week) + - Dealing with various filetypes - Conversion / Standardisation for storage. ------- (2 Days) + - Standard procedures for fetching. ------- (2 Days) + - Deal with Storing Image Data (+ other binary formats?) / JSON. ------- (5 Days) + - Deal with storing plain text + tabular data. ------- (5 Days) + - Create Database from schema ------- (3 Days) + - Server Implementation ------- (~1.5 Months | 2 Months) + - Setup initial HelloWorld Sever to ensure correct installation & dependencies. ------- (1 Day| 1 Day) + - Create Strong/Reliable link between server functions and underlying filesystem for database. ------- (1 Weeks | 2 Weeks) + - Create Strong/Reliable link between server functions and the database. ------- (5 Days 1 Week) + - Create pre-processing functions to standardise Data passed in. (images->png & plaintext->csv/json) ------- (1 Week | in proc.) + - Deal with responses to a client ------- (4 Weeks | in proc.) + - Involving continuous file transfer (For example, whilst panning Large Pathology photos.) ------- (1 Week) + - Involving 'simple' file transfer (getting whole file at once for csv etc.) ------- (1 Week) + - Involving file uploads All at once. ------- (1 Week) + - Involving file uploads in chunks for files above 8Mb. ------- (1 Week) + - Create Node "router" to capture all required URLs and forward to functions to handle based on protocol. ------- (1 Day) + - Create Basic error response functions which can be called from anywhere to deal with any potential problems and safely respond to client. ------- (2 Days) +- Testing ------- (9 Weeks | in proc) + - Server Testing ------- (3 Weeks | in proc) + - Create methods to test logic of JS/TS which can be re-run on each commit ------- (2 Weeks | in proc) + - From Backend's perspective ------- (1 Week | 2 Weeks) + - From HCI's perspective ------- (1 Weeks | in proc) + - Create unit tests for individual files can be re-run on each commit ------- (1 Weeks | 1 Weeks) + - Database Testing ------- (2 Weeks | in proc.) + - Carrying out Optimisations/Streamlining ------- (5 Days) + - Profiling of performance of UnCommon Actions (delete) ------- (4 Days) + - Profiling of performance of common actions (file creation/file reads) ------- (4 Days) + - Accuracy of file retrieval ------- (1 Day) + - TestInterface Implementation ------- (2 Weeks | 2 Weeks) + - Create HTML5/JS to retrieve NON image data and display ------- (1 Day | 2 Days) + - Create HTML5/JS to retrieve image (or section of) data and display ------- (1 Day | 4 Days) + - Create HTML5/JS to begin an ML session on some data and retrieve results. ------- (1 Day | 1 Day) + - Create HTML5/JS to check a user/group information ------- (1 Day | 1 Day) + - Create HTML5/JS to upload various filetypes and ensure they convert to universal format. ------- (1 Day | 2 days) + - Create HTML5/JS to action a login ------- (1 Day | 2 days) +- Extension Implementation ------- (~3 Weeks | outstanding) + - Develop a Caching function for frequently accessed files, or anticipate UUIDs next to be accessed for increased performance. ------- (1 Week) + - Extend our basic server implementation, to support multiple instances and ensure ATOMICity of DB and sensible file distribution. ------- (2 Weeks) + - Upgrade all HTTP interactions to HTTPS ------- (2 Days) + - Add support for Lecia file conversion (heavily licenced) ------- (2 Weeks) + + +Additionally as part of following the scrum methodology of development, the group carried out a selection of meetings to: +1) Evaluate the current sprint (Work complete, standard, sprint time etc. +2) Retrospectively plan anything with crept up throughout the past sprint, and evaluate how we dealt with it. +3) Catch up with each others' progress and decide on work distribution +The Following is a quick summary of these meetings: + +> Meeting 1: +> > Date: +> Time: +> Attendance: +> Content : + +> Meeting 2: +> > Date: +> Time: +> Attendance: +> Content : + +# Need to upload the pictures of our scrum board to the repository/report! +# ALSO need to upload our burn-down charts to this report. + + + + + +### Sources: +[Help regarding creating a restful api with both node and typescript as a combo](http://mherman.org/blog/2016/11/05/developing-a-restful-api-with-node-and-typescript/#.WlW1fhdpw8o) +[Typescript for Node](https://basarat.gitbooks.io/typescript/docs/quick/nodejs.html) +[Sequelize (ORM library for connecting to the Postgres Database)](https://sequelize.readthedocs.io/en/v3/) +[Sequelize-Typescript specialisation (For making sequelize more adapted for postgres over mysql)](https://github.com/RobinBuschmann/sequelize-typescript) diff --git a/report/report.tex b/report/report.tex new file mode 100644 index 0000000..dae5b11 --- /dev/null +++ b/report/report.tex @@ -0,0 +1,438 @@ +\documentclass{article} +\usepackage[margin=1in]{geometry} +\usepackage{graphicx} +\usepackage{a4wide} +\usepackage{float} +\usepackage{listings} + +\graphicspath{graphics} + +\begin{document} +\title{Report --- Juniour Honours Project Submission 1} +\author{Hafeez Abdul-Rehaman, Johannes Weck, Josh Lee, Calum Duff, Tom Harley} +\date{\today} + +\maketitle + +\tableofcontents + +\section{Requirements Overview} +For our Junior Honours project, we are to design and create a database +for a system which will be used primarily for the sharing and viewing +of various medical and pathological media. + +Our database is to be: +\begin{description} + \item[User-aware] The system should act as a platform for managing + users and their permissions, with respect to viewing and affecting + projects and media. + \item[Filetype-agnostic] The system should accept files in a + variety of filetypes and be able to translate between them, in order to + provide a user with a desirable output filetype. + \item[Substitutable] The system should follow standardised + communication protocols, to participate in a framework of modularised + systems created in conjunction with other Junior Honours groups. +\end{description} + +\section{Using Scrum} +The Scrum approach facilitated the +planning and running of group meetings. As the year-wide protocol changed +over time, an AGILE working process provided the granular iteration +required to address the frequent design changes. + +\subsection{Scrum Board} +Throughout the project a Scrum board has been used to keep track of current tasks +and further items to implement. A whiteboard in the John Honey main computer lab +was used throughout this process. Examples of the board in use can be found in +Appendix \ref{app:board}. + +The Scrum board made visualizing tasks and progression straightforward. +Using it in meetings helped with determining how much was still to be done. + +At times the \emph{In Progress} section of the Scrum board seemed unbalanced; +at these times several people were working on the same large task, and so fewer +notes were placed in this column. + +\subsection{Time Management} +Based on how tasks were split, and the difficulty of various tasks, we estimated +durations for each task. Due to the widely-varying estimated completion times, +we decided to distribute our Sprint durations accordingly. +Initially, we divided our total available time with the number of available tasks, +but over time experience from previous work and from previous meetings was helpful in +refining the expected duration of the future tasks. +This, combined with +the late reveal of the specification meant that work was done over holidays, greatly +warping the duration of several Sprints to be longer than anticipated. + +\begin{figure}[H] +\centering + \includegraphics[width=\linewidth]{graphics/chart.png} + \caption{A Burn Down chart graphically representing average completion time of tasks} + \label{fig:burndown} +\end{figure} + +\subsection{Meetings} +Meetings were held every 1-3 weeks with the entire team. +They were carried out in person or, during the holidays, using +voice chat clients. + +Meetings helped members of the team understand what was being done by +other members of the team, particularly in areas were only one person +was working. They also helped the team decide on what was important to +attempt in the next Sprint. + +The minutes for formal meetings are available in Appendix \ref{app:meet}. + +\subsection{Paired Programming/Teamwork} +Paired Programming was used extensively throughout implementation of basic server +functions, such as writing logic for the public protocol endpoints. + +Multiple people working on a single task reduces the total actual time it takes to +complete. This allowed larger tasks that would not normally fit into a regular Sprint +to still be tackled within a single Sprint. + +At times the entire team was in labs, working concurrently on separate tasks. + +Having everyone in the same place focussed everyone on the task at hand and greatly +improved communication, keeping everyone working on what was important and not dallying. + +\subsection{Evaluation of Work Done/To Do} +The Scrum board and regular meetings greatly aided in our evaluation of how much work +had been completed, and how much there was left to do, at the time. Now that we're +used to Scrum, evaluation of further tasks (such as extensions) should be more +realistic, and tasks are more likely to be assigned to Sprints with enough time to +accommodate them, instead of persisting to the next Sprint. + +\section{Design Decisions} +\subsection{Database} +\subsubsection{Security} +Passwords in the database are currently stored totally unencrypted. Initially, +the focus of work was on routing traffic, and for this purpose salting +passwords is unnecessary. Once the server is past development phase, passwords +will be encrypted in some secure fashion. + +\subsubsection{File Representation} +File paths are stored in the database, represented as one-to-many parent-folder-to-file +mappings. This decision was made since all files will already have entries in the +database (such as metadata and their UUID), and adding the remainder of necessary +information for a file would be simple. + +While file paths are stored in the database, the file content itself will not be. +It has been specified that the system should be capable of storing large files, +and databases may struggle with the difficulties of storing variable-size Binary +Large Objects when said objects are of this scale. In addition, the breakdown and +caching of large images into image pyramids both increases the quantity of binary +data that will need to be stored, and greatly increases the number of reads and +writes carried out by the server on binary data. File systems, on the other hand, +are optimised for jobs of this kind. + +The resulting setup is a virtual filesystem that resembles a regular filesystem, +and a very flat physical filesystem: a root folder containing a folder for each +project, which in turn contain all non-folder files belonging to that particular project. +Keeping the files separated by folders named after their projects allows for simple +deletion of an entire project. + +All files in the database are given a UUID, which serves a number of functions: +\begin{enumerate} + \item It is the name of the file in the physical file system on disk, + \item It can be used to uniquely identify a file irrespective of its position + in the virtual file system, + \item It can be used to keep a reference to a file even if it is moved + (or even if it is deleted). +\end{enumerate} + +Examples of SQL queries using the structure described can be found in Appendix +\ref{app:sql}. + +\subsection{Server Framework} +This practical requires a variety of utilities, and should be easy to document and +to understand from an outside perspective. Additionally, it was decided that for a +large project a language and platform that all members of the team were comfortable +with was a high priority. Finally, the system would need to be scalable, in the sense +that additional features should be easy to implement and plug in to the +already-functioning system. + +For these reasons, NodeJS and Typescript were chosen as the framework and language +for the project. + +\subsubsection{NodeJS} +NodeJS has a huge library (or \emph{package}) repository, providing teams with a wide variety of options on how to implement projects. Its ease of deployment on both *nix and Windows systems, +and its common IDE support make it ideal for team development. + +\subsubsection{Typescript} +While not every team member had previously used Typescript, all had used and are comfortable +with Javascript, and were willing to take on the slight increase in complexity for static +type checking. Typescript's compile-time checks and IDE integration remove the ambiguity of +Javascript from large projects, improving their scalability and maintainability as the project +increases in size. + +\subsubsection{ExpressJS} +A core package used by the project for client-server communication is the middleware handler +ExpressJS. This package allows for easy insertion and use of any number of middlewares, both created in-house +and imported from other packages. Uses for this multi-layer structure include authentication, user +permission checking, and wrapping responses with statuses. + +ExpressJS also handles client-server communication through a RESTful API. + +\begin{figure}[H] + \centering + \includegraphics[width=1.5in]{graphics/be-layer-structure.pdf} + \caption{Structure of Layers in a Server Instance} + \label{fig:layer} +\end{figure} + +\subsubsection{Sequelize (and Sequelize-Typescript)} +Sequelize was chosen as the ORM package to use to connect to the database server. It was chosen over other +similar packages for its variety of powerful features (such as eager loading) and its large user-base. +It can connect to a variety of SQL-dialect databases, and hides the low-level table interactions to create +a simple abstraction to Javascript objects. +Furthermore, it also has comprehensive and clear documentation, providing better access to these features. + +In addition to Sequelize is the add-on package Sequelize-Typescript: this improves Sequelize syntax to +accept ES6 classes with Typescript types as ORM model definitions, amongst other smaller improvements +made possible by Typescript's experimental annotation support. + +\subsubsection{Token-Based Authentication (Passport/JWT)} +The protocol designed by the entire year uses a token-based authentication service +similar to and inspired by OAuth2. Using token-based authentication removes the need +for sessions or for cookies while still providing a smooth and secure user experience, +and simplifying client design. +It was decided that implementing OAuth2 in its entirety would be superfluous. OAuth2 +relies on the acquisition of tokens from third parties, which would be unsuitable for +a simple system such as this. + +The Javascript package Passport was used for handling authentication through this protocol. +Passport's support for custom authentication services in addition to its synergy with ExpressJS middleware +support made it an obvious choice. + +For generating authentication "bearer" tokens, JWT was used. + +\subsection{Testing Framework} +Testing was extensive and concurrent to the implementation in each Sprint. This was to ensure minimal time was spent debugging which then prevented the team from missing the Sprint deadlines. Unit testing was one of the primary methods of testing individual functionality. This was very useful for a modularised task as each module could be debugged without affecting other modules which were functioning as expected. Producing unit tests concurrently with the implementation of certain functionality gave the advantage of designing the functionality around the possible input or validation errors that may occur. MochaJS and ChaiJS were the JavaScript frameworks used for unit testing. These were chosen due to their simplicity of use and strong compatibility with TypeScript and Express.js. They both also allowed automation which increased efficiency and productivity. An example of tests that were performed include matching the response object for all routes to what is expected as defined by the protocols. + +Unit test were convenient for implementation, however, to be thorough further tests were applied whilst the server was actually running in order to ensure that different components work as expected as a larger unit. These particular tests were applied during the end of each implementation iteration as all components are needed. The process began by starting the server on a host machine and specific port. Then tools such as cURL and Postman helped act as the client, in order to send appropriate requests to the server. A set of requests were sent and the responses given were compared to the responses that were actually expected. Some stages resulted in server errors which described bugs in the system where previously we would not have foreseen. + +As well as testing the individual functionality of components, testing was also carried out on data types to ensure certain programming errors will be detected and reported. This was also completed using MochaJS and ChaiJS. + +Further testing is still in progress however this requires additional components to be added to the system in upcoming Sprints. One portion of testing includes producing a mock user interface in order to test integration further on with other sections of the system which are completed by other teams. A client-side SDK for each request is generated by SwaggerHub, which prevents any focus being applied to user interaction and keeps the back-end server as the main task. + +\section{Looking Ahead} +\subsection{File Agnosticity} +It is the goal of a backend server to be able to support any file type possible as part of a project. These may be miscellaneous files that a user would like to store in the project, or it may also be a temporary file created by an HCI or ML service which is proprietary to the work they are carrying out. In the average case where a file is one of the Users’ complex image formats, or an excel spreadsheet perhaps - the server should be capable of converting this into a standardised file format that anything should be able to read. In particular, if a ‘Leica’ file is uploaded in ‘.scn’, our server should be capable of converting this into whatever resolution of sub pictures in PNG format so that we can ensure interoperability between components and clients. The server may still hold on to the original file and, in-fact would be expected to do so, but should only ever hand out standard formats from endpoints. In the case of Excel files (.xlsx), the server should be capable of transforming these sheets into ‘.csv’, to be read from another service, whilst maintaining the ability for clients to still download the original proprietary format. For example, if an ‘HCI’ client is connecting through a mobile phone, the client shouldn’t care which format an image was uploaded to a project in, as it should always send out a standard (PNG for images) format to remain type-agnostic. + +\subsection{Advanced Telemetry} +As part of professional development, an end goal was set to enable the server to be particularly self-aware through advanced telemetry monitoring. There are many benefits to this, mainly improved system performance to reduce bottlenecks, as well as being resilient to errors that may crop up with user interaction. +Some forms of telemetry considered were continually monitoring the kinds of requests that are coming in and check to see if they access similar locations. Then UUIDs could be cached with meta information such as hit count, and related files so that the sever could learn about the kinds of operations being carried out on it, and report back to some kind of systems admin. We could also start to preemptively carry out certain tasks such as unpacking and converting spatially adjacent images for files that are currently being browsed to reduce latency on further “panning” of the file for example. Statistics about this kind of operation could be gathered, such as time taken to complete and the time difference that was saved by doing so. These kinds of results would then be used to make an internal decision if some of the files should be “permanently” stored in some converted format. + +With regards to the scalability potential of running multiple instances, there is a plethora of further telemetry that can be gathered about connections made between instances, both with reference to the content in the database and the ACID/atomic properties which would need to be upheld, as well as with regards to the physical file distribution across multiple geographical nodes. +There could then be all kinds of algorithms to determine if files should be “invisibly” shuffled around behind the scenes to provide a more seamless experience for the end-user. + +\subsection{ACID Distribution} + +\begin{figure} + \centering + \includegraphics[width=3in]{graphics/acid-echo.pdf} + \caption{A Server Instance Connected to an Echo Server as Part of a Distributed Network} + \label{fig:acid} +\end{figure} + +Building on the atomic nature of a database transaction, and given the Users deployment scenario (multiple research facilities potentially across multiple geographically diverse locations), we thought it would be critical to allow the database to have multiple instances operating concurrently. Approximately how this would look, is that clients talk to the backend server they are physically closest to on the network for the lowest possible latency. However, since there can be multiple nodes to serve clients in different locations, the servers would need to make a "best attempt" to synchronise in an atomic manner. This would make the system far more scalable in the future, and may have potential applications for things such as a "live" backup server - since medical data is all fairly critical. +On top of the transactions to the Database being atomic and synchronised across all instances of the server, the physical distribution of file storage would additionally need to be considered. + +Since we made the design decision to store all of the actual files, outside of the database, then keeping atomic communication to each instance server does not necessarily solve the issue of file replication.For example, if a member of a group is working on a node other than the "root" node where that project was created and all of the data happens to be stored for it, then we will need to include some kind of notion of a "server reference" for each file known about by the database. +Then, if a client made a request for data not locally stored, it could either be re-directed by the server to the other node, or the server forwards the request then pipes it back to the client. + +Alternatively, as a further specialisation of this functionality, the server could intelligently detect related data to the "foreign" request being made, and pre-emptively load in the data from the alternate server, so it is ready to serve future data locally. This data could be cached locally and used, then re-synchronised if changes were made back to the original, or dropped if it was just for reading. It is likely however that most of these interactions will be reads, so activities such as carrying out a machine learning session on some data would only require the (potentially) smaller file containing the results to be synchronised back, which is a much easier task as it would likely just be new file upload to the remote server. +As part of professional development, an end goal was set to enable the server to be incredibly self aware through advanced telemetry monitoring. There are many benefits to this, mainly improved system performance to reduce bottlenecks, as well as being resilient to errors that may crop up with user interaction. +Some forms of telemetry considered were continually monitoring the kinds of requests that are coming in and check to see if they access similar locations. Then UUIDs could be cached with meta information such as hit count, and related files so that the sever could learn about the kinds of operations being carried out on it, and report back to some kind of systems admin. We could also start to preemptively carry out certain tasks such as unpacking and converting spatially adjacent images for files that are currently being browsed to reduce latency on further “panning” of the file for example. Statistics about this kind of operation could be gathered, such as time taken to complete and the time difference that was saved by doing so. These kinds of results would then be used to make an internal decision if some of the files should be “permanently” stored in some converted format. + +With regards the scalability potential of running multiple instances, there is a plethora of further telemetry that can be gathered about connections made between instances, both with reference to the content in the database and the acid/atomic properties which would need to be upheld, as well as with regards the physical file distribution across multiple geographical nodes. +There could then be all kinds of algorithms to determine if files should be “invisibly” shuffled around behind the scenes to provide a more seamless experience for the end-user +\appendix +\section{Scrum Board Images} \label{app:board} + +{ +\centering +\includegraphics[width=\textwidth]{graphics/4-12-17.jpg} +\includegraphics[width=\textwidth]{graphics/4-12-17-2.jpg} +\includegraphics[width=\textwidth]{graphics/8-1-18.jpg} +\includegraphics[width=\textwidth]{graphics/29-1-18.jpg} +\includegraphics[width=\textwidth]{graphics/5-2-18.jpg} +} + +\section{Scrum Meeting Minutes} \label{app:meet} +\begin{lstlisting} +Project Meeting minutes + +Group project meeting 1 +Date: 10/11/17 +Topics: +Code type +User initial tasks and roles + + +Outcomes: + + +* Scrum +* Scrum master: Tom +* Product owner: Calum +* Code: + * Language: typescript + * Framework: NodeJS +* File conversion: + * On-the-fly - only keep original and convert when necessary +* OpenCdragon lib +* Networking: + * Express.js +* Storage: + * Database + * Storing json format for metadata + * Filepath for files +* Users, groups: + * Tokens - libraries? + * oauth -> which version? + * stored in tables - encryption +* Security: + * Per-file encryption + * Hash passwords + * not needed? +* Other: + * ask IT services for more user space + * Use teamspeak over christmas +* Deadline 5 days after we come back +* Next_Tasks: + * Tom: setup basic Node Server + * Get data from user on friday + * Design API + * Johannes: test file conversion libraries + * Calum: think about database format + * Make ER diagram and Schema + + +Group project meeting 2 pre sprint +Date: 4/12/17 +Topics: +Database type and design +Authorisation +Protocol +Set up first set of user stories +Setting up server + + +Outcomes: +* Database +* Postgres +* Talk about design +* Set up ER diagram +* Authentication and security +* Passport +* oauth tokens +* User stories- +* Setting up stubs for conforming to database +* Setting up database from ER diagram + + +Group project meeting 3 post sprint +Date: 8/12/17 +Topics: +Burnout chart +Evaluation of sprint +Setting next time for sprint +Change of scrum master and project + + +Outcomes: +* Change of roles +* Scrum master: Johannes +* Project Owner: Hafeez + + +Group project meeting 4 +Date: 8/1/18 +Topics +Storing files +Setting up mock HCI +Dealing with file types +Thinking About File type conversions + +Change of roles + +Outcomes +* Change of roles +* Scrum master: Calum +* Project Owner: Josh + + +Group project meeting 5 +Date: 28/1/18 +Topics: +Discuss previous sprint +Catching up on research Over Holidays +Planning How to Acheive First Deliverable + +Outcomes: +* Continuing on the Scrum board with realistic +goals of tasks that can be completed by the deadline +* Redistribution of work between members so that +everyone has an even share of the work + +Group project meeting 6 +Date: 3/2/18 +Topics: +User stories for sprint before first hand in. +What tasks we are leaving until next hand in + + +Outcomes: +* File conversions saving for future hand in +* Have a working demo for following hand in +* User stories +* Is the Epic User Story achievable by the end of the year? + +Discuss previous sprint +Discuss how to present hand in + + +Outcomes: +* Responsibilities +\end{lstlisting} + +\section{Example SQL Queries on File System} \label{app:sql} +\subsection{Example 1} +To locate an image called image1 at folder1/folder2/folder3/image1 to find it you would use the queries: +\begin{lstlisting}[language=SQL] +SELECT * FROM dirent + NATURAL JOIN folder WHERE + folder_name = 'folder1' AND + super_folder is null AND + project_name = 'project 1'; +SELECT * FROM dirent WHERE + super_folder = '77dea3b7-523e-463a-aff1-3d8b92259fbb'; +SELECT * FROM dirent WHERE + super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; +SELECT * FROM dirent + NATURAL JOIN image WHERE + super_folder = '22b94214-6942-40dd-b8af-deb1371fa298'; +\end{lstlisting} + +From this directory, if you wanted to find dirents contained within folder 2 you could use the +queries: +\begin{lstlisting}[language=SQL] +SELECT * FROM dirent WHERE + id = '22b94214-6942-40dd-b8af-deb1371fa298'; +SELECT * FROM dirent + WHERE super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; +\end{lstlisting} + +\subsection{Example 2} +Using: +\begin{lstlisting}[language=SQL] +INSERT INTO + project ("project_name", "owner") + VALUES ('project 1', 'josh') +\end{lstlisting} + +Would give all permissions to josh in project 1. + +\end{document} diff --git a/report/texts/aims.tex b/report/texts/aims.tex new file mode 100644 index 0000000..e1da3ee --- /dev/null +++ b/report/texts/aims.tex @@ -0,0 +1,7 @@ +\section{Aims for submission 2} +From our first submission, we now had a working server that allowed a user to access our own mock user interface to log in and access data based on their level of authorisation. Following this we set up a meeting to lay out goals for ourselves that would act as requirements for the second submission. +\begin{description} + \item[Define Specific Protocol] Now that we had a working server, we next wanted to define specific protocol in order to demo our progress using work from another Junior Honours HCI groups. + \item[Manage Filetype Conversions] A main part of this submission was creating a file converter for all the required file types that would be needed. + \item[Testing] As our code was getting more complicated we wanted to make sure that extensive testing was implemented to create a more secure and consistent system. +\end{description} diff --git a/report/texts/conclusion.tex b/report/texts/conclusion.tex new file mode 100644 index 0000000..0e40979 --- /dev/null +++ b/report/texts/conclusion.tex @@ -0,0 +1,5 @@ +\section{Conclusion} +As a group a lot of progress was made for this submission, we were proactive in setting out goals for ourselves and feel we are now well on track to produce an outstanding final hand in. Our continued use of scrum has helped keep workload consistent and effective right through to this submission and we hope to continue in this way. Scrum is essential in our progress as it helps to manage time and organise the team work and so this process will be used for the duration of the project. Having now combined our work with the HCI group we are looking forward to working with teams focused on machine learning to tie together all 3 sections of the application to create the desired system set out by the project owner. + +\subsection{Next Tasks} +Viewing the system as a whole, substantial progress has been made in completing each required task whilst also managing time for each task appropriately. Looking further ahead, our next objectives will surround performance enhancing, further testing and finally completing the integration process with the rest of the system. The process for these will include a large amount of analysis on the working server, which include finding delays between certain requests and responses, measuring time taken for converting files and testing for bugs after integration. Another important aspect is the security of the application, and preventing bugs from leading to exploits which can be used for malicious use. This is particularly important within the medical industry as data confidentiality and integrity are apart of practitioners' policy. One method of testing for this task would be penetration testing, using a suite of tools to attack the application, which would determine any vulnerabilities that exist. \ No newline at end of file diff --git a/report/texts/conversion.tex b/report/texts/conversion.tex new file mode 100644 index 0000000..87db332 --- /dev/null +++ b/report/texts/conversion.tex @@ -0,0 +1,135 @@ +\section{File Conversion} +One of the most key pieces of functionality for the backend groups is the facilitation of the agnosticity of +original file formats to the end user. No matter the original upload format, backend groups should all be +capable of returning files in standard file formats. +These specific ``standards'' were not hard-defined by the specification, however as part of our whole year +protocol, it was decided that \emph{JSON} would be used for file meta-information, as well as the +main structure of all responses from a backend server. \emph{PNG} was decided upon as the standard file format +for all images, since it is very widely supported and has other favourable properties we would like to +take advantage of. + +\subsection{Dealing with Images} +The nature of the file formats that we were expected to abstract over however turned out to be significantly +more challenging than was initially perceived. The file formats of `Leica' and `Zeiss' are widely used in the +medical field (the department we are providing this service for), however almost nowhere else. Upon looking +into this more closely, it was found that the Zeiss file format is very proprietary and licensed. + +This means that in order to even gain access to simply read the documentation you must fill in your details +and make an application for the documentation~\cite{zeissLicence}. Part of the agreement for this documentation is that you are +not allowed to share it with anyone else; you are allowed to write software to \emph{deconstruct} them; you +are strictly \emph{not} allowed to write any software to construct them. + +The documentation gives a description of the various ``segments'' of binary that can appear in the file, and +attempts to assist you in the method to read them. Given the large nature of the file size of a Zeiss, it makes +sense for them to be designed to be `streamable', which they are --- allowing you to read smaller chunks at a +time rather than loading the whole object into memory simultaneously. + +After reading the specification in great detail, it was clear that it was extremely specialised and has +the potential to nest a variety of other file types within itself, as well as have many fields missing +--- as they are optional --- making it quite complex to interpret. In addition to this, the major difficulty +came from the fact that the base file is a proprietary binary file, which also contains things such as 128bit +unsigned integers. This fact, coupled with the substantial file sizes made the choice for languages to deal +with them limited to a systems programming language. Since I had most experience in `C99', then this seemed +the only realistic possibility. + +\subsubsection{Extraction of Zeiss Within `C'} +One major consideration was that --- due to the sheer file size of many of these images --- we would need +to store them on the local \file{/cs/scratch} drive of the lab machines: they are simply too +large to store either on our host servers statically, let alone when working on extracting and expanding the +thousands of smaller files within them. + +With this in mind, and closely comparing the +`C' code against the rough documentation licensed to me, the structures possible within a Zeiss file were +slowly built up. + +Methods were written to print out the contents of various structures as progress was made, in +order to ensure that the offsets for file streaming were continually at the correct locations and the data we +were parsing out of the file was as expected. To this effect, testing of the extraction was run continually +in the standard `C' approach of a couple lines at a time before re-compilation, along with using flags such as +`\verb|--pedantic|' in order to try to catch as many errors as possible. Occasionally \verb|valgrind| was also +run on this extraction code, since significant chunks of memory are allocated and freed during the +extraction process. \verb|valgrind| reports that there are no memory leaks at all --- even +on the larger 12Gb \file{.czi} files. + +\subsubsection{Converting Extracted Files} +Once the files/metadata/attachments had been successfully extracted from the target file, multiple issues were +discovered. +\begin{itemize} + \item The container format for the image segments was in \emph{JPEG-XR}. This is another proprietary + file format, which does not appear to be supported by anything at all, other than Microsoft's own software. + There is also extremely limited library support, especially for non-Windows platforms. + Fortunately, a C++-written \file{.jxr} decoder was found, and could + be compiled on the destination machine. Enough of the executable is able to be compiled before any problems + occur, and this decoder can be copied into the relative path for our own C source. + \item The library for decoding JXR's is only + capable of conversion to \emph{BMP} or \emph{TIFF}, which is not our desired format. Therefore an additional step of + converting the `JXR' to `TIFF', and then to `PNG' using the `imagemagick' command line tools like \verb|convert| + became necessary. + This is an annoying overhead, which is unfortunately unavoidable. + \item By simply extracting every image tile found within the JXR tile, we found that + there were also tiles found at non 1:1 zoom levels, which was wasteful to deal with, since we will be building + a custom image pyramid anyway. This issue was mitigated by adding some logic to only extract the tile to disk if + it was determined to have a 1:1 scaling and thus be on the base layer. + \item In a similar fashion to the previous issue, it also became apparent that there were many tiles in the + base layer which were of non-standard sizes, with some having tiny slivers as they came to edges etc. + The only solution to make these tiles appear on a nice grid of $n^2$ sizes, was to iterate over the fragmented + canvas and stitch together the portions we want. +\end{itemize} + +In order to complete the conversion side of things, it seemed appropriate to move away from C programming, and +even away from the scripts that were being using to control the C, to something like \emph{Python}. +The thought process behind this decision is the fact that Python supports multithreading --- which for something +as parallel as multiple image conversions seemed extremely advantageous. The code to do this section is fairly +small, but absolutely crucial to the overall pipeline of Zeiss format support. + +\subsubsection{Stitching Base Tiles} +Once we finally had all of the base tiles in a 1:1 scale and a format that was easier to deal with, the first task +was to figure out how to build up our own grid across the mismatch of sizes of existing base tiles.\\ +The tile dimensions decided on were 1024:1024. The reason for this, is that it is large enough to contain a +reasonable amount of information, without being so large that our server could provide or clients could load in +a timely manner. + +In order to do this stitching process, a decision was required as to the package to manage the image operations. +After a vast amount of searching and comparisons, the selection was made for \emph{Sharp}~\cite{sharp}. The reason for +this, was that it appeared to be the single library which was capable of all of the different kinds of image +processing jobs we expected to be doing. Another key reason is the fact that it is known in advance that a very +large number of images will need to be processed here, so performance is critical. Sharp appears to perform +very significantly better than its competitors~\cite{sharpPerformance}. Finally, it has typing +support to work with our environment. + +With this set, high level logic was written to check various image bounds for related base tiles to a specific +region request. Regions were then selected out, sorted by x and y offsets, then relevant chunks chopped out of +them and stitched together into a coherent region of our selected size. + +\subsubsection{Building Up Hierarchy of Zoom Levels} +These finalised base layer tiles are written to disk in an output directory and details about their creation +are recorded in a new data structure which will map out the pyramid style hierarchy of the tiles. +A small example of these final titles are shown on the cover page of our Report for interest as they are +legitimate generations in a format we would like. + +Now that the base layer exists, gaining the rest of the tile zoom levels, should be fairly simple --- by moving +up to the next power of two (2048) and collecting 4 images together then scaling this back down to 1024 pixels. +This process can be repeated for each level of zoom we would like to raise to. This will massively speed up +the process of searching through base tiles and stitching many together if we pre-process all of the intermediate +layers. Since most HCI groups are using OpenSeaDragon (which requests things in scales of powers +of two~\cite{openseadragon}), our approach should be a very fast performer with the trade off of larger up-front processing time.\\ +Indexing into this pyramid will be fast with each request too, as they will be separated by `C' value, which is +one of the image's layering options, then by zoom level. + +\subsection{Leica \& Other Formats} +As Zeiss is such a difficult and mammoth file format almost all of my time was spent dealing with purely this, +and it is still not even complete yet. However having looked quickly into Leica, there appears to be +library support, which may make life easier, along with the fact the internal structure appears to be similar to +a BigTiff. More progress on this format will take place for the next deliverable. + +As for other image formats such as JPEG, TIFF etc. These are standard formats and so will be trivial to +convert to our required standard of PNG so is not a significant point of progress currently. + +\subsection{Non image formats (\file{.csv} etc.)} +As for non image formats such as \file{.csv}, it has been decided that the backend should only be responsible of hosting these +files, since there is no way that a backend server could possibly predict what the file should be processed into. +Additionally, there are also many cases where an end-user may wish to deliberately store something in a format +which a backend server checking legitimacy of the file would complain about incorrectly. + +The team hasn't really looked into things such as Excel (\file{.xlsx}) files, however again, pre-emptively looking, there seems to +be fairly wide library support for things like this, so it was not a major concern for this deliverable. diff --git a/report/texts/logging.tex b/report/texts/logging.tex new file mode 100644 index 0000000..d0a7255 --- /dev/null +++ b/report/texts/logging.tex @@ -0,0 +1,38 @@ +\section{Logging} +Server logging has now been formalised: the functionality is imported into +a file and can then be used to log messages at the selection of urgencies +specified in Protocol BE01~\cite{protocol}. + +These outputs have many configuration options, which ideally will be +incorporated into a global configuration handler in future development. + +\subsection{Standard Logging} +By default, the standard logger logs to three places: +\begin{enumerate} + \item Colourised, human-readable messages are printed to the console. + Any error- or critical-level messages are printed through stderr. + \item More verbose JSON editions of messages are written to a basic + logfile. + \item Critical-level messages are additionally written to an extra + logfile. +\end{enumerate} + +\subsection{SQL Query Logging} +A separate logger has been designed for logging the output of +Sequelize~\cite{sequelize}. Since Protocol BE01 does not specify that they +should be retreivable, the output queries can be stored with less associated +metadata. In addition, Sequelize can output the total required time to +process the query, which is stored in the log for future use as profiling +data. + +\subsection{Motivation} +Since basic server functionality has been implemented, the errors produced +will likely be caused by difficult-to-debug problems, such as edge-cases or +data races. With a verbose and thorough logging system, these problems +should be much easier to detect and rectify. + +In addition, Protocol BE01~\cite{protocol} requires of the backend support +for receiving and storing logs from other services. The introduction of a +well-implemented logging system abstracts this from the common use-case of +logging while keeping powerful functionality of forwarding and fetching logs +available for when it is needed. diff --git a/report/texts/minutes.tex b/report/texts/minutes.tex new file mode 100644 index 0000000..55aab2a --- /dev/null +++ b/report/texts/minutes.tex @@ -0,0 +1,72 @@ +\begin{lstlisting} + +Group Project Meeting 1 post submission +Date: 12/02/18 +Topics: +Reassigning scrum roles +Creating next set of tasks +Task allocation + +Outcomes: +* Scrum: + * scrum master - Hafeez + * project owner - Calum + +*Tasks: + * Implementing endpoints + * Implementing file conversions + * Improving test coverage + * Writing tests for untested sections + * Connecting all middleware + * Decide on how to deal with errors + * Organising file-system + * Creating a Linter to maintain a consistent file structure + +Group Project Meeting 2 Pre-sprint +Date 15/02/18 +Topics: +Define user stories +Task allocation + +Outcomes: +* Sprint + * Week long sprint + * Meeting set for 22/02/18 + +Group Project Meeting 3 Post-Sprint +Date 22/02/18 +Topics: +Analysis of work +Next task assignment + +Outcomes: + +Group Project Meeting 4 +Date 24/02/18 +Topics: +Sprint aims +Sprint deadline + +Outcomes: + *Decided to hold a sprint now to leave time + before next submission to finish off all leftover work + +Group Project Meeting 5 +Date 03/03/18 +Topics +Analysis of work todo after sprint +Work needed to complete before deadline + + +Outcomes: + * Finishing off of the report + *Connecting work with another HCI group + *Finish testing + + + + + + + +\end{lstlisting} diff --git a/report/texts/process-management.tex b/report/texts/process-management.tex new file mode 100644 index 0000000..d99a73c --- /dev/null +++ b/report/texts/process-management.tex @@ -0,0 +1,56 @@ +\section{Process Management and Deployment}\label{sec:pm} +In a production environment, many instances of a NodeJS server are run on +one machine; this way NodeJS applications can make use of multiple +processors. For this purpose, research into \emph{process managers} --- +applications used for running and managing production-level systems --- +was carried out. + +\subsection{Process Manager Selection}\label{sec:pms} +A number of process managers were investigated with the hope of +incorporating them into the production +system~\cite{strongloop}\cite{pm2}\cite{forever}. The application pm2 was +chosen, primarily for its highly-configurable \emph{ecosystem}-config files, +and \emph{pmx}\footnote{https://github.com/keymetrics/pmx}, +its profiling extension. + +\subsection{pm2 and KeyMetrics}\label{sec:pm2} + +\begin{figure} + \centering + \includegraphics[width=0.95\linewidth]{km-dash} + \caption{The KeyMetrics dashboard web client in use.}\label{fig:dash} +\end{figure} + +A feature available in \emph{pm2} is the ability to transmit profiling +statistics to a web client, as a dashboard. The dashboard also allows the +user to remotely issue commands to the running instances. Further, +custom profiling information, and custom remote commands, can be created +through the introduction of simple logic into the codebase. + +\subsection{Process Limitations}\label{sec:plim} +Running multiple NodeJS instances can quickly accumulate counts towards a +user process limit: each instance hosts several threads, and each connection +to the PostgreSQL database can pool several threads also, resulting in many +threads per instance. Compounded with the fact that pm2 itself also runs +as a NodeJS instance, this means that a user can reach their process limit +on the host labs very quickly. Using \texttt{nolimit} on process +instantiation is one solution, however this means having to run +\texttt{nolimit} when starting the databse, deamonising the process manager, +starting the server instances, and doing any miscellaneous tasks. This +limitation has stunted hindered attempts to connect to other teams' +products. + +\subsection{Heroku Hosting}\label{sec:her} +In response to the issues addressed in \S\ref{sec:plim}, an attempt to host +an instance of the server on hosting service +\emph{Heroku}\footnote{https://heroku.com/} has been started. This would +alloow the team to interact with other teams, without using a member's +process limit and hindering their productivity. Additionally, it would show +the deployability of the system --- an important factor for a backend +server. + +\subsection{External System Hosting}\label{sec:ext} +Another option is to host instances of the system on devices personally +owned by members of the team. This would give the team absolute control over +configuration of the sytem, and would have the potential to outperform an +instance running on a complementary Heroku service. diff --git a/report/texts/scrum.tex b/report/texts/scrum.tex new file mode 100644 index 0000000..ca724c8 --- /dev/null +++ b/report/texts/scrum.tex @@ -0,0 +1,17 @@ +\section{Continued use of Scrum} +The scrum process was continued as we found this very useful in terms of clearly setting out tasks for each member and managing the progress of the implementation. One of the changes that was made for this sprint was the change in roles between team members. The change in responsibility allows team members to complete new and different jobs. In general the size and the time taken of each individual task was a lot more varied when comparing to the last submission, however, there were certain tasks which were larger in terms of hours put in. These large tasks included creating a logger system and a file converter. +\subsection{Sprints} + +\begin{figure}[h] + \centering + \includegraphics[width=0.6\textwidth]{burndown} + \caption{A Burndown Chart for the past 14 days.}\label{fig:burn} +\end{figure} + +As a team, it was decided that there would only be a single sprint, up until the next point of submission. This was because of the short time period, enough for only a two week sprint. In addition to this, the sprint assessment process was completed more often to ensure that as a team time was managed well and sufficient progress was being made. All the tasks that was set for this sprint were completed within the required time frame. +\subsection{Scrum board} +Again, the scrum board was used to outline and track the completion of each task. The same whiteboard in the John Honey main computer lab was used in order to maintain consistency. This gave a clear visual representation of the objectives. During the sprint, the main jobs required for completion were to further enhance the testing unit to increase its coverage across the implemented systems, implement a simple file converter and introduce a logging system for the server. Much experience was gained from completing previous sprints and so using this experience we were better equipped to handle larger tasks. Examples of the board in use can be found in Appendix \ref{app:board}. + +\subsection{Meetings} +Regular meetings were also held to discuss and evaluate progress. This was crucial in the scrum process and as working in a team to allow a point of communication between each member at the same point in time. An example of a major decision being made during the discussion was the change of language of the file converter implementation. It was decided that the more appropriate language to use would be C as there would more extensive libraries for this particular operation and would also have the advantage of greater efficiency. Multiple meetings were held during the most recent sprint to determine the tasks required for completion, to evaluate whether each task was completed and track progress in between. +The minutes for formal meetings are available in Appendix \ref{app:meet}. diff --git a/report/texts/testing.tex b/report/texts/testing.tex new file mode 100644 index 0000000..e3f709b --- /dev/null +++ b/report/texts/testing.tex @@ -0,0 +1,15 @@ +\section{Testing} +Tests do not currently run on the gitlab server, as the postgres integration with the docker gitlab-ci is still missing. This means any tests run automatically when pushing will fail. \par +When running integration tests locally, please make sure the postgres server is up and running on localhost. +\subsection{Structure} +Testing files were restructured for a more organised and professional approach. All test files end in ``*.\(<\)context\(>\).test.ts'' and were moved to the ``test'' directory. At this moment, ``\(<\)context\(>\)'' includes ``unit'' and ``routes''. Further, they were categorised into \textit{integration} and \textit{unit} tests and moved into corresponding sub-directories. \par +Apart from making test files easier to find, this new structure also allowed us to run specific tests independently to isolate failures and quickly rerun individual tests. For example \texttt{yarn test:routes:auth} runs all authentication tests. +\subsection{Integration Testing} +\texttt{yarn test:routes} +This category of tests targeted the interplay of different server components as it tested server endpoints (routes) rather than internal functions. We aimed to test all routes for responses of success, and various degrees of failure. \par +E.g. \textbf{``auth.routes.test.ts''} tested the authentication middle-ware, checking existing users could log in only with correct usernames, passwords and reauthentication tokens. During our later meetings, we realised that security is a key-component of medical systems, and requires further much more in-depth testing to guarantee safety of patient data. \par +\textbf{``protocol.routes.test.ts''} aims to cover all endpoints specified in the agreed protocol by using the \textit{mocha-each} npm module. This allowed us to write few mocha testing functions iterating over the long list of endpoints, checking HTTP responses to fit the JSON response templates to conform to the protocol. This form of testing is still incomplete. +\subsection{Unit Testing} +\texttt{yarn test:unit} +The main motivation for this category of tests was to find bugs early on without having to run the whole server. This saves time and uncovers new code breaking old functionality. We also found that unit tests improved the design process by forcing implementation of code that is testable. Furthermore, unit tests were often used as a form of documentation, as it aided in understanding how code of other team members worked and could be used. \par +We decided that each team-member was responsible for creating the unit tests for their code. Unfortunately the number and coverage of unit tests is still quite low. This may be the result of prioritising functionality over bug-resilience and test-driven development. diff --git a/report/texts/typings.tex b/report/texts/typings.tex new file mode 100644 index 0000000..36297b7 --- /dev/null +++ b/report/texts/typings.tex @@ -0,0 +1,27 @@ +\section{Type Enforcement} +In order to run JavaScript code as TypeScript code, typings (usually +supplied in a \file{.d.ts}-extended file) are applied at compile-time to +make sense of the original source's variable types. For a couple of +packages that have been used in the submission, these typings are not +available, due to a lack of desirablilty --- the packages in question are +niche and as such see little use. + +\subsection{mocha-each} +One such package is \emph{mocha-each}, a utility package for compacting +Mocha tests for readability and classification~\cite{mocha-each}. Without +typings, this package cannot be used in TypeScript projects. Due to its +single-facet use, however, it was simple to design a custom +\file{.d.ts} file. With small edits to conform to +guidelines~\cite{@types}, typings for +mocha-test were contributed to the DefinitelyTyped types repository\footnote{% +https://github.com/DefinitelyTyped/DefinitelyTyped/% +tree/master/types/mocha-each}. + +\subsection{pmx} +The package pmx (as previously described in \S\ref{sec:pms}) is useful for +profiling. Similarly to mocha-each, however, it does not have supported typing. +Since this package covers a far wider range of functionality, and since said +functionality is very involved with sensitive run-time engine manipulation, +typings were written only for the functions being used by the team, and have +been kept in-house for their incompleteness. The files in question can be found +in \file{src/profiler}. diff --git a/report/title.tex b/report/title.tex new file mode 100644 index 0000000..4406ef6 --- /dev/null +++ b/report/title.tex @@ -0,0 +1,15 @@ +\title{Report \\ Juniour Honours Project \\[0.5ex] Submission 2} +\author{Hafeez Abdul-Rehaman \\[1ex] Johannes Weck \\[1ex] Josh Lee \\[1ex] Calum Duff \\[2ex] Tom Harley} +\date{\today} + +\makeatletter + \def\@maketitle{ + \begin{center} + \includegraphics[width=0.7\linewidth]{title-logo}\\[10ex] + {\huge \bfseries \@title{ }}\\[1ex] + \rule{0.5\textwidth}{.4pt}\\[1ex] + {\LARGE \@author}\\[15ex] + {\large \@date} + \end{center} + } +\makeatother -- cgit v1.2.1 From 3133eeb6d71f33a0166582ef9c1be6de49c8e7d1 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Tue, 10 Apr 2018 09:37:34 +0100 Subject: Separate previous reports into their own folders --- report/Burn down Chart.xlsx | Bin 10244 -> 0 bytes report/Makefile | 9 - report/appendix/minutes.tex | 68 ---- report/appendix/scrumboard.tex | 8 - report/biblio.bib | 189 ---------- report/deliverable-1/Burn down Chart.xlsx | Bin 0 -> 10244 bytes report/deliverable-1/report.md | 303 +++++++++++++++ report/deliverable-1/report.tex | 438 ++++++++++++++++++++++ report/deliverable-2/Makefile | 9 + report/deliverable-2/appendix/minutes.tex | 68 ++++ report/deliverable-2/appendix/scrumboard.tex | 8 + report/deliverable-2/biblio.bib | 189 ++++++++++ report/deliverable-2/graphics/1.png | Bin 0 -> 23078 bytes report/deliverable-2/graphics/2.png | Bin 0 -> 76186 bytes report/deliverable-2/graphics/3.png | Bin 0 -> 37309 bytes report/deliverable-2/graphics/4.png | Bin 0 -> 17337 bytes report/deliverable-2/graphics/5.png | Bin 0 -> 21343 bytes report/deliverable-2/graphics/6.png | Bin 0 -> 28793 bytes report/deliverable-2/graphics/7.png | Bin 0 -> 30848 bytes report/deliverable-2/graphics/burndown.png | Bin 0 -> 21982 bytes report/deliverable-2/graphics/km-dash.png | Bin 0 -> 97345 bytes report/deliverable-2/graphics/scrum.jpg | Bin 0 -> 1829499 bytes report/deliverable-2/graphics/scrum2.jpg | Bin 0 -> 1746169 bytes report/deliverable-2/graphics/scrum3.jpg | Bin 0 -> 1830134 bytes report/deliverable-2/graphics/scrum4.jpg | Bin 0 -> 164302 bytes report/deliverable-2/graphics/scrum5.jpg | Bin 0 -> 152855 bytes report/deliverable-2/graphics/title-logo.png | Bin 0 -> 220102 bytes report/deliverable-2/main.tex | 38 ++ report/deliverable-2/preamble.tex | 13 + report/deliverable-2/texts/aims.tex | 7 + report/deliverable-2/texts/conclusion.tex | 5 + report/deliverable-2/texts/conversion.tex | 135 +++++++ report/deliverable-2/texts/logging.tex | 38 ++ report/deliverable-2/texts/minutes.tex | 72 ++++ report/deliverable-2/texts/process-management.tex | 56 +++ report/deliverable-2/texts/scrum.tex | 17 + report/deliverable-2/texts/testing.tex | 15 + report/deliverable-2/texts/typings.tex | 27 ++ report/deliverable-2/title.tex | 15 + report/graphics/1.png | Bin 23078 -> 0 bytes report/graphics/2.png | Bin 76186 -> 0 bytes report/graphics/3.png | Bin 37309 -> 0 bytes report/graphics/4.png | Bin 17337 -> 0 bytes report/graphics/5.png | Bin 21343 -> 0 bytes report/graphics/6.png | Bin 28793 -> 0 bytes report/graphics/7.png | Bin 30848 -> 0 bytes report/graphics/burndown.png | Bin 21982 -> 0 bytes report/graphics/km-dash.png | Bin 97345 -> 0 bytes report/graphics/scrum.jpg | Bin 1829499 -> 0 bytes report/graphics/scrum2.jpg | Bin 1746169 -> 0 bytes report/graphics/scrum3.jpg | Bin 1830134 -> 0 bytes report/graphics/scrum4.jpg | Bin 164302 -> 0 bytes report/graphics/scrum5.jpg | Bin 152855 -> 0 bytes report/graphics/title-logo.png | Bin 220102 -> 0 bytes report/main.tex | 38 -- report/main.toc | 34 -- report/preamble.tex | 13 - report/report.md | 303 --------------- report/report.tex | 438 ---------------------- report/texts/aims.tex | 7 - report/texts/conclusion.tex | 5 - report/texts/conversion.tex | 135 ------- report/texts/logging.tex | 38 -- report/texts/minutes.tex | 72 ---- report/texts/process-management.tex | 56 --- report/texts/scrum.tex | 17 - report/texts/testing.tex | 15 - report/texts/typings.tex | 27 -- report/title.tex | 15 - 69 files changed, 1453 insertions(+), 1487 deletions(-) delete mode 100644 report/Burn down Chart.xlsx delete mode 100644 report/Makefile delete mode 100644 report/appendix/minutes.tex delete mode 100644 report/appendix/scrumboard.tex delete mode 100644 report/biblio.bib create mode 100644 report/deliverable-1/Burn down Chart.xlsx create mode 100644 report/deliverable-1/report.md create mode 100644 report/deliverable-1/report.tex create mode 100644 report/deliverable-2/Makefile create mode 100644 report/deliverable-2/appendix/minutes.tex create mode 100644 report/deliverable-2/appendix/scrumboard.tex create mode 100644 report/deliverable-2/biblio.bib create mode 100644 report/deliverable-2/graphics/1.png create mode 100644 report/deliverable-2/graphics/2.png create mode 100644 report/deliverable-2/graphics/3.png create mode 100644 report/deliverable-2/graphics/4.png create mode 100644 report/deliverable-2/graphics/5.png create mode 100644 report/deliverable-2/graphics/6.png create mode 100644 report/deliverable-2/graphics/7.png create mode 100644 report/deliverable-2/graphics/burndown.png create mode 100644 report/deliverable-2/graphics/km-dash.png create mode 100644 report/deliverable-2/graphics/scrum.jpg create mode 100644 report/deliverable-2/graphics/scrum2.jpg create mode 100644 report/deliverable-2/graphics/scrum3.jpg create mode 100644 report/deliverable-2/graphics/scrum4.jpg create mode 100644 report/deliverable-2/graphics/scrum5.jpg create mode 100644 report/deliverable-2/graphics/title-logo.png create mode 100644 report/deliverable-2/main.tex create mode 100644 report/deliverable-2/preamble.tex create mode 100644 report/deliverable-2/texts/aims.tex create mode 100644 report/deliverable-2/texts/conclusion.tex create mode 100644 report/deliverable-2/texts/conversion.tex create mode 100644 report/deliverable-2/texts/logging.tex create mode 100644 report/deliverable-2/texts/minutes.tex create mode 100644 report/deliverable-2/texts/process-management.tex create mode 100644 report/deliverable-2/texts/scrum.tex create mode 100644 report/deliverable-2/texts/testing.tex create mode 100644 report/deliverable-2/texts/typings.tex create mode 100644 report/deliverable-2/title.tex delete mode 100644 report/graphics/1.png delete mode 100644 report/graphics/2.png delete mode 100644 report/graphics/3.png delete mode 100644 report/graphics/4.png delete mode 100644 report/graphics/5.png delete mode 100644 report/graphics/6.png delete mode 100644 report/graphics/7.png delete mode 100644 report/graphics/burndown.png delete mode 100644 report/graphics/km-dash.png delete mode 100644 report/graphics/scrum.jpg delete mode 100644 report/graphics/scrum2.jpg delete mode 100644 report/graphics/scrum3.jpg delete mode 100644 report/graphics/scrum4.jpg delete mode 100644 report/graphics/scrum5.jpg delete mode 100644 report/graphics/title-logo.png delete mode 100644 report/main.tex delete mode 100644 report/main.toc delete mode 100644 report/preamble.tex delete mode 100644 report/report.md delete mode 100644 report/report.tex delete mode 100644 report/texts/aims.tex delete mode 100644 report/texts/conclusion.tex delete mode 100644 report/texts/conversion.tex delete mode 100644 report/texts/logging.tex delete mode 100644 report/texts/minutes.tex delete mode 100644 report/texts/process-management.tex delete mode 100644 report/texts/scrum.tex delete mode 100644 report/texts/testing.tex delete mode 100644 report/texts/typings.tex delete mode 100644 report/title.tex diff --git a/report/Burn down Chart.xlsx b/report/Burn down Chart.xlsx deleted file mode 100644 index 9fa607e..0000000 Binary files a/report/Burn down Chart.xlsx and /dev/null differ diff --git a/report/Makefile b/report/Makefile deleted file mode 100644 index 135009b..0000000 --- a/report/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -.PHONY: default clean FORCE - -default : main.pdf - -%.pdf : %.tex FORCE - latexmk -pdf $< - -clean : - latexmk -C diff --git a/report/appendix/minutes.tex b/report/appendix/minutes.tex deleted file mode 100644 index 44aa702..0000000 --- a/report/appendix/minutes.tex +++ /dev/null @@ -1,68 +0,0 @@ -\section{Meeting Minutes}\label{app:meet} -\begin{lstlisting} - -Group Project Meeting 1 post submission -Date: 12/02/18 -Topics: -Reassigning scrum roles -Creating next set of tasks -Task allocation - -Outcomes: -* Scrum: - * scrum master - Hafeez - * project owner - Calum - -*Tasks: - * Implementing endpoints - * Implementing file conversions - * Improving test coverage - * Writing tests for untested sections - * Connecting all middleware - * Decide on how to deal with errors - * Organising file-system - * Creating a Linter to maintain a consistent file structure - -Group Project Meeting 2 Pre-sprint -Date 19/02/18 -Topics: -Define user stories -Task allocation - -Outcomes: -* Sprint - * 2 Week long sprint - * Mid sprint meeting set for 26/02/18 -* Images - * Dealing with leica and zeiss files -* Testing - * Implementing unit and integration tests -* Logger - * Standard and SQL logger - - -Group Project Meeting 3 mid-Sprint -Date 26/02/18 -Topics: -updating progress - -Outcomes: -* Images - * Continued work on image files - * File extraction and testing - * Stitching -* Logger - * Needed a better one to log problems - -Group Project Meeting 4 post-sprint -Date 05/03/18 -Topics -Final tasks required before deadline - -Outcomes: - * Finishing off of the report - * Finish testing - * Process manager - * Hosting on heroku - -\end{lstlisting} diff --git a/report/appendix/scrumboard.tex b/report/appendix/scrumboard.tex deleted file mode 100644 index e868278..0000000 --- a/report/appendix/scrumboard.tex +++ /dev/null @@ -1,8 +0,0 @@ -\section{Scrum Board Images} \label{app:board} - -{ -\centering -\includegraphics[width=\textwidth]{graphics/scrum.jpg} -\includegraphics[width=\textwidth]{graphics/scrum3.jpg} -\includegraphics[width=\textwidth]{graphics/scrum4.jpg} -} diff --git a/report/biblio.bib b/report/biblio.bib deleted file mode 100644 index fdfc56b..0000000 --- a/report/biblio.bib +++ /dev/null @@ -1,189 +0,0 @@ -@misc {tslint, - howpublished = {https://palantir.github.io/tslint/}, - title = {TSLint}, - publisher = {Palantir Technologies}, - year = {2016}, - note = {Accessed: 2018-03-01} -} - -@misc {protocol, - howpublished = {https://github.com/CS3099JH2017/cs3099jh/tree/master/protocols}, - title = {CS3099JH2017 Protocol}, - publisher = {CS3099 Year Group of 2017/18}, - year = {2018}, - note = {Accessed: 2018-03-02} -} - -@misc {yarn, - howpublished = {https://yarnpkg.com/en/docs}, - title = {Yarn}, - publisher = {Yarn Organization}, - note = {Accessed: 2018-03-02} -} - -@misc {typescript, - howpublished = {https://www.typescriptlang.org/docs/home.html}, - title = {TypeScript}, - publisher = {Microsoft}, - year = {2017}, - note = {Accessed: 2018-03-02} -} - -@misc {sequelize, - howpublished = {http://docs.sequelizejs.com/}, - title = {Sequelize}, - publisher = {Sequelize}, - note = {Accessed: 2018-03-02} -} - -@misc {sequelize-typescript, - howpublished = {https://github.com/RobinBuschmann/sequelize-typescript}, - title = {sequelize-typescript}, - publisher = {Robin Buschmann}, - note = {Accessed: 2018-03-02} -} - -@misc {postgres, - howpublished = {https://www.postgresql.org/docs/}, - title = {PostreSQL}, - publisher = {The PostgreSQL Global Development Group}, - year = {2018}, - note = {Accessed: 2018-03-02} -} - -@misc {mocha, - howpublished = {https://mochajs.org/}, - title = {Mocha}, - publisher = {mochajs}, - note = {Accessed: 2018-03-02} -} - -@misc {mocha-each, - howpublished = {https://github.com/ryym/mocha-each}, - title = {mocha-each}, - publisher = {ryym}, - note = {Accessed: 2018-03-02} -} - -@misc {chai, - howpublished = {http://chaijs.com/api/bdd/}, - title = {Chai Assertion Library}, - publisher = {chaijs}, - note = {Accessed: 2018-03-02} -} - -@misc {chai-http, - howpublished = {http://chaijs.com/plugins/chai-http/}, - title = {Chai HTTP}, - publisher = {chaijs}, - note = {Accessed: 2018-03-02} -} - -@misc {express, - howpublished = {https://expressjs.com/en/4x/api.html}, - title = {Express 4.x}, - publisher = {expressjs}, - year = {2017}, - note = {Accessed: 2018-03-02} -} - -@misc {passport, - howpublished = {http://www.passportjs.org/docs/}, - title = {Passport}, - publisher = {Jared Hanson}, - note = {Accessed: 2018-03-02} -} - -@misc {passport-local, - howpublished = {https://github.com/jaredhanson/passport-local}, - title = {passport-local}, - publisher = {Jared Hanson}, - note = {Accessed: 2018-03-02} -} - -@misc {morgan, - howpublished = {https://github.com/expressjs/morgan}, - title = {morgan}, - publisher = {expressjs}, - note = {Accessed: 2018-03-02} -} - -@misc {typedoc, - howpublished = {http://typedoc.org/guides/usage/}, - title = {TypeDoc}, - publisher = {TypeStrong}, - note = {Accessed: 2018-03-02} -} - -@misc {xlsx, - howpublished = {https://github.com/sheetjs/js-xlsx}, - title = {js-xlsx}, - publisher = {SheetJS}, - note = {Accessed: 2018-03-02} -} - -@misc {docker, - howpublished = {https://hub.docker.com/}, - title = {Docker Hub}, - publisher = {Docker Inc.}, - year = {2016}, - note = {Accessed: 2018-03-02} -} - -@misc {@types, - howpublished = {http://definitelytyped.org/}, - title = {DefinitelyTyped}, - publisher = {DefinitelyTyped}, - year = {2017}, - note = {Accessed: 2018-03-02} -} - -@misc {strongloop, - howpublished = {https://strongloop.com/}, - title = {StrongLoop}, - publisher = {IBM}, - year = {2018}, - note = {Accessed: 2018-03-07} -} - -@misc {pm2, - howpublished = {http://pm2.keymetrics.io/}, - title = {pm2}, - publisher = {KeyMetrics}, - note = {Accessed: 2018-03-07} -} - -@misc {forever, - howpublished = {https://github.com/foreverjs/forever}, - title = {foreverjs}, - publisher = {foreverjs}, - note = {Accessed: 2018-03-07} -} - -@misc {sharp, - howpublished = {https://github.com/lovell/sharp}, - title = {sharp}, - publisher = {Lovell Fuller}, - note = {Accessed: 2018-03-06} -} - -@misc {sharpPerformance, - howpublished = {http://sharp.pixelplumbing.com/en/stable/performance/}, - title = {Sharp Performance}, - publisher = {Lovell Fuller}, - note = {Accessed: 2018-03-06} -} - -@misc {zeissLicence, - howpublished = {https://www.zeiss.com/microscopy/int/products/microscope-software/czi/czi-download.html}, - title = {Apply for Zeiss Licence}, - publisher = {Carl Zeiss Microscopy GmbH}, - note = {Accessed: 2018-03-06} -} - -@misc {openseadragon, - howpublished = {https://openseadragon.github.io/docs/}, - title = {OpenSeadDragon}, - publisher = {openseadragon}, - note = {Accessed: 2019-03-07} -} diff --git a/report/deliverable-1/Burn down Chart.xlsx b/report/deliverable-1/Burn down Chart.xlsx new file mode 100644 index 0000000..9fa607e Binary files /dev/null and b/report/deliverable-1/Burn down Chart.xlsx differ diff --git a/report/deliverable-1/report.md b/report/deliverable-1/report.md new file mode 100644 index 0000000..323c98e --- /dev/null +++ b/report/deliverable-1/report.md @@ -0,0 +1,303 @@ +# Junior Honours Project 2017 - 2018 +## BACKEND GROUP 4. +|User ID | Name | Matrticulation Number | +|:------:|:--------:|:----------------------:| +|cjd24 | Calum | 150011830 | +|trh | Tom | 150001937 | +|har4 | Hafeez | 160006551 | +|jl247 | Josh | 150010415 | +|jw255 | Johannes | 140013112 | + + + + + + +### Requirements Overview: +For every version you submit, you are required to submit the following to MMS as a team: + +1) A working version of your software, which includes a test suite. By version we +mean a version of the finished product. It is up to you to decide how you have divided +the entire finished product into versions. + +2) A report which details how you have followed the SCRUM process. + + It should include: + + a) A list of all user stories contained in your Product Backlog and Release Backlog; + this is expected to evolve from version to version. + + b) Documented evidence that you have followed SCRUM, e.g., timestamped photographs of + your Product Backlog, Release Backlog, Sprint Backlogs, and task boards (if you + are using a physical whiteboard), or timestamped screen grabs of any tools you + are using instead. + + c) The process you used to estimate how long user stories would take to implement. + A burndown chart should also be included to track progress. + + d) Team structure and role assignment + + e) Meeting outcomes: sprint planning, sprint retrospective, and an overview of + stand-up meetings (i.e. meetings don’t need to be documented individually) + +3) You should then demo the working version of your software to your supervisor at + one of your regular meetings. + + + + + + +### Design Choices: +- Scrum +Using the scrum approach as advised by the project specifications facilitated the planning and running of group meetings. As the year wide protocol continued to change throughout the development process, an agile working process addressed the complex problem of changing requirements through its iterative and incremental system. +One of the essential parts of this process was distribution of responsibility, planning of time and ordering of tasks for the next release. Oftentimes we had to spend some time researching a topic before we could decide on the task allocation and if it should be included in the next release. For example, we decided early on that the file-conversion was less important... **To be continued** +**MORE SHOULD BE SAID HERE PLZ?** + +- Database +We chose to use Postgres for our database system, after considering the benefits and drawbacks of different databases compatible with NodeJS. Its greatest advantage is its object-relational data model, JSON support and scalability. We also decided that it would be significantly less efficient to store our raw files inside the database as Blobs etc. This is because the nature of the files that we will be dealing with are likely to be huge. So storing masses of binary data in the database which is likely to never actually be "edited" in the same way as some other binary data might, then it would be a significant overhead for no return. As such we opted for designing our infrastructure in such a way that we will have a (nearly) '*flat*' filesystem, where all files are stored under a UUID. All notion of "directory hierarchy" and "filenames" would be stored internally with relations in the database. As possible extensions, we could then store direct references to files (or perhaps even offsets within files) to act as a very high performing cache server for frequent data, or data that we could predict is going to be accessed in short time proximity. + +- File management + +-- Folders +A part of the specification required the use of folders to group together files in a project. The issue I first came across were how folders not just contained other files but would quite often have other folders inside them as well. My second issue was navigating through the folders to get to the files, this meant that given a folder you could return the contents of that folder as well as being able to find all other files at the same level in the system. + +To manage my first issue I included a table called dirent with an inheritance relation so that a dirent could either be a folder, image or text. Having this table made it easy to query on data as well as better representing how files could be stored within folders. This meant that a folder would be related to a dirent which could then be linked to the specific type on creation. + +There were two ways to manage the navigability, either store the file path with each dirent or store the ID of the superfolder it was contained in, I decided on storing the ID. This created a link system and to therefore view files within a folder you would search all files which had the same ID as the super folder. + +E.g 1) To locate an image called image1 at folder1/folder2/folder3/image1 to find it you would use the queries + +SELECT * FROM dirent NATURAL JOIN folder WHERE folder_name = 'folder1' AND super_folder is null AND project_name = 'project 1'; +SELECT * FROM dirent WHERE super_folder = '77dea3b7-523e-463a-aff1-3d8b92259fbb'; +SELECT * FROM dirent WHERE super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; +SELECT * FROM dirent NATURAL JOIN image WHERE super_folder = '22b94214-6942-40dd-b8af-deb1371fa298'; +![Alt text](1.png?raw=true "eg1") + +From this directory if you wanted to find dirents contained within folder 2 you could use the queries + +SELECT * FROM dirent WHERE id = '22b94214-6942-40dd-b8af-deb1371fa298'; +SELECT * FROM dirent WHERE super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; +![Alt text](2.png?raw=true "eg1_cont") +Showing all three dirents in this folder. + +-- File identification +In choosing the ID for the files I originally had an auto increment ID. The issue with this would be that a hazardous user could guess the ID of a specific file, accessing files without the required permission. To get around this I used a randomly generated UUID. This made it almost impossible to guess the ID and is universally unique. + +-- File storage +Originally I thought of storing files within the database in blob format although this seemed to work well I felt that the scalability of this method would be not be effective. I also felt that it would be a lot harder to backup the database as the number of files grew. Instead the database contained the structure of the file system with info for each file including the UUID for each file. This made it easy to return files from our own file storage system with matching UUID each time a request was made. + +-- Projects +Another requirement of the database was the need for projects which also helped group together files. A user could also have per project privileges such as adding files into that project. To manage this, on creation of a project it was given an owner matching the current logged in user. I created a trigger which also granted all permissions (admin) to the owner giving them control over the permissions for their project. + +E.g 2) using +INSERT INTO project ("project_name", "owner") VALUES ('project 1', 'josh') +Would give all permissions to josh in project 1. + + + +- User management + +Once the file system had been set up I wanted to have a robust user permission system that would consistently allow the API to check permissions. + +Permissions were split into 2 types +User based permissions. +The user based permissions were create project, create user, remove user , edit user, view projects and view users. + +Project based permissions. +The project based permissions were add files, edit files, remove files and view files (remove project could also be included here but I decided to make that only accessible to the owner and an admin user) This was more difficult because each user would have different privileges on different projects. + +-- Set up +My initial thought was to have columns for each permission in the user table. I soon realised this was hard to manage once revoking privileges is implemented. I decided on creating a tree system for user permissions similar to how the database manages its own privileges. This meant that if one user granted many permissions and then had their own permission removed, all user permissions granted by the revoked user would also be removed. I decided to represent this by having a table for each permission. There were two main reasons for this + +1) This made it easy to check permissions e.g to check whether a user had add file permissions you would just go into the add_files table and check whether it contained a row corresponding to that user. + +2) On each grant the permission ID is stored as a foreign key of its own table representing how a specific user was given that permission . This meant that if a user was deleted or a privilege was revoked it would also remove privileges of sub grants by using ‘on delete cascade’ + +E.g 3) the image below shows the table add_files +![Alt text](3.png?raw=true "add_files") +Josh granted permission to user 2 who then granted permission to both user 3 and back to user2. When user 2 has his permission revoked both permissions that were granted by user 2 are also revoked. +![Alt text](4.png?raw=true "granted permissions") + + +-- Returning all permissions for each user +On looking at the specification it seemed clear that there were a lot of API requests to get all permissions that a user had been granted. By storing the permissions in their own table required searching every single table every time you wanted to do this which would be ineffective. Combining this with my original idea I created a summary table, if a user was then granted a permission it was added into the summary table with the permission ID by means of a trigger. This meant a slower insert but was highly beneficial in being easy to search. The combination of these two methods kept the system robust whilst making it easy to query on. + +Ex 4) Following on from example 2 it is now easy to see how all the permissions are given to a user when a project is created. +![Alt text](5.png?raw=true "eg4") +Also if josh grants permission to user2 to add files you can see below the permission is added. +![Alt text](6.png?raw=true "eg4_cont") +When the permission is revoked that column for user2 is set null. +![Alt text](7.png?raw=true "eg4_cont2") + +-- User information +In order to login the user the user table contains a password to each user. This password was stored md5 hashed. (I also want to add salting for a later hand in for additional security). +Also in the user data is metadata both private and public that could be seen/ managed based on your own permissions or whether you are viewing yourself. I used views to represent the different accesses on the user table to prevent things such as password being included in the query result. I also stored this metadata as Json type instead of individual columns for each attribute. This made it easier to match the expected request format and also helped group together the metadata. + + + +- Server +For the implementation of the server, we chose a typescript-nodejs approach. NodeJS seemed a common and sensible choice, as all members of the team had previous experience and it is a scalable, and well-supported development framework that runs on both Unix and Windows infrastructures. It is easy to deploy and furthermore offers more speed and a nonblocking I/O API in comparison to Java or .Net servers. We then chose the TypeScript superset of JS as it provides typing, classes, interfaces and IDE support for developers which makes the language easier to use and more robust. In particular we chose to specialise our node app with express, and a comprehensive middleware stack. This middleware stack would carry out tasks such as logging, body parsing, type checking, with potential to be expanded as the project matures. We also decided on Sequelize as our ORM. This was due to wide support in the deployment community with favourable reviews of its functionality - as well as having a specialisation called sequelize-typescript, which massively simplifies syntax, and appeared to integrate to our design model very nicely. + +- Project Approach and Expansion +Once most of the core decisions had been made in isolation of the incorporation into the submission as a whole, we had a **meeting** to decide how these should best operate together. +The approximate approach that was decided on is as follows: + - The Node Server would catch all valid API endpoint requests and pass them to handler functions. + - Since almost all requests that are made to the server, some way or another need to talk to the database, then during initialisation of the server, a connection would be made to the postgres database, which would persist throughout the life of the server. This connection would then be utilised by our ORM solution to carry out queries. + - The request would be formulated through the ORM (or by direct file access for things like server config.) and then passed to the DB serer. + - The response would hopefully be ready as we require it, however at this stage there can be logical checks done of the data if necessary. + - We would then run it through some typechecking middleware to ensure that the content that we are serving back to a client is valid JSON. + - The Response would be served back to the client and the request would be considered *successful*. + + Expansion: + - Once the basic implementation according to the protocol was complete, it was discussed on multiple occasions, and in detail of possible ways to make this core service better. + - Building on the ATOMIC nature of a database transaction, and given the Users deployment scenario - multiple research facilities potentially across multiple geographically diverse locations, we thought it would be critical to allow the database to have multiple instances operating concurrently. + - Approximately how this would look, is that clients talk to the backend server they are physically closest to on the network for the best possible latency. + - Since there can be multiple nodes however to serve clients in different locations, then the servers would then need to make best attempt to synchronise in an Atomic manner. + - This would make our system far more scalable in the future, and may have potential applications for things such as a "live" backup server - since medical data is all fairly critical. + - On top of the transactions to the Database being atomic and synchronised across all instances of the server, we would additionally need to consider the physical distribution of file storage. + - Since we made the design decision to store all of the actual files, outside of the database, then keeping ATOMIC communication to each instance server, does not necessarily solve the issue of file replication. + - For example, if a memeber of a group is working on a node other than the "root" node where that project was created and all of the data happens to be stored for it, then we will need to include some kind of notion of a "server reference" for each file known about by the database. + - Then, if a client made a request for data not locally stored, it could either be re-directed by the server to the other node, or the server forwards the request then pipes it back to the client. + - Alternatively as a further specialisation of this functionality, the server could intelligently detect related data to the "foreign" request being made, and pre-emptively load in the data from the alt server, so it is ready to serve future data locally. This data could be cached locally and used, then re-synchronised if changes were made back to the original, or dropped if it was just for reading. It is likely however that most of these interactions will be reads, so things like carrying out a machine learning session on some data, would only require the (probably) smaller file containing the results to be synchronised back which is a much easier task as it would likely just be new file upload to the remote server. + + + + + + + +### Year Wide Protocol Compilation: +As part of this practical, a final solution to the over-arching problem is that the end-user +should be able to "*pick-n-mix*" one submission from each [Backend, HCI, Machine Learning]. +In order to successfully achieve this, all of the participating groups throughout the year +are required to formulate between themselves and agree upon a single protocol for each +component to talk over. +Various meetings were organised on a variety of topics between members who were interested +in affecting the outcome. Minutes of these meetings can be seen at: +[Maybe Here?](https://github.com/CS3099JH2017/cs3099jh) +**We should also probably detail roughly what was said at each of these meetings/summaries etc? GET THE RECORDED DATES** + + + + + + + + + +### Scrum: +After groups were eventually allocated for this group project, the team met up quickly to +discuss the **Scrum** method of doing work, and figure out how roles should be shared amongst +the team members. + Team Structure and Role assignment + -Supervisor -> Adam + -Scrum Master -> Tom + -Product Owner -> Calum + -Developer -> Hafeez + -Developer -> Josh + -Developer -> Johannes + +It was initially decided that Tom would be the "Scrum Master", and Calum would be the +"Product Owner", and that the roles would be rotated around other group members, +approximately bi-weekly. +A quick brainstorming session was then had to interpret our specification and quickly fill +in the User Epic stories, along with some more decomposed stories and requirements. +As the specification requires, the following is a list of the stories the group came up with. + + +(Time Est | Time taken) +- User Epic stories ------- (Continuous) + - Create a "plug and play" module, providing backend functionality to the clients requirements. ------- (Continuous) + - Conform to a year-wide protocol specification to ensure inter-operability. ------- (Continuous) + - Support the notion of 'Projects', 'Users' with specialisations such as Admin, 'Conversion to Standard File Formats'. ------- (Continuous) + - Be Complete by 23rd April 2018. + - First Release 9th February 2018 +- Design ------- (2-3 Weeks | 3 Weeks) + - Design Test Interface ------- (3 Days | 1 Week) + - Separation of Machine Learning tests & HCI tests. ------- (1 Day | 3 days) + - Plan what mocks of other groups are required to ensure usability. ------- (2 Days | 4 days) + - Design Server ------- (1 week | 1.5 Weeks) + - Stubs for conforming to protocol ------- (1 Day | 3 Days) + - Structure and Core Packages ------- (5 Days | 1 week) + - Language(s)? we will use & why. ------- (1 Day | 1 Day) + - Design Database ------- (1 week | 1.5 Weeks) + - Which database will we use? ------- (1 Day | 1 Day) + - Schema ------- (2 Days | 2 Days) + - ER Diagram ------- (5 Days | 1 Week) +- Implementation ------- (Continuous) + - Database Implementation ------- (~3 Weeks) + - Interface/Linking with the root to the file system. ------- (3 Days) + - Notion of Secure Access for the database. ------- (1 Week) + - Dealing with various filetypes - Conversion / Standardisation for storage. ------- (2 Days) + - Standard procedures for fetching. ------- (2 Days) + - Deal with Storing Image Data (+ other binary formats?) / JSON. ------- (5 Days) + - Deal with storing plain text + tabular data. ------- (5 Days) + - Create Database from schema ------- (3 Days) + - Server Implementation ------- (~1.5 Months | 2 Months) + - Setup initial HelloWorld Sever to ensure correct installation & dependencies. ------- (1 Day| 1 Day) + - Create Strong/Reliable link between server functions and underlying filesystem for database. ------- (1 Weeks | 2 Weeks) + - Create Strong/Reliable link between server functions and the database. ------- (5 Days 1 Week) + - Create pre-processing functions to standardise Data passed in. (images->png & plaintext->csv/json) ------- (1 Week | in proc.) + - Deal with responses to a client ------- (4 Weeks | in proc.) + - Involving continuous file transfer (For example, whilst panning Large Pathology photos.) ------- (1 Week) + - Involving 'simple' file transfer (getting whole file at once for csv etc.) ------- (1 Week) + - Involving file uploads All at once. ------- (1 Week) + - Involving file uploads in chunks for files above 8Mb. ------- (1 Week) + - Create Node "router" to capture all required URLs and forward to functions to handle based on protocol. ------- (1 Day) + - Create Basic error response functions which can be called from anywhere to deal with any potential problems and safely respond to client. ------- (2 Days) +- Testing ------- (9 Weeks | in proc) + - Server Testing ------- (3 Weeks | in proc) + - Create methods to test logic of JS/TS which can be re-run on each commit ------- (2 Weeks | in proc) + - From Backend's perspective ------- (1 Week | 2 Weeks) + - From HCI's perspective ------- (1 Weeks | in proc) + - Create unit tests for individual files can be re-run on each commit ------- (1 Weeks | 1 Weeks) + - Database Testing ------- (2 Weeks | in proc.) + - Carrying out Optimisations/Streamlining ------- (5 Days) + - Profiling of performance of UnCommon Actions (delete) ------- (4 Days) + - Profiling of performance of common actions (file creation/file reads) ------- (4 Days) + - Accuracy of file retrieval ------- (1 Day) + - TestInterface Implementation ------- (2 Weeks | 2 Weeks) + - Create HTML5/JS to retrieve NON image data and display ------- (1 Day | 2 Days) + - Create HTML5/JS to retrieve image (or section of) data and display ------- (1 Day | 4 Days) + - Create HTML5/JS to begin an ML session on some data and retrieve results. ------- (1 Day | 1 Day) + - Create HTML5/JS to check a user/group information ------- (1 Day | 1 Day) + - Create HTML5/JS to upload various filetypes and ensure they convert to universal format. ------- (1 Day | 2 days) + - Create HTML5/JS to action a login ------- (1 Day | 2 days) +- Extension Implementation ------- (~3 Weeks | outstanding) + - Develop a Caching function for frequently accessed files, or anticipate UUIDs next to be accessed for increased performance. ------- (1 Week) + - Extend our basic server implementation, to support multiple instances and ensure ATOMICity of DB and sensible file distribution. ------- (2 Weeks) + - Upgrade all HTTP interactions to HTTPS ------- (2 Days) + - Add support for Lecia file conversion (heavily licenced) ------- (2 Weeks) + + +Additionally as part of following the scrum methodology of development, the group carried out a selection of meetings to: +1) Evaluate the current sprint (Work complete, standard, sprint time etc. +2) Retrospectively plan anything with crept up throughout the past sprint, and evaluate how we dealt with it. +3) Catch up with each others' progress and decide on work distribution +The Following is a quick summary of these meetings: + +> Meeting 1: +> > Date: +> Time: +> Attendance: +> Content : + +> Meeting 2: +> > Date: +> Time: +> Attendance: +> Content : + +# Need to upload the pictures of our scrum board to the repository/report! +# ALSO need to upload our burn-down charts to this report. + + + + + +### Sources: +[Help regarding creating a restful api with both node and typescript as a combo](http://mherman.org/blog/2016/11/05/developing-a-restful-api-with-node-and-typescript/#.WlW1fhdpw8o) +[Typescript for Node](https://basarat.gitbooks.io/typescript/docs/quick/nodejs.html) +[Sequelize (ORM library for connecting to the Postgres Database)](https://sequelize.readthedocs.io/en/v3/) +[Sequelize-Typescript specialisation (For making sequelize more adapted for postgres over mysql)](https://github.com/RobinBuschmann/sequelize-typescript) diff --git a/report/deliverable-1/report.tex b/report/deliverable-1/report.tex new file mode 100644 index 0000000..dae5b11 --- /dev/null +++ b/report/deliverable-1/report.tex @@ -0,0 +1,438 @@ +\documentclass{article} +\usepackage[margin=1in]{geometry} +\usepackage{graphicx} +\usepackage{a4wide} +\usepackage{float} +\usepackage{listings} + +\graphicspath{graphics} + +\begin{document} +\title{Report --- Juniour Honours Project Submission 1} +\author{Hafeez Abdul-Rehaman, Johannes Weck, Josh Lee, Calum Duff, Tom Harley} +\date{\today} + +\maketitle + +\tableofcontents + +\section{Requirements Overview} +For our Junior Honours project, we are to design and create a database +for a system which will be used primarily for the sharing and viewing +of various medical and pathological media. + +Our database is to be: +\begin{description} + \item[User-aware] The system should act as a platform for managing + users and their permissions, with respect to viewing and affecting + projects and media. + \item[Filetype-agnostic] The system should accept files in a + variety of filetypes and be able to translate between them, in order to + provide a user with a desirable output filetype. + \item[Substitutable] The system should follow standardised + communication protocols, to participate in a framework of modularised + systems created in conjunction with other Junior Honours groups. +\end{description} + +\section{Using Scrum} +The Scrum approach facilitated the +planning and running of group meetings. As the year-wide protocol changed +over time, an AGILE working process provided the granular iteration +required to address the frequent design changes. + +\subsection{Scrum Board} +Throughout the project a Scrum board has been used to keep track of current tasks +and further items to implement. A whiteboard in the John Honey main computer lab +was used throughout this process. Examples of the board in use can be found in +Appendix \ref{app:board}. + +The Scrum board made visualizing tasks and progression straightforward. +Using it in meetings helped with determining how much was still to be done. + +At times the \emph{In Progress} section of the Scrum board seemed unbalanced; +at these times several people were working on the same large task, and so fewer +notes were placed in this column. + +\subsection{Time Management} +Based on how tasks were split, and the difficulty of various tasks, we estimated +durations for each task. Due to the widely-varying estimated completion times, +we decided to distribute our Sprint durations accordingly. +Initially, we divided our total available time with the number of available tasks, +but over time experience from previous work and from previous meetings was helpful in +refining the expected duration of the future tasks. +This, combined with +the late reveal of the specification meant that work was done over holidays, greatly +warping the duration of several Sprints to be longer than anticipated. + +\begin{figure}[H] +\centering + \includegraphics[width=\linewidth]{graphics/chart.png} + \caption{A Burn Down chart graphically representing average completion time of tasks} + \label{fig:burndown} +\end{figure} + +\subsection{Meetings} +Meetings were held every 1-3 weeks with the entire team. +They were carried out in person or, during the holidays, using +voice chat clients. + +Meetings helped members of the team understand what was being done by +other members of the team, particularly in areas were only one person +was working. They also helped the team decide on what was important to +attempt in the next Sprint. + +The minutes for formal meetings are available in Appendix \ref{app:meet}. + +\subsection{Paired Programming/Teamwork} +Paired Programming was used extensively throughout implementation of basic server +functions, such as writing logic for the public protocol endpoints. + +Multiple people working on a single task reduces the total actual time it takes to +complete. This allowed larger tasks that would not normally fit into a regular Sprint +to still be tackled within a single Sprint. + +At times the entire team was in labs, working concurrently on separate tasks. + +Having everyone in the same place focussed everyone on the task at hand and greatly +improved communication, keeping everyone working on what was important and not dallying. + +\subsection{Evaluation of Work Done/To Do} +The Scrum board and regular meetings greatly aided in our evaluation of how much work +had been completed, and how much there was left to do, at the time. Now that we're +used to Scrum, evaluation of further tasks (such as extensions) should be more +realistic, and tasks are more likely to be assigned to Sprints with enough time to +accommodate them, instead of persisting to the next Sprint. + +\section{Design Decisions} +\subsection{Database} +\subsubsection{Security} +Passwords in the database are currently stored totally unencrypted. Initially, +the focus of work was on routing traffic, and for this purpose salting +passwords is unnecessary. Once the server is past development phase, passwords +will be encrypted in some secure fashion. + +\subsubsection{File Representation} +File paths are stored in the database, represented as one-to-many parent-folder-to-file +mappings. This decision was made since all files will already have entries in the +database (such as metadata and their UUID), and adding the remainder of necessary +information for a file would be simple. + +While file paths are stored in the database, the file content itself will not be. +It has been specified that the system should be capable of storing large files, +and databases may struggle with the difficulties of storing variable-size Binary +Large Objects when said objects are of this scale. In addition, the breakdown and +caching of large images into image pyramids both increases the quantity of binary +data that will need to be stored, and greatly increases the number of reads and +writes carried out by the server on binary data. File systems, on the other hand, +are optimised for jobs of this kind. + +The resulting setup is a virtual filesystem that resembles a regular filesystem, +and a very flat physical filesystem: a root folder containing a folder for each +project, which in turn contain all non-folder files belonging to that particular project. +Keeping the files separated by folders named after their projects allows for simple +deletion of an entire project. + +All files in the database are given a UUID, which serves a number of functions: +\begin{enumerate} + \item It is the name of the file in the physical file system on disk, + \item It can be used to uniquely identify a file irrespective of its position + in the virtual file system, + \item It can be used to keep a reference to a file even if it is moved + (or even if it is deleted). +\end{enumerate} + +Examples of SQL queries using the structure described can be found in Appendix +\ref{app:sql}. + +\subsection{Server Framework} +This practical requires a variety of utilities, and should be easy to document and +to understand from an outside perspective. Additionally, it was decided that for a +large project a language and platform that all members of the team were comfortable +with was a high priority. Finally, the system would need to be scalable, in the sense +that additional features should be easy to implement and plug in to the +already-functioning system. + +For these reasons, NodeJS and Typescript were chosen as the framework and language +for the project. + +\subsubsection{NodeJS} +NodeJS has a huge library (or \emph{package}) repository, providing teams with a wide variety of options on how to implement projects. Its ease of deployment on both *nix and Windows systems, +and its common IDE support make it ideal for team development. + +\subsubsection{Typescript} +While not every team member had previously used Typescript, all had used and are comfortable +with Javascript, and were willing to take on the slight increase in complexity for static +type checking. Typescript's compile-time checks and IDE integration remove the ambiguity of +Javascript from large projects, improving their scalability and maintainability as the project +increases in size. + +\subsubsection{ExpressJS} +A core package used by the project for client-server communication is the middleware handler +ExpressJS. This package allows for easy insertion and use of any number of middlewares, both created in-house +and imported from other packages. Uses for this multi-layer structure include authentication, user +permission checking, and wrapping responses with statuses. + +ExpressJS also handles client-server communication through a RESTful API. + +\begin{figure}[H] + \centering + \includegraphics[width=1.5in]{graphics/be-layer-structure.pdf} + \caption{Structure of Layers in a Server Instance} + \label{fig:layer} +\end{figure} + +\subsubsection{Sequelize (and Sequelize-Typescript)} +Sequelize was chosen as the ORM package to use to connect to the database server. It was chosen over other +similar packages for its variety of powerful features (such as eager loading) and its large user-base. +It can connect to a variety of SQL-dialect databases, and hides the low-level table interactions to create +a simple abstraction to Javascript objects. +Furthermore, it also has comprehensive and clear documentation, providing better access to these features. + +In addition to Sequelize is the add-on package Sequelize-Typescript: this improves Sequelize syntax to +accept ES6 classes with Typescript types as ORM model definitions, amongst other smaller improvements +made possible by Typescript's experimental annotation support. + +\subsubsection{Token-Based Authentication (Passport/JWT)} +The protocol designed by the entire year uses a token-based authentication service +similar to and inspired by OAuth2. Using token-based authentication removes the need +for sessions or for cookies while still providing a smooth and secure user experience, +and simplifying client design. +It was decided that implementing OAuth2 in its entirety would be superfluous. OAuth2 +relies on the acquisition of tokens from third parties, which would be unsuitable for +a simple system such as this. + +The Javascript package Passport was used for handling authentication through this protocol. +Passport's support for custom authentication services in addition to its synergy with ExpressJS middleware +support made it an obvious choice. + +For generating authentication "bearer" tokens, JWT was used. + +\subsection{Testing Framework} +Testing was extensive and concurrent to the implementation in each Sprint. This was to ensure minimal time was spent debugging which then prevented the team from missing the Sprint deadlines. Unit testing was one of the primary methods of testing individual functionality. This was very useful for a modularised task as each module could be debugged without affecting other modules which were functioning as expected. Producing unit tests concurrently with the implementation of certain functionality gave the advantage of designing the functionality around the possible input or validation errors that may occur. MochaJS and ChaiJS were the JavaScript frameworks used for unit testing. These were chosen due to their simplicity of use and strong compatibility with TypeScript and Express.js. They both also allowed automation which increased efficiency and productivity. An example of tests that were performed include matching the response object for all routes to what is expected as defined by the protocols. + +Unit test were convenient for implementation, however, to be thorough further tests were applied whilst the server was actually running in order to ensure that different components work as expected as a larger unit. These particular tests were applied during the end of each implementation iteration as all components are needed. The process began by starting the server on a host machine and specific port. Then tools such as cURL and Postman helped act as the client, in order to send appropriate requests to the server. A set of requests were sent and the responses given were compared to the responses that were actually expected. Some stages resulted in server errors which described bugs in the system where previously we would not have foreseen. + +As well as testing the individual functionality of components, testing was also carried out on data types to ensure certain programming errors will be detected and reported. This was also completed using MochaJS and ChaiJS. + +Further testing is still in progress however this requires additional components to be added to the system in upcoming Sprints. One portion of testing includes producing a mock user interface in order to test integration further on with other sections of the system which are completed by other teams. A client-side SDK for each request is generated by SwaggerHub, which prevents any focus being applied to user interaction and keeps the back-end server as the main task. + +\section{Looking Ahead} +\subsection{File Agnosticity} +It is the goal of a backend server to be able to support any file type possible as part of a project. These may be miscellaneous files that a user would like to store in the project, or it may also be a temporary file created by an HCI or ML service which is proprietary to the work they are carrying out. In the average case where a file is one of the Users’ complex image formats, or an excel spreadsheet perhaps - the server should be capable of converting this into a standardised file format that anything should be able to read. In particular, if a ‘Leica’ file is uploaded in ‘.scn’, our server should be capable of converting this into whatever resolution of sub pictures in PNG format so that we can ensure interoperability between components and clients. The server may still hold on to the original file and, in-fact would be expected to do so, but should only ever hand out standard formats from endpoints. In the case of Excel files (.xlsx), the server should be capable of transforming these sheets into ‘.csv’, to be read from another service, whilst maintaining the ability for clients to still download the original proprietary format. For example, if an ‘HCI’ client is connecting through a mobile phone, the client shouldn’t care which format an image was uploaded to a project in, as it should always send out a standard (PNG for images) format to remain type-agnostic. + +\subsection{Advanced Telemetry} +As part of professional development, an end goal was set to enable the server to be particularly self-aware through advanced telemetry monitoring. There are many benefits to this, mainly improved system performance to reduce bottlenecks, as well as being resilient to errors that may crop up with user interaction. +Some forms of telemetry considered were continually monitoring the kinds of requests that are coming in and check to see if they access similar locations. Then UUIDs could be cached with meta information such as hit count, and related files so that the sever could learn about the kinds of operations being carried out on it, and report back to some kind of systems admin. We could also start to preemptively carry out certain tasks such as unpacking and converting spatially adjacent images for files that are currently being browsed to reduce latency on further “panning” of the file for example. Statistics about this kind of operation could be gathered, such as time taken to complete and the time difference that was saved by doing so. These kinds of results would then be used to make an internal decision if some of the files should be “permanently” stored in some converted format. + +With regards to the scalability potential of running multiple instances, there is a plethora of further telemetry that can be gathered about connections made between instances, both with reference to the content in the database and the ACID/atomic properties which would need to be upheld, as well as with regards to the physical file distribution across multiple geographical nodes. +There could then be all kinds of algorithms to determine if files should be “invisibly” shuffled around behind the scenes to provide a more seamless experience for the end-user. + +\subsection{ACID Distribution} + +\begin{figure} + \centering + \includegraphics[width=3in]{graphics/acid-echo.pdf} + \caption{A Server Instance Connected to an Echo Server as Part of a Distributed Network} + \label{fig:acid} +\end{figure} + +Building on the atomic nature of a database transaction, and given the Users deployment scenario (multiple research facilities potentially across multiple geographically diverse locations), we thought it would be critical to allow the database to have multiple instances operating concurrently. Approximately how this would look, is that clients talk to the backend server they are physically closest to on the network for the lowest possible latency. However, since there can be multiple nodes to serve clients in different locations, the servers would need to make a "best attempt" to synchronise in an atomic manner. This would make the system far more scalable in the future, and may have potential applications for things such as a "live" backup server - since medical data is all fairly critical. +On top of the transactions to the Database being atomic and synchronised across all instances of the server, the physical distribution of file storage would additionally need to be considered. + +Since we made the design decision to store all of the actual files, outside of the database, then keeping atomic communication to each instance server does not necessarily solve the issue of file replication.For example, if a member of a group is working on a node other than the "root" node where that project was created and all of the data happens to be stored for it, then we will need to include some kind of notion of a "server reference" for each file known about by the database. +Then, if a client made a request for data not locally stored, it could either be re-directed by the server to the other node, or the server forwards the request then pipes it back to the client. + +Alternatively, as a further specialisation of this functionality, the server could intelligently detect related data to the "foreign" request being made, and pre-emptively load in the data from the alternate server, so it is ready to serve future data locally. This data could be cached locally and used, then re-synchronised if changes were made back to the original, or dropped if it was just for reading. It is likely however that most of these interactions will be reads, so activities such as carrying out a machine learning session on some data would only require the (potentially) smaller file containing the results to be synchronised back, which is a much easier task as it would likely just be new file upload to the remote server. +As part of professional development, an end goal was set to enable the server to be incredibly self aware through advanced telemetry monitoring. There are many benefits to this, mainly improved system performance to reduce bottlenecks, as well as being resilient to errors that may crop up with user interaction. +Some forms of telemetry considered were continually monitoring the kinds of requests that are coming in and check to see if they access similar locations. Then UUIDs could be cached with meta information such as hit count, and related files so that the sever could learn about the kinds of operations being carried out on it, and report back to some kind of systems admin. We could also start to preemptively carry out certain tasks such as unpacking and converting spatially adjacent images for files that are currently being browsed to reduce latency on further “panning” of the file for example. Statistics about this kind of operation could be gathered, such as time taken to complete and the time difference that was saved by doing so. These kinds of results would then be used to make an internal decision if some of the files should be “permanently” stored in some converted format. + +With regards the scalability potential of running multiple instances, there is a plethora of further telemetry that can be gathered about connections made between instances, both with reference to the content in the database and the acid/atomic properties which would need to be upheld, as well as with regards the physical file distribution across multiple geographical nodes. +There could then be all kinds of algorithms to determine if files should be “invisibly” shuffled around behind the scenes to provide a more seamless experience for the end-user +\appendix +\section{Scrum Board Images} \label{app:board} + +{ +\centering +\includegraphics[width=\textwidth]{graphics/4-12-17.jpg} +\includegraphics[width=\textwidth]{graphics/4-12-17-2.jpg} +\includegraphics[width=\textwidth]{graphics/8-1-18.jpg} +\includegraphics[width=\textwidth]{graphics/29-1-18.jpg} +\includegraphics[width=\textwidth]{graphics/5-2-18.jpg} +} + +\section{Scrum Meeting Minutes} \label{app:meet} +\begin{lstlisting} +Project Meeting minutes + +Group project meeting 1 +Date: 10/11/17 +Topics: +Code type +User initial tasks and roles + + +Outcomes: + + +* Scrum +* Scrum master: Tom +* Product owner: Calum +* Code: + * Language: typescript + * Framework: NodeJS +* File conversion: + * On-the-fly - only keep original and convert when necessary +* OpenCdragon lib +* Networking: + * Express.js +* Storage: + * Database + * Storing json format for metadata + * Filepath for files +* Users, groups: + * Tokens - libraries? + * oauth -> which version? + * stored in tables - encryption +* Security: + * Per-file encryption + * Hash passwords + * not needed? +* Other: + * ask IT services for more user space + * Use teamspeak over christmas +* Deadline 5 days after we come back +* Next_Tasks: + * Tom: setup basic Node Server + * Get data from user on friday + * Design API + * Johannes: test file conversion libraries + * Calum: think about database format + * Make ER diagram and Schema + + +Group project meeting 2 pre sprint +Date: 4/12/17 +Topics: +Database type and design +Authorisation +Protocol +Set up first set of user stories +Setting up server + + +Outcomes: +* Database +* Postgres +* Talk about design +* Set up ER diagram +* Authentication and security +* Passport +* oauth tokens +* User stories- +* Setting up stubs for conforming to database +* Setting up database from ER diagram + + +Group project meeting 3 post sprint +Date: 8/12/17 +Topics: +Burnout chart +Evaluation of sprint +Setting next time for sprint +Change of scrum master and project + + +Outcomes: +* Change of roles +* Scrum master: Johannes +* Project Owner: Hafeez + + +Group project meeting 4 +Date: 8/1/18 +Topics +Storing files +Setting up mock HCI +Dealing with file types +Thinking About File type conversions + +Change of roles + +Outcomes +* Change of roles +* Scrum master: Calum +* Project Owner: Josh + + +Group project meeting 5 +Date: 28/1/18 +Topics: +Discuss previous sprint +Catching up on research Over Holidays +Planning How to Acheive First Deliverable + +Outcomes: +* Continuing on the Scrum board with realistic +goals of tasks that can be completed by the deadline +* Redistribution of work between members so that +everyone has an even share of the work + +Group project meeting 6 +Date: 3/2/18 +Topics: +User stories for sprint before first hand in. +What tasks we are leaving until next hand in + + +Outcomes: +* File conversions saving for future hand in +* Have a working demo for following hand in +* User stories +* Is the Epic User Story achievable by the end of the year? + +Discuss previous sprint +Discuss how to present hand in + + +Outcomes: +* Responsibilities +\end{lstlisting} + +\section{Example SQL Queries on File System} \label{app:sql} +\subsection{Example 1} +To locate an image called image1 at folder1/folder2/folder3/image1 to find it you would use the queries: +\begin{lstlisting}[language=SQL] +SELECT * FROM dirent + NATURAL JOIN folder WHERE + folder_name = 'folder1' AND + super_folder is null AND + project_name = 'project 1'; +SELECT * FROM dirent WHERE + super_folder = '77dea3b7-523e-463a-aff1-3d8b92259fbb'; +SELECT * FROM dirent WHERE + super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; +SELECT * FROM dirent + NATURAL JOIN image WHERE + super_folder = '22b94214-6942-40dd-b8af-deb1371fa298'; +\end{lstlisting} + +From this directory, if you wanted to find dirents contained within folder 2 you could use the +queries: +\begin{lstlisting}[language=SQL] +SELECT * FROM dirent WHERE + id = '22b94214-6942-40dd-b8af-deb1371fa298'; +SELECT * FROM dirent + WHERE super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; +\end{lstlisting} + +\subsection{Example 2} +Using: +\begin{lstlisting}[language=SQL] +INSERT INTO + project ("project_name", "owner") + VALUES ('project 1', 'josh') +\end{lstlisting} + +Would give all permissions to josh in project 1. + +\end{document} diff --git a/report/deliverable-2/Makefile b/report/deliverable-2/Makefile new file mode 100644 index 0000000..135009b --- /dev/null +++ b/report/deliverable-2/Makefile @@ -0,0 +1,9 @@ +.PHONY: default clean FORCE + +default : main.pdf + +%.pdf : %.tex FORCE + latexmk -pdf $< + +clean : + latexmk -C diff --git a/report/deliverable-2/appendix/minutes.tex b/report/deliverable-2/appendix/minutes.tex new file mode 100644 index 0000000..44aa702 --- /dev/null +++ b/report/deliverable-2/appendix/minutes.tex @@ -0,0 +1,68 @@ +\section{Meeting Minutes}\label{app:meet} +\begin{lstlisting} + +Group Project Meeting 1 post submission +Date: 12/02/18 +Topics: +Reassigning scrum roles +Creating next set of tasks +Task allocation + +Outcomes: +* Scrum: + * scrum master - Hafeez + * project owner - Calum + +*Tasks: + * Implementing endpoints + * Implementing file conversions + * Improving test coverage + * Writing tests for untested sections + * Connecting all middleware + * Decide on how to deal with errors + * Organising file-system + * Creating a Linter to maintain a consistent file structure + +Group Project Meeting 2 Pre-sprint +Date 19/02/18 +Topics: +Define user stories +Task allocation + +Outcomes: +* Sprint + * 2 Week long sprint + * Mid sprint meeting set for 26/02/18 +* Images + * Dealing with leica and zeiss files +* Testing + * Implementing unit and integration tests +* Logger + * Standard and SQL logger + + +Group Project Meeting 3 mid-Sprint +Date 26/02/18 +Topics: +updating progress + +Outcomes: +* Images + * Continued work on image files + * File extraction and testing + * Stitching +* Logger + * Needed a better one to log problems + +Group Project Meeting 4 post-sprint +Date 05/03/18 +Topics +Final tasks required before deadline + +Outcomes: + * Finishing off of the report + * Finish testing + * Process manager + * Hosting on heroku + +\end{lstlisting} diff --git a/report/deliverable-2/appendix/scrumboard.tex b/report/deliverable-2/appendix/scrumboard.tex new file mode 100644 index 0000000..e868278 --- /dev/null +++ b/report/deliverable-2/appendix/scrumboard.tex @@ -0,0 +1,8 @@ +\section{Scrum Board Images} \label{app:board} + +{ +\centering +\includegraphics[width=\textwidth]{graphics/scrum.jpg} +\includegraphics[width=\textwidth]{graphics/scrum3.jpg} +\includegraphics[width=\textwidth]{graphics/scrum4.jpg} +} diff --git a/report/deliverable-2/biblio.bib b/report/deliverable-2/biblio.bib new file mode 100644 index 0000000..fdfc56b --- /dev/null +++ b/report/deliverable-2/biblio.bib @@ -0,0 +1,189 @@ +@misc {tslint, + howpublished = {https://palantir.github.io/tslint/}, + title = {TSLint}, + publisher = {Palantir Technologies}, + year = {2016}, + note = {Accessed: 2018-03-01} +} + +@misc {protocol, + howpublished = {https://github.com/CS3099JH2017/cs3099jh/tree/master/protocols}, + title = {CS3099JH2017 Protocol}, + publisher = {CS3099 Year Group of 2017/18}, + year = {2018}, + note = {Accessed: 2018-03-02} +} + +@misc {yarn, + howpublished = {https://yarnpkg.com/en/docs}, + title = {Yarn}, + publisher = {Yarn Organization}, + note = {Accessed: 2018-03-02} +} + +@misc {typescript, + howpublished = {https://www.typescriptlang.org/docs/home.html}, + title = {TypeScript}, + publisher = {Microsoft}, + year = {2017}, + note = {Accessed: 2018-03-02} +} + +@misc {sequelize, + howpublished = {http://docs.sequelizejs.com/}, + title = {Sequelize}, + publisher = {Sequelize}, + note = {Accessed: 2018-03-02} +} + +@misc {sequelize-typescript, + howpublished = {https://github.com/RobinBuschmann/sequelize-typescript}, + title = {sequelize-typescript}, + publisher = {Robin Buschmann}, + note = {Accessed: 2018-03-02} +} + +@misc {postgres, + howpublished = {https://www.postgresql.org/docs/}, + title = {PostreSQL}, + publisher = {The PostgreSQL Global Development Group}, + year = {2018}, + note = {Accessed: 2018-03-02} +} + +@misc {mocha, + howpublished = {https://mochajs.org/}, + title = {Mocha}, + publisher = {mochajs}, + note = {Accessed: 2018-03-02} +} + +@misc {mocha-each, + howpublished = {https://github.com/ryym/mocha-each}, + title = {mocha-each}, + publisher = {ryym}, + note = {Accessed: 2018-03-02} +} + +@misc {chai, + howpublished = {http://chaijs.com/api/bdd/}, + title = {Chai Assertion Library}, + publisher = {chaijs}, + note = {Accessed: 2018-03-02} +} + +@misc {chai-http, + howpublished = {http://chaijs.com/plugins/chai-http/}, + title = {Chai HTTP}, + publisher = {chaijs}, + note = {Accessed: 2018-03-02} +} + +@misc {express, + howpublished = {https://expressjs.com/en/4x/api.html}, + title = {Express 4.x}, + publisher = {expressjs}, + year = {2017}, + note = {Accessed: 2018-03-02} +} + +@misc {passport, + howpublished = {http://www.passportjs.org/docs/}, + title = {Passport}, + publisher = {Jared Hanson}, + note = {Accessed: 2018-03-02} +} + +@misc {passport-local, + howpublished = {https://github.com/jaredhanson/passport-local}, + title = {passport-local}, + publisher = {Jared Hanson}, + note = {Accessed: 2018-03-02} +} + +@misc {morgan, + howpublished = {https://github.com/expressjs/morgan}, + title = {morgan}, + publisher = {expressjs}, + note = {Accessed: 2018-03-02} +} + +@misc {typedoc, + howpublished = {http://typedoc.org/guides/usage/}, + title = {TypeDoc}, + publisher = {TypeStrong}, + note = {Accessed: 2018-03-02} +} + +@misc {xlsx, + howpublished = {https://github.com/sheetjs/js-xlsx}, + title = {js-xlsx}, + publisher = {SheetJS}, + note = {Accessed: 2018-03-02} +} + +@misc {docker, + howpublished = {https://hub.docker.com/}, + title = {Docker Hub}, + publisher = {Docker Inc.}, + year = {2016}, + note = {Accessed: 2018-03-02} +} + +@misc {@types, + howpublished = {http://definitelytyped.org/}, + title = {DefinitelyTyped}, + publisher = {DefinitelyTyped}, + year = {2017}, + note = {Accessed: 2018-03-02} +} + +@misc {strongloop, + howpublished = {https://strongloop.com/}, + title = {StrongLoop}, + publisher = {IBM}, + year = {2018}, + note = {Accessed: 2018-03-07} +} + +@misc {pm2, + howpublished = {http://pm2.keymetrics.io/}, + title = {pm2}, + publisher = {KeyMetrics}, + note = {Accessed: 2018-03-07} +} + +@misc {forever, + howpublished = {https://github.com/foreverjs/forever}, + title = {foreverjs}, + publisher = {foreverjs}, + note = {Accessed: 2018-03-07} +} + +@misc {sharp, + howpublished = {https://github.com/lovell/sharp}, + title = {sharp}, + publisher = {Lovell Fuller}, + note = {Accessed: 2018-03-06} +} + +@misc {sharpPerformance, + howpublished = {http://sharp.pixelplumbing.com/en/stable/performance/}, + title = {Sharp Performance}, + publisher = {Lovell Fuller}, + note = {Accessed: 2018-03-06} +} + +@misc {zeissLicence, + howpublished = {https://www.zeiss.com/microscopy/int/products/microscope-software/czi/czi-download.html}, + title = {Apply for Zeiss Licence}, + publisher = {Carl Zeiss Microscopy GmbH}, + note = {Accessed: 2018-03-06} +} + +@misc {openseadragon, + howpublished = {https://openseadragon.github.io/docs/}, + title = {OpenSeadDragon}, + publisher = {openseadragon}, + note = {Accessed: 2019-03-07} +} diff --git a/report/deliverable-2/graphics/1.png b/report/deliverable-2/graphics/1.png new file mode 100644 index 0000000..089b8ef Binary files /dev/null and b/report/deliverable-2/graphics/1.png differ diff --git a/report/deliverable-2/graphics/2.png b/report/deliverable-2/graphics/2.png new file mode 100644 index 0000000..1714110 Binary files /dev/null and b/report/deliverable-2/graphics/2.png differ diff --git a/report/deliverable-2/graphics/3.png b/report/deliverable-2/graphics/3.png new file mode 100644 index 0000000..7eef8dc Binary files /dev/null and b/report/deliverable-2/graphics/3.png differ diff --git a/report/deliverable-2/graphics/4.png b/report/deliverable-2/graphics/4.png new file mode 100644 index 0000000..8379ef7 Binary files /dev/null and b/report/deliverable-2/graphics/4.png differ diff --git a/report/deliverable-2/graphics/5.png b/report/deliverable-2/graphics/5.png new file mode 100644 index 0000000..aeea913 Binary files /dev/null and b/report/deliverable-2/graphics/5.png differ diff --git a/report/deliverable-2/graphics/6.png b/report/deliverable-2/graphics/6.png new file mode 100644 index 0000000..e3fb624 Binary files /dev/null and b/report/deliverable-2/graphics/6.png differ diff --git a/report/deliverable-2/graphics/7.png b/report/deliverable-2/graphics/7.png new file mode 100644 index 0000000..a917d83 Binary files /dev/null and b/report/deliverable-2/graphics/7.png differ diff --git a/report/deliverable-2/graphics/burndown.png b/report/deliverable-2/graphics/burndown.png new file mode 100644 index 0000000..f3ae71d Binary files /dev/null and b/report/deliverable-2/graphics/burndown.png differ diff --git a/report/deliverable-2/graphics/km-dash.png b/report/deliverable-2/graphics/km-dash.png new file mode 100644 index 0000000..840395d Binary files /dev/null and b/report/deliverable-2/graphics/km-dash.png differ diff --git a/report/deliverable-2/graphics/scrum.jpg b/report/deliverable-2/graphics/scrum.jpg new file mode 100644 index 0000000..4b5c911 Binary files /dev/null and b/report/deliverable-2/graphics/scrum.jpg differ diff --git a/report/deliverable-2/graphics/scrum2.jpg b/report/deliverable-2/graphics/scrum2.jpg new file mode 100644 index 0000000..231cf1f Binary files /dev/null and b/report/deliverable-2/graphics/scrum2.jpg differ diff --git a/report/deliverable-2/graphics/scrum3.jpg b/report/deliverable-2/graphics/scrum3.jpg new file mode 100644 index 0000000..012e9b3 Binary files /dev/null and b/report/deliverable-2/graphics/scrum3.jpg differ diff --git a/report/deliverable-2/graphics/scrum4.jpg b/report/deliverable-2/graphics/scrum4.jpg new file mode 100644 index 0000000..ab1f7a5 Binary files /dev/null and b/report/deliverable-2/graphics/scrum4.jpg differ diff --git a/report/deliverable-2/graphics/scrum5.jpg b/report/deliverable-2/graphics/scrum5.jpg new file mode 100644 index 0000000..e79e828 Binary files /dev/null and b/report/deliverable-2/graphics/scrum5.jpg differ diff --git a/report/deliverable-2/graphics/title-logo.png b/report/deliverable-2/graphics/title-logo.png new file mode 100644 index 0000000..8a72423 Binary files /dev/null and b/report/deliverable-2/graphics/title-logo.png differ diff --git a/report/deliverable-2/main.tex b/report/deliverable-2/main.tex new file mode 100644 index 0000000..dce9106 --- /dev/null +++ b/report/deliverable-2/main.tex @@ -0,0 +1,38 @@ +\input{preamble} + +\input{title} + +\begin{document} + + \maketitle + \thispagestyle{empty} + \newpage + \setcounter{page}{1} + + \tableofcontents + \newpage + + \input{texts/aims} + \input{texts/scrum} + \input{texts/conversion} + % \input{texts/protocol} + % \input{texts/auth} + \input{texts/logging} + \input{texts/process-management} + \input{texts/testing} + \input{texts/typings} + \input{texts/conclusion} + + \appendix + \newpage + \input{appendix/scrumboard} + \newpage + \input{appendix/minutes} + + \clearpage + + \nocite{*} + \bibliography{biblio}{} + \bibliographystyle{plain} + +\end{document} diff --git a/report/deliverable-2/preamble.tex b/report/deliverable-2/preamble.tex new file mode 100644 index 0000000..14787a9 --- /dev/null +++ b/report/deliverable-2/preamble.tex @@ -0,0 +1,13 @@ +\documentclass{article} + +\usepackage[margin=1in]{geometry} +\usepackage{a4wide} + +\usepackage{graphicx} +\graphicspath{{./graphics/}} + +\usepackage{float} +\usepackage{listings} +\usepackage{cite} + +\def\file{\texttt} diff --git a/report/deliverable-2/texts/aims.tex b/report/deliverable-2/texts/aims.tex new file mode 100644 index 0000000..e1da3ee --- /dev/null +++ b/report/deliverable-2/texts/aims.tex @@ -0,0 +1,7 @@ +\section{Aims for submission 2} +From our first submission, we now had a working server that allowed a user to access our own mock user interface to log in and access data based on their level of authorisation. Following this we set up a meeting to lay out goals for ourselves that would act as requirements for the second submission. +\begin{description} + \item[Define Specific Protocol] Now that we had a working server, we next wanted to define specific protocol in order to demo our progress using work from another Junior Honours HCI groups. + \item[Manage Filetype Conversions] A main part of this submission was creating a file converter for all the required file types that would be needed. + \item[Testing] As our code was getting more complicated we wanted to make sure that extensive testing was implemented to create a more secure and consistent system. +\end{description} diff --git a/report/deliverable-2/texts/conclusion.tex b/report/deliverable-2/texts/conclusion.tex new file mode 100644 index 0000000..0e40979 --- /dev/null +++ b/report/deliverable-2/texts/conclusion.tex @@ -0,0 +1,5 @@ +\section{Conclusion} +As a group a lot of progress was made for this submission, we were proactive in setting out goals for ourselves and feel we are now well on track to produce an outstanding final hand in. Our continued use of scrum has helped keep workload consistent and effective right through to this submission and we hope to continue in this way. Scrum is essential in our progress as it helps to manage time and organise the team work and so this process will be used for the duration of the project. Having now combined our work with the HCI group we are looking forward to working with teams focused on machine learning to tie together all 3 sections of the application to create the desired system set out by the project owner. + +\subsection{Next Tasks} +Viewing the system as a whole, substantial progress has been made in completing each required task whilst also managing time for each task appropriately. Looking further ahead, our next objectives will surround performance enhancing, further testing and finally completing the integration process with the rest of the system. The process for these will include a large amount of analysis on the working server, which include finding delays between certain requests and responses, measuring time taken for converting files and testing for bugs after integration. Another important aspect is the security of the application, and preventing bugs from leading to exploits which can be used for malicious use. This is particularly important within the medical industry as data confidentiality and integrity are apart of practitioners' policy. One method of testing for this task would be penetration testing, using a suite of tools to attack the application, which would determine any vulnerabilities that exist. \ No newline at end of file diff --git a/report/deliverable-2/texts/conversion.tex b/report/deliverable-2/texts/conversion.tex new file mode 100644 index 0000000..87db332 --- /dev/null +++ b/report/deliverable-2/texts/conversion.tex @@ -0,0 +1,135 @@ +\section{File Conversion} +One of the most key pieces of functionality for the backend groups is the facilitation of the agnosticity of +original file formats to the end user. No matter the original upload format, backend groups should all be +capable of returning files in standard file formats. +These specific ``standards'' were not hard-defined by the specification, however as part of our whole year +protocol, it was decided that \emph{JSON} would be used for file meta-information, as well as the +main structure of all responses from a backend server. \emph{PNG} was decided upon as the standard file format +for all images, since it is very widely supported and has other favourable properties we would like to +take advantage of. + +\subsection{Dealing with Images} +The nature of the file formats that we were expected to abstract over however turned out to be significantly +more challenging than was initially perceived. The file formats of `Leica' and `Zeiss' are widely used in the +medical field (the department we are providing this service for), however almost nowhere else. Upon looking +into this more closely, it was found that the Zeiss file format is very proprietary and licensed. + +This means that in order to even gain access to simply read the documentation you must fill in your details +and make an application for the documentation~\cite{zeissLicence}. Part of the agreement for this documentation is that you are +not allowed to share it with anyone else; you are allowed to write software to \emph{deconstruct} them; you +are strictly \emph{not} allowed to write any software to construct them. + +The documentation gives a description of the various ``segments'' of binary that can appear in the file, and +attempts to assist you in the method to read them. Given the large nature of the file size of a Zeiss, it makes +sense for them to be designed to be `streamable', which they are --- allowing you to read smaller chunks at a +time rather than loading the whole object into memory simultaneously. + +After reading the specification in great detail, it was clear that it was extremely specialised and has +the potential to nest a variety of other file types within itself, as well as have many fields missing +--- as they are optional --- making it quite complex to interpret. In addition to this, the major difficulty +came from the fact that the base file is a proprietary binary file, which also contains things such as 128bit +unsigned integers. This fact, coupled with the substantial file sizes made the choice for languages to deal +with them limited to a systems programming language. Since I had most experience in `C99', then this seemed +the only realistic possibility. + +\subsubsection{Extraction of Zeiss Within `C'} +One major consideration was that --- due to the sheer file size of many of these images --- we would need +to store them on the local \file{/cs/scratch} drive of the lab machines: they are simply too +large to store either on our host servers statically, let alone when working on extracting and expanding the +thousands of smaller files within them. + +With this in mind, and closely comparing the +`C' code against the rough documentation licensed to me, the structures possible within a Zeiss file were +slowly built up. + +Methods were written to print out the contents of various structures as progress was made, in +order to ensure that the offsets for file streaming were continually at the correct locations and the data we +were parsing out of the file was as expected. To this effect, testing of the extraction was run continually +in the standard `C' approach of a couple lines at a time before re-compilation, along with using flags such as +`\verb|--pedantic|' in order to try to catch as many errors as possible. Occasionally \verb|valgrind| was also +run on this extraction code, since significant chunks of memory are allocated and freed during the +extraction process. \verb|valgrind| reports that there are no memory leaks at all --- even +on the larger 12Gb \file{.czi} files. + +\subsubsection{Converting Extracted Files} +Once the files/metadata/attachments had been successfully extracted from the target file, multiple issues were +discovered. +\begin{itemize} + \item The container format for the image segments was in \emph{JPEG-XR}. This is another proprietary + file format, which does not appear to be supported by anything at all, other than Microsoft's own software. + There is also extremely limited library support, especially for non-Windows platforms. + Fortunately, a C++-written \file{.jxr} decoder was found, and could + be compiled on the destination machine. Enough of the executable is able to be compiled before any problems + occur, and this decoder can be copied into the relative path for our own C source. + \item The library for decoding JXR's is only + capable of conversion to \emph{BMP} or \emph{TIFF}, which is not our desired format. Therefore an additional step of + converting the `JXR' to `TIFF', and then to `PNG' using the `imagemagick' command line tools like \verb|convert| + became necessary. + This is an annoying overhead, which is unfortunately unavoidable. + \item By simply extracting every image tile found within the JXR tile, we found that + there were also tiles found at non 1:1 zoom levels, which was wasteful to deal with, since we will be building + a custom image pyramid anyway. This issue was mitigated by adding some logic to only extract the tile to disk if + it was determined to have a 1:1 scaling and thus be on the base layer. + \item In a similar fashion to the previous issue, it also became apparent that there were many tiles in the + base layer which were of non-standard sizes, with some having tiny slivers as they came to edges etc. + The only solution to make these tiles appear on a nice grid of $n^2$ sizes, was to iterate over the fragmented + canvas and stitch together the portions we want. +\end{itemize} + +In order to complete the conversion side of things, it seemed appropriate to move away from C programming, and +even away from the scripts that were being using to control the C, to something like \emph{Python}. +The thought process behind this decision is the fact that Python supports multithreading --- which for something +as parallel as multiple image conversions seemed extremely advantageous. The code to do this section is fairly +small, but absolutely crucial to the overall pipeline of Zeiss format support. + +\subsubsection{Stitching Base Tiles} +Once we finally had all of the base tiles in a 1:1 scale and a format that was easier to deal with, the first task +was to figure out how to build up our own grid across the mismatch of sizes of existing base tiles.\\ +The tile dimensions decided on were 1024:1024. The reason for this, is that it is large enough to contain a +reasonable amount of information, without being so large that our server could provide or clients could load in +a timely manner. + +In order to do this stitching process, a decision was required as to the package to manage the image operations. +After a vast amount of searching and comparisons, the selection was made for \emph{Sharp}~\cite{sharp}. The reason for +this, was that it appeared to be the single library which was capable of all of the different kinds of image +processing jobs we expected to be doing. Another key reason is the fact that it is known in advance that a very +large number of images will need to be processed here, so performance is critical. Sharp appears to perform +very significantly better than its competitors~\cite{sharpPerformance}. Finally, it has typing +support to work with our environment. + +With this set, high level logic was written to check various image bounds for related base tiles to a specific +region request. Regions were then selected out, sorted by x and y offsets, then relevant chunks chopped out of +them and stitched together into a coherent region of our selected size. + +\subsubsection{Building Up Hierarchy of Zoom Levels} +These finalised base layer tiles are written to disk in an output directory and details about their creation +are recorded in a new data structure which will map out the pyramid style hierarchy of the tiles. +A small example of these final titles are shown on the cover page of our Report for interest as they are +legitimate generations in a format we would like. + +Now that the base layer exists, gaining the rest of the tile zoom levels, should be fairly simple --- by moving +up to the next power of two (2048) and collecting 4 images together then scaling this back down to 1024 pixels. +This process can be repeated for each level of zoom we would like to raise to. This will massively speed up +the process of searching through base tiles and stitching many together if we pre-process all of the intermediate +layers. Since most HCI groups are using OpenSeaDragon (which requests things in scales of powers +of two~\cite{openseadragon}), our approach should be a very fast performer with the trade off of larger up-front processing time.\\ +Indexing into this pyramid will be fast with each request too, as they will be separated by `C' value, which is +one of the image's layering options, then by zoom level. + +\subsection{Leica \& Other Formats} +As Zeiss is such a difficult and mammoth file format almost all of my time was spent dealing with purely this, +and it is still not even complete yet. However having looked quickly into Leica, there appears to be +library support, which may make life easier, along with the fact the internal structure appears to be similar to +a BigTiff. More progress on this format will take place for the next deliverable. + +As for other image formats such as JPEG, TIFF etc. These are standard formats and so will be trivial to +convert to our required standard of PNG so is not a significant point of progress currently. + +\subsection{Non image formats (\file{.csv} etc.)} +As for non image formats such as \file{.csv}, it has been decided that the backend should only be responsible of hosting these +files, since there is no way that a backend server could possibly predict what the file should be processed into. +Additionally, there are also many cases where an end-user may wish to deliberately store something in a format +which a backend server checking legitimacy of the file would complain about incorrectly. + +The team hasn't really looked into things such as Excel (\file{.xlsx}) files, however again, pre-emptively looking, there seems to +be fairly wide library support for things like this, so it was not a major concern for this deliverable. diff --git a/report/deliverable-2/texts/logging.tex b/report/deliverable-2/texts/logging.tex new file mode 100644 index 0000000..d0a7255 --- /dev/null +++ b/report/deliverable-2/texts/logging.tex @@ -0,0 +1,38 @@ +\section{Logging} +Server logging has now been formalised: the functionality is imported into +a file and can then be used to log messages at the selection of urgencies +specified in Protocol BE01~\cite{protocol}. + +These outputs have many configuration options, which ideally will be +incorporated into a global configuration handler in future development. + +\subsection{Standard Logging} +By default, the standard logger logs to three places: +\begin{enumerate} + \item Colourised, human-readable messages are printed to the console. + Any error- or critical-level messages are printed through stderr. + \item More verbose JSON editions of messages are written to a basic + logfile. + \item Critical-level messages are additionally written to an extra + logfile. +\end{enumerate} + +\subsection{SQL Query Logging} +A separate logger has been designed for logging the output of +Sequelize~\cite{sequelize}. Since Protocol BE01 does not specify that they +should be retreivable, the output queries can be stored with less associated +metadata. In addition, Sequelize can output the total required time to +process the query, which is stored in the log for future use as profiling +data. + +\subsection{Motivation} +Since basic server functionality has been implemented, the errors produced +will likely be caused by difficult-to-debug problems, such as edge-cases or +data races. With a verbose and thorough logging system, these problems +should be much easier to detect and rectify. + +In addition, Protocol BE01~\cite{protocol} requires of the backend support +for receiving and storing logs from other services. The introduction of a +well-implemented logging system abstracts this from the common use-case of +logging while keeping powerful functionality of forwarding and fetching logs +available for when it is needed. diff --git a/report/deliverable-2/texts/minutes.tex b/report/deliverable-2/texts/minutes.tex new file mode 100644 index 0000000..55aab2a --- /dev/null +++ b/report/deliverable-2/texts/minutes.tex @@ -0,0 +1,72 @@ +\begin{lstlisting} + +Group Project Meeting 1 post submission +Date: 12/02/18 +Topics: +Reassigning scrum roles +Creating next set of tasks +Task allocation + +Outcomes: +* Scrum: + * scrum master - Hafeez + * project owner - Calum + +*Tasks: + * Implementing endpoints + * Implementing file conversions + * Improving test coverage + * Writing tests for untested sections + * Connecting all middleware + * Decide on how to deal with errors + * Organising file-system + * Creating a Linter to maintain a consistent file structure + +Group Project Meeting 2 Pre-sprint +Date 15/02/18 +Topics: +Define user stories +Task allocation + +Outcomes: +* Sprint + * Week long sprint + * Meeting set for 22/02/18 + +Group Project Meeting 3 Post-Sprint +Date 22/02/18 +Topics: +Analysis of work +Next task assignment + +Outcomes: + +Group Project Meeting 4 +Date 24/02/18 +Topics: +Sprint aims +Sprint deadline + +Outcomes: + *Decided to hold a sprint now to leave time + before next submission to finish off all leftover work + +Group Project Meeting 5 +Date 03/03/18 +Topics +Analysis of work todo after sprint +Work needed to complete before deadline + + +Outcomes: + * Finishing off of the report + *Connecting work with another HCI group + *Finish testing + + + + + + + +\end{lstlisting} diff --git a/report/deliverable-2/texts/process-management.tex b/report/deliverable-2/texts/process-management.tex new file mode 100644 index 0000000..d99a73c --- /dev/null +++ b/report/deliverable-2/texts/process-management.tex @@ -0,0 +1,56 @@ +\section{Process Management and Deployment}\label{sec:pm} +In a production environment, many instances of a NodeJS server are run on +one machine; this way NodeJS applications can make use of multiple +processors. For this purpose, research into \emph{process managers} --- +applications used for running and managing production-level systems --- +was carried out. + +\subsection{Process Manager Selection}\label{sec:pms} +A number of process managers were investigated with the hope of +incorporating them into the production +system~\cite{strongloop}\cite{pm2}\cite{forever}. The application pm2 was +chosen, primarily for its highly-configurable \emph{ecosystem}-config files, +and \emph{pmx}\footnote{https://github.com/keymetrics/pmx}, +its profiling extension. + +\subsection{pm2 and KeyMetrics}\label{sec:pm2} + +\begin{figure} + \centering + \includegraphics[width=0.95\linewidth]{km-dash} + \caption{The KeyMetrics dashboard web client in use.}\label{fig:dash} +\end{figure} + +A feature available in \emph{pm2} is the ability to transmit profiling +statistics to a web client, as a dashboard. The dashboard also allows the +user to remotely issue commands to the running instances. Further, +custom profiling information, and custom remote commands, can be created +through the introduction of simple logic into the codebase. + +\subsection{Process Limitations}\label{sec:plim} +Running multiple NodeJS instances can quickly accumulate counts towards a +user process limit: each instance hosts several threads, and each connection +to the PostgreSQL database can pool several threads also, resulting in many +threads per instance. Compounded with the fact that pm2 itself also runs +as a NodeJS instance, this means that a user can reach their process limit +on the host labs very quickly. Using \texttt{nolimit} on process +instantiation is one solution, however this means having to run +\texttt{nolimit} when starting the databse, deamonising the process manager, +starting the server instances, and doing any miscellaneous tasks. This +limitation has stunted hindered attempts to connect to other teams' +products. + +\subsection{Heroku Hosting}\label{sec:her} +In response to the issues addressed in \S\ref{sec:plim}, an attempt to host +an instance of the server on hosting service +\emph{Heroku}\footnote{https://heroku.com/} has been started. This would +alloow the team to interact with other teams, without using a member's +process limit and hindering their productivity. Additionally, it would show +the deployability of the system --- an important factor for a backend +server. + +\subsection{External System Hosting}\label{sec:ext} +Another option is to host instances of the system on devices personally +owned by members of the team. This would give the team absolute control over +configuration of the sytem, and would have the potential to outperform an +instance running on a complementary Heroku service. diff --git a/report/deliverable-2/texts/scrum.tex b/report/deliverable-2/texts/scrum.tex new file mode 100644 index 0000000..ca724c8 --- /dev/null +++ b/report/deliverable-2/texts/scrum.tex @@ -0,0 +1,17 @@ +\section{Continued use of Scrum} +The scrum process was continued as we found this very useful in terms of clearly setting out tasks for each member and managing the progress of the implementation. One of the changes that was made for this sprint was the change in roles between team members. The change in responsibility allows team members to complete new and different jobs. In general the size and the time taken of each individual task was a lot more varied when comparing to the last submission, however, there were certain tasks which were larger in terms of hours put in. These large tasks included creating a logger system and a file converter. +\subsection{Sprints} + +\begin{figure}[h] + \centering + \includegraphics[width=0.6\textwidth]{burndown} + \caption{A Burndown Chart for the past 14 days.}\label{fig:burn} +\end{figure} + +As a team, it was decided that there would only be a single sprint, up until the next point of submission. This was because of the short time period, enough for only a two week sprint. In addition to this, the sprint assessment process was completed more often to ensure that as a team time was managed well and sufficient progress was being made. All the tasks that was set for this sprint were completed within the required time frame. +\subsection{Scrum board} +Again, the scrum board was used to outline and track the completion of each task. The same whiteboard in the John Honey main computer lab was used in order to maintain consistency. This gave a clear visual representation of the objectives. During the sprint, the main jobs required for completion were to further enhance the testing unit to increase its coverage across the implemented systems, implement a simple file converter and introduce a logging system for the server. Much experience was gained from completing previous sprints and so using this experience we were better equipped to handle larger tasks. Examples of the board in use can be found in Appendix \ref{app:board}. + +\subsection{Meetings} +Regular meetings were also held to discuss and evaluate progress. This was crucial in the scrum process and as working in a team to allow a point of communication between each member at the same point in time. An example of a major decision being made during the discussion was the change of language of the file converter implementation. It was decided that the more appropriate language to use would be C as there would more extensive libraries for this particular operation and would also have the advantage of greater efficiency. Multiple meetings were held during the most recent sprint to determine the tasks required for completion, to evaluate whether each task was completed and track progress in between. +The minutes for formal meetings are available in Appendix \ref{app:meet}. diff --git a/report/deliverable-2/texts/testing.tex b/report/deliverable-2/texts/testing.tex new file mode 100644 index 0000000..e3f709b --- /dev/null +++ b/report/deliverable-2/texts/testing.tex @@ -0,0 +1,15 @@ +\section{Testing} +Tests do not currently run on the gitlab server, as the postgres integration with the docker gitlab-ci is still missing. This means any tests run automatically when pushing will fail. \par +When running integration tests locally, please make sure the postgres server is up and running on localhost. +\subsection{Structure} +Testing files were restructured for a more organised and professional approach. All test files end in ``*.\(<\)context\(>\).test.ts'' and were moved to the ``test'' directory. At this moment, ``\(<\)context\(>\)'' includes ``unit'' and ``routes''. Further, they were categorised into \textit{integration} and \textit{unit} tests and moved into corresponding sub-directories. \par +Apart from making test files easier to find, this new structure also allowed us to run specific tests independently to isolate failures and quickly rerun individual tests. For example \texttt{yarn test:routes:auth} runs all authentication tests. +\subsection{Integration Testing} +\texttt{yarn test:routes} +This category of tests targeted the interplay of different server components as it tested server endpoints (routes) rather than internal functions. We aimed to test all routes for responses of success, and various degrees of failure. \par +E.g. \textbf{``auth.routes.test.ts''} tested the authentication middle-ware, checking existing users could log in only with correct usernames, passwords and reauthentication tokens. During our later meetings, we realised that security is a key-component of medical systems, and requires further much more in-depth testing to guarantee safety of patient data. \par +\textbf{``protocol.routes.test.ts''} aims to cover all endpoints specified in the agreed protocol by using the \textit{mocha-each} npm module. This allowed us to write few mocha testing functions iterating over the long list of endpoints, checking HTTP responses to fit the JSON response templates to conform to the protocol. This form of testing is still incomplete. +\subsection{Unit Testing} +\texttt{yarn test:unit} +The main motivation for this category of tests was to find bugs early on without having to run the whole server. This saves time and uncovers new code breaking old functionality. We also found that unit tests improved the design process by forcing implementation of code that is testable. Furthermore, unit tests were often used as a form of documentation, as it aided in understanding how code of other team members worked and could be used. \par +We decided that each team-member was responsible for creating the unit tests for their code. Unfortunately the number and coverage of unit tests is still quite low. This may be the result of prioritising functionality over bug-resilience and test-driven development. diff --git a/report/deliverable-2/texts/typings.tex b/report/deliverable-2/texts/typings.tex new file mode 100644 index 0000000..36297b7 --- /dev/null +++ b/report/deliverable-2/texts/typings.tex @@ -0,0 +1,27 @@ +\section{Type Enforcement} +In order to run JavaScript code as TypeScript code, typings (usually +supplied in a \file{.d.ts}-extended file) are applied at compile-time to +make sense of the original source's variable types. For a couple of +packages that have been used in the submission, these typings are not +available, due to a lack of desirablilty --- the packages in question are +niche and as such see little use. + +\subsection{mocha-each} +One such package is \emph{mocha-each}, a utility package for compacting +Mocha tests for readability and classification~\cite{mocha-each}. Without +typings, this package cannot be used in TypeScript projects. Due to its +single-facet use, however, it was simple to design a custom +\file{.d.ts} file. With small edits to conform to +guidelines~\cite{@types}, typings for +mocha-test were contributed to the DefinitelyTyped types repository\footnote{% +https://github.com/DefinitelyTyped/DefinitelyTyped/% +tree/master/types/mocha-each}. + +\subsection{pmx} +The package pmx (as previously described in \S\ref{sec:pms}) is useful for +profiling. Similarly to mocha-each, however, it does not have supported typing. +Since this package covers a far wider range of functionality, and since said +functionality is very involved with sensitive run-time engine manipulation, +typings were written only for the functions being used by the team, and have +been kept in-house for their incompleteness. The files in question can be found +in \file{src/profiler}. diff --git a/report/deliverable-2/title.tex b/report/deliverable-2/title.tex new file mode 100644 index 0000000..4406ef6 --- /dev/null +++ b/report/deliverable-2/title.tex @@ -0,0 +1,15 @@ +\title{Report \\ Juniour Honours Project \\[0.5ex] Submission 2} +\author{Hafeez Abdul-Rehaman \\[1ex] Johannes Weck \\[1ex] Josh Lee \\[1ex] Calum Duff \\[2ex] Tom Harley} +\date{\today} + +\makeatletter + \def\@maketitle{ + \begin{center} + \includegraphics[width=0.7\linewidth]{title-logo}\\[10ex] + {\huge \bfseries \@title{ }}\\[1ex] + \rule{0.5\textwidth}{.4pt}\\[1ex] + {\LARGE \@author}\\[15ex] + {\large \@date} + \end{center} + } +\makeatother diff --git a/report/graphics/1.png b/report/graphics/1.png deleted file mode 100644 index 089b8ef..0000000 Binary files a/report/graphics/1.png and /dev/null differ diff --git a/report/graphics/2.png b/report/graphics/2.png deleted file mode 100644 index 1714110..0000000 Binary files a/report/graphics/2.png and /dev/null differ diff --git a/report/graphics/3.png b/report/graphics/3.png deleted file mode 100644 index 7eef8dc..0000000 Binary files a/report/graphics/3.png and /dev/null differ diff --git a/report/graphics/4.png b/report/graphics/4.png deleted file mode 100644 index 8379ef7..0000000 Binary files a/report/graphics/4.png and /dev/null differ diff --git a/report/graphics/5.png b/report/graphics/5.png deleted file mode 100644 index aeea913..0000000 Binary files a/report/graphics/5.png and /dev/null differ diff --git a/report/graphics/6.png b/report/graphics/6.png deleted file mode 100644 index e3fb624..0000000 Binary files a/report/graphics/6.png and /dev/null differ diff --git a/report/graphics/7.png b/report/graphics/7.png deleted file mode 100644 index a917d83..0000000 Binary files a/report/graphics/7.png and /dev/null differ diff --git a/report/graphics/burndown.png b/report/graphics/burndown.png deleted file mode 100644 index f3ae71d..0000000 Binary files a/report/graphics/burndown.png and /dev/null differ diff --git a/report/graphics/km-dash.png b/report/graphics/km-dash.png deleted file mode 100644 index 840395d..0000000 Binary files a/report/graphics/km-dash.png and /dev/null differ diff --git a/report/graphics/scrum.jpg b/report/graphics/scrum.jpg deleted file mode 100644 index 4b5c911..0000000 Binary files a/report/graphics/scrum.jpg and /dev/null differ diff --git a/report/graphics/scrum2.jpg b/report/graphics/scrum2.jpg deleted file mode 100644 index 231cf1f..0000000 Binary files a/report/graphics/scrum2.jpg and /dev/null differ diff --git a/report/graphics/scrum3.jpg b/report/graphics/scrum3.jpg deleted file mode 100644 index 012e9b3..0000000 Binary files a/report/graphics/scrum3.jpg and /dev/null differ diff --git a/report/graphics/scrum4.jpg b/report/graphics/scrum4.jpg deleted file mode 100644 index ab1f7a5..0000000 Binary files a/report/graphics/scrum4.jpg and /dev/null differ diff --git a/report/graphics/scrum5.jpg b/report/graphics/scrum5.jpg deleted file mode 100644 index e79e828..0000000 Binary files a/report/graphics/scrum5.jpg and /dev/null differ diff --git a/report/graphics/title-logo.png b/report/graphics/title-logo.png deleted file mode 100644 index 8a72423..0000000 Binary files a/report/graphics/title-logo.png and /dev/null differ diff --git a/report/main.tex b/report/main.tex deleted file mode 100644 index dce9106..0000000 --- a/report/main.tex +++ /dev/null @@ -1,38 +0,0 @@ -\input{preamble} - -\input{title} - -\begin{document} - - \maketitle - \thispagestyle{empty} - \newpage - \setcounter{page}{1} - - \tableofcontents - \newpage - - \input{texts/aims} - \input{texts/scrum} - \input{texts/conversion} - % \input{texts/protocol} - % \input{texts/auth} - \input{texts/logging} - \input{texts/process-management} - \input{texts/testing} - \input{texts/typings} - \input{texts/conclusion} - - \appendix - \newpage - \input{appendix/scrumboard} - \newpage - \input{appendix/minutes} - - \clearpage - - \nocite{*} - \bibliography{biblio}{} - \bibliographystyle{plain} - -\end{document} diff --git a/report/main.toc b/report/main.toc deleted file mode 100644 index c9dcd7b..0000000 --- a/report/main.toc +++ /dev/null @@ -1,34 +0,0 @@ -\contentsline {section}{\numberline {1}Aims for submission 2}{2} -\contentsline {section}{\numberline {2}Continued use of Scrum}{2} -\contentsline {subsection}{\numberline {2.1}Sprints}{2} -\contentsline {subsection}{\numberline {2.2}Scrum board}{2} -\contentsline {subsection}{\numberline {2.3}Meetings}{3} -\contentsline {section}{\numberline {3}File Conversion}{3} -\contentsline {subsection}{\numberline {3.1}Dealing with Images}{3} -\contentsline {subsubsection}{\numberline {3.1.1}Extraction of Zeiss Within `C'}{4} -\contentsline {subsubsection}{\numberline {3.1.2}Converting Extracted Files}{4} -\contentsline {subsubsection}{\numberline {3.1.3}Stitching Base Tiles}{4} -\contentsline {subsubsection}{\numberline {3.1.4}Building Up Hierarchy of Zoom Levels}{5} -\contentsline {subsection}{\numberline {3.2}Leica \& Other Formats}{5} -\contentsline {subsection}{\numberline {3.3}Non image formats (\texttt {.csv} etc.)}{5} -\contentsline {section}{\numberline {4}Logging}{6} -\contentsline {subsection}{\numberline {4.1}Standard Logging}{6} -\contentsline {subsection}{\numberline {4.2}SQL Query Logging}{6} -\contentsline {subsection}{\numberline {4.3}Motivation}{6} -\contentsline {section}{\numberline {5}Process Management and Deployment}{6} -\contentsline {subsection}{\numberline {5.1}Process Manager Selection}{6} -\contentsline {subsection}{\numberline {5.2}pm2 and KeyMetrics}{6} -\contentsline {subsection}{\numberline {5.3}Process Limitations}{7} -\contentsline {subsection}{\numberline {5.4}Heroku Hosting}{7} -\contentsline {subsection}{\numberline {5.5}External System Hosting}{7} -\contentsline {section}{\numberline {6}Testing}{7} -\contentsline {subsection}{\numberline {6.1}Structure}{7} -\contentsline {subsection}{\numberline {6.2}Integration Testing}{8} -\contentsline {subsection}{\numberline {6.3}Unit Testing}{8} -\contentsline {section}{\numberline {7}Type Enforcement}{8} -\contentsline {subsection}{\numberline {7.1}mocha-each}{8} -\contentsline {subsection}{\numberline {7.2}pmx}{8} -\contentsline {section}{\numberline {8}Conclusion}{9} -\contentsline {subsection}{\numberline {8.1}Next Tasks}{9} -\contentsline {section}{\numberline {A}Scrum Board Images}{10} -\contentsline {section}{\numberline {B}Meeting Minutes}{12} diff --git a/report/preamble.tex b/report/preamble.tex deleted file mode 100644 index 14787a9..0000000 --- a/report/preamble.tex +++ /dev/null @@ -1,13 +0,0 @@ -\documentclass{article} - -\usepackage[margin=1in]{geometry} -\usepackage{a4wide} - -\usepackage{graphicx} -\graphicspath{{./graphics/}} - -\usepackage{float} -\usepackage{listings} -\usepackage{cite} - -\def\file{\texttt} diff --git a/report/report.md b/report/report.md deleted file mode 100644 index 323c98e..0000000 --- a/report/report.md +++ /dev/null @@ -1,303 +0,0 @@ -# Junior Honours Project 2017 - 2018 -## BACKEND GROUP 4. -|User ID | Name | Matrticulation Number | -|:------:|:--------:|:----------------------:| -|cjd24 | Calum | 150011830 | -|trh | Tom | 150001937 | -|har4 | Hafeez | 160006551 | -|jl247 | Josh | 150010415 | -|jw255 | Johannes | 140013112 | - - - - - - -### Requirements Overview: -For every version you submit, you are required to submit the following to MMS as a team: - -1) A working version of your software, which includes a test suite. By version we -mean a version of the finished product. It is up to you to decide how you have divided -the entire finished product into versions. - -2) A report which details how you have followed the SCRUM process. - - It should include: - - a) A list of all user stories contained in your Product Backlog and Release Backlog; - this is expected to evolve from version to version. - - b) Documented evidence that you have followed SCRUM, e.g., timestamped photographs of - your Product Backlog, Release Backlog, Sprint Backlogs, and task boards (if you - are using a physical whiteboard), or timestamped screen grabs of any tools you - are using instead. - - c) The process you used to estimate how long user stories would take to implement. - A burndown chart should also be included to track progress. - - d) Team structure and role assignment - - e) Meeting outcomes: sprint planning, sprint retrospective, and an overview of - stand-up meetings (i.e. meetings don’t need to be documented individually) - -3) You should then demo the working version of your software to your supervisor at - one of your regular meetings. - - - - - - -### Design Choices: -- Scrum -Using the scrum approach as advised by the project specifications facilitated the planning and running of group meetings. As the year wide protocol continued to change throughout the development process, an agile working process addressed the complex problem of changing requirements through its iterative and incremental system. -One of the essential parts of this process was distribution of responsibility, planning of time and ordering of tasks for the next release. Oftentimes we had to spend some time researching a topic before we could decide on the task allocation and if it should be included in the next release. For example, we decided early on that the file-conversion was less important... **To be continued** -**MORE SHOULD BE SAID HERE PLZ?** - -- Database -We chose to use Postgres for our database system, after considering the benefits and drawbacks of different databases compatible with NodeJS. Its greatest advantage is its object-relational data model, JSON support and scalability. We also decided that it would be significantly less efficient to store our raw files inside the database as Blobs etc. This is because the nature of the files that we will be dealing with are likely to be huge. So storing masses of binary data in the database which is likely to never actually be "edited" in the same way as some other binary data might, then it would be a significant overhead for no return. As such we opted for designing our infrastructure in such a way that we will have a (nearly) '*flat*' filesystem, where all files are stored under a UUID. All notion of "directory hierarchy" and "filenames" would be stored internally with relations in the database. As possible extensions, we could then store direct references to files (or perhaps even offsets within files) to act as a very high performing cache server for frequent data, or data that we could predict is going to be accessed in short time proximity. - -- File management - --- Folders -A part of the specification required the use of folders to group together files in a project. The issue I first came across were how folders not just contained other files but would quite often have other folders inside them as well. My second issue was navigating through the folders to get to the files, this meant that given a folder you could return the contents of that folder as well as being able to find all other files at the same level in the system. - -To manage my first issue I included a table called dirent with an inheritance relation so that a dirent could either be a folder, image or text. Having this table made it easy to query on data as well as better representing how files could be stored within folders. This meant that a folder would be related to a dirent which could then be linked to the specific type on creation. - -There were two ways to manage the navigability, either store the file path with each dirent or store the ID of the superfolder it was contained in, I decided on storing the ID. This created a link system and to therefore view files within a folder you would search all files which had the same ID as the super folder. - -E.g 1) To locate an image called image1 at folder1/folder2/folder3/image1 to find it you would use the queries - -SELECT * FROM dirent NATURAL JOIN folder WHERE folder_name = 'folder1' AND super_folder is null AND project_name = 'project 1'; -SELECT * FROM dirent WHERE super_folder = '77dea3b7-523e-463a-aff1-3d8b92259fbb'; -SELECT * FROM dirent WHERE super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; -SELECT * FROM dirent NATURAL JOIN image WHERE super_folder = '22b94214-6942-40dd-b8af-deb1371fa298'; -![Alt text](1.png?raw=true "eg1") - -From this directory if you wanted to find dirents contained within folder 2 you could use the queries - -SELECT * FROM dirent WHERE id = '22b94214-6942-40dd-b8af-deb1371fa298'; -SELECT * FROM dirent WHERE super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; -![Alt text](2.png?raw=true "eg1_cont") -Showing all three dirents in this folder. - --- File identification -In choosing the ID for the files I originally had an auto increment ID. The issue with this would be that a hazardous user could guess the ID of a specific file, accessing files without the required permission. To get around this I used a randomly generated UUID. This made it almost impossible to guess the ID and is universally unique. - --- File storage -Originally I thought of storing files within the database in blob format although this seemed to work well I felt that the scalability of this method would be not be effective. I also felt that it would be a lot harder to backup the database as the number of files grew. Instead the database contained the structure of the file system with info for each file including the UUID for each file. This made it easy to return files from our own file storage system with matching UUID each time a request was made. - --- Projects -Another requirement of the database was the need for projects which also helped group together files. A user could also have per project privileges such as adding files into that project. To manage this, on creation of a project it was given an owner matching the current logged in user. I created a trigger which also granted all permissions (admin) to the owner giving them control over the permissions for their project. - -E.g 2) using -INSERT INTO project ("project_name", "owner") VALUES ('project 1', 'josh') -Would give all permissions to josh in project 1. - - - -- User management - -Once the file system had been set up I wanted to have a robust user permission system that would consistently allow the API to check permissions. - -Permissions were split into 2 types -User based permissions. -The user based permissions were create project, create user, remove user , edit user, view projects and view users. - -Project based permissions. -The project based permissions were add files, edit files, remove files and view files (remove project could also be included here but I decided to make that only accessible to the owner and an admin user) This was more difficult because each user would have different privileges on different projects. - --- Set up -My initial thought was to have columns for each permission in the user table. I soon realised this was hard to manage once revoking privileges is implemented. I decided on creating a tree system for user permissions similar to how the database manages its own privileges. This meant that if one user granted many permissions and then had their own permission removed, all user permissions granted by the revoked user would also be removed. I decided to represent this by having a table for each permission. There were two main reasons for this - -1) This made it easy to check permissions e.g to check whether a user had add file permissions you would just go into the add_files table and check whether it contained a row corresponding to that user. - -2) On each grant the permission ID is stored as a foreign key of its own table representing how a specific user was given that permission . This meant that if a user was deleted or a privilege was revoked it would also remove privileges of sub grants by using ‘on delete cascade’ - -E.g 3) the image below shows the table add_files -![Alt text](3.png?raw=true "add_files") -Josh granted permission to user 2 who then granted permission to both user 3 and back to user2. When user 2 has his permission revoked both permissions that were granted by user 2 are also revoked. -![Alt text](4.png?raw=true "granted permissions") - - --- Returning all permissions for each user -On looking at the specification it seemed clear that there were a lot of API requests to get all permissions that a user had been granted. By storing the permissions in their own table required searching every single table every time you wanted to do this which would be ineffective. Combining this with my original idea I created a summary table, if a user was then granted a permission it was added into the summary table with the permission ID by means of a trigger. This meant a slower insert but was highly beneficial in being easy to search. The combination of these two methods kept the system robust whilst making it easy to query on. - -Ex 4) Following on from example 2 it is now easy to see how all the permissions are given to a user when a project is created. -![Alt text](5.png?raw=true "eg4") -Also if josh grants permission to user2 to add files you can see below the permission is added. -![Alt text](6.png?raw=true "eg4_cont") -When the permission is revoked that column for user2 is set null. -![Alt text](7.png?raw=true "eg4_cont2") - --- User information -In order to login the user the user table contains a password to each user. This password was stored md5 hashed. (I also want to add salting for a later hand in for additional security). -Also in the user data is metadata both private and public that could be seen/ managed based on your own permissions or whether you are viewing yourself. I used views to represent the different accesses on the user table to prevent things such as password being included in the query result. I also stored this metadata as Json type instead of individual columns for each attribute. This made it easier to match the expected request format and also helped group together the metadata. - - - -- Server -For the implementation of the server, we chose a typescript-nodejs approach. NodeJS seemed a common and sensible choice, as all members of the team had previous experience and it is a scalable, and well-supported development framework that runs on both Unix and Windows infrastructures. It is easy to deploy and furthermore offers more speed and a nonblocking I/O API in comparison to Java or .Net servers. We then chose the TypeScript superset of JS as it provides typing, classes, interfaces and IDE support for developers which makes the language easier to use and more robust. In particular we chose to specialise our node app with express, and a comprehensive middleware stack. This middleware stack would carry out tasks such as logging, body parsing, type checking, with potential to be expanded as the project matures. We also decided on Sequelize as our ORM. This was due to wide support in the deployment community with favourable reviews of its functionality - as well as having a specialisation called sequelize-typescript, which massively simplifies syntax, and appeared to integrate to our design model very nicely. - -- Project Approach and Expansion -Once most of the core decisions had been made in isolation of the incorporation into the submission as a whole, we had a **meeting** to decide how these should best operate together. -The approximate approach that was decided on is as follows: - - The Node Server would catch all valid API endpoint requests and pass them to handler functions. - - Since almost all requests that are made to the server, some way or another need to talk to the database, then during initialisation of the server, a connection would be made to the postgres database, which would persist throughout the life of the server. This connection would then be utilised by our ORM solution to carry out queries. - - The request would be formulated through the ORM (or by direct file access for things like server config.) and then passed to the DB serer. - - The response would hopefully be ready as we require it, however at this stage there can be logical checks done of the data if necessary. - - We would then run it through some typechecking middleware to ensure that the content that we are serving back to a client is valid JSON. - - The Response would be served back to the client and the request would be considered *successful*. - - Expansion: - - Once the basic implementation according to the protocol was complete, it was discussed on multiple occasions, and in detail of possible ways to make this core service better. - - Building on the ATOMIC nature of a database transaction, and given the Users deployment scenario - multiple research facilities potentially across multiple geographically diverse locations, we thought it would be critical to allow the database to have multiple instances operating concurrently. - - Approximately how this would look, is that clients talk to the backend server they are physically closest to on the network for the best possible latency. - - Since there can be multiple nodes however to serve clients in different locations, then the servers would then need to make best attempt to synchronise in an Atomic manner. - - This would make our system far more scalable in the future, and may have potential applications for things such as a "live" backup server - since medical data is all fairly critical. - - On top of the transactions to the Database being atomic and synchronised across all instances of the server, we would additionally need to consider the physical distribution of file storage. - - Since we made the design decision to store all of the actual files, outside of the database, then keeping ATOMIC communication to each instance server, does not necessarily solve the issue of file replication. - - For example, if a memeber of a group is working on a node other than the "root" node where that project was created and all of the data happens to be stored for it, then we will need to include some kind of notion of a "server reference" for each file known about by the database. - - Then, if a client made a request for data not locally stored, it could either be re-directed by the server to the other node, or the server forwards the request then pipes it back to the client. - - Alternatively as a further specialisation of this functionality, the server could intelligently detect related data to the "foreign" request being made, and pre-emptively load in the data from the alt server, so it is ready to serve future data locally. This data could be cached locally and used, then re-synchronised if changes were made back to the original, or dropped if it was just for reading. It is likely however that most of these interactions will be reads, so things like carrying out a machine learning session on some data, would only require the (probably) smaller file containing the results to be synchronised back which is a much easier task as it would likely just be new file upload to the remote server. - - - - - - - -### Year Wide Protocol Compilation: -As part of this practical, a final solution to the over-arching problem is that the end-user -should be able to "*pick-n-mix*" one submission from each [Backend, HCI, Machine Learning]. -In order to successfully achieve this, all of the participating groups throughout the year -are required to formulate between themselves and agree upon a single protocol for each -component to talk over. -Various meetings were organised on a variety of topics between members who were interested -in affecting the outcome. Minutes of these meetings can be seen at: -[Maybe Here?](https://github.com/CS3099JH2017/cs3099jh) -**We should also probably detail roughly what was said at each of these meetings/summaries etc? GET THE RECORDED DATES** - - - - - - - - - -### Scrum: -After groups were eventually allocated for this group project, the team met up quickly to -discuss the **Scrum** method of doing work, and figure out how roles should be shared amongst -the team members. - Team Structure and Role assignment - -Supervisor -> Adam - -Scrum Master -> Tom - -Product Owner -> Calum - -Developer -> Hafeez - -Developer -> Josh - -Developer -> Johannes - -It was initially decided that Tom would be the "Scrum Master", and Calum would be the -"Product Owner", and that the roles would be rotated around other group members, -approximately bi-weekly. -A quick brainstorming session was then had to interpret our specification and quickly fill -in the User Epic stories, along with some more decomposed stories and requirements. -As the specification requires, the following is a list of the stories the group came up with. - - -(Time Est | Time taken) -- User Epic stories ------- (Continuous) - - Create a "plug and play" module, providing backend functionality to the clients requirements. ------- (Continuous) - - Conform to a year-wide protocol specification to ensure inter-operability. ------- (Continuous) - - Support the notion of 'Projects', 'Users' with specialisations such as Admin, 'Conversion to Standard File Formats'. ------- (Continuous) - - Be Complete by 23rd April 2018. - - First Release 9th February 2018 -- Design ------- (2-3 Weeks | 3 Weeks) - - Design Test Interface ------- (3 Days | 1 Week) - - Separation of Machine Learning tests & HCI tests. ------- (1 Day | 3 days) - - Plan what mocks of other groups are required to ensure usability. ------- (2 Days | 4 days) - - Design Server ------- (1 week | 1.5 Weeks) - - Stubs for conforming to protocol ------- (1 Day | 3 Days) - - Structure and Core Packages ------- (5 Days | 1 week) - - Language(s)? we will use & why. ------- (1 Day | 1 Day) - - Design Database ------- (1 week | 1.5 Weeks) - - Which database will we use? ------- (1 Day | 1 Day) - - Schema ------- (2 Days | 2 Days) - - ER Diagram ------- (5 Days | 1 Week) -- Implementation ------- (Continuous) - - Database Implementation ------- (~3 Weeks) - - Interface/Linking with the root to the file system. ------- (3 Days) - - Notion of Secure Access for the database. ------- (1 Week) - - Dealing with various filetypes - Conversion / Standardisation for storage. ------- (2 Days) - - Standard procedures for fetching. ------- (2 Days) - - Deal with Storing Image Data (+ other binary formats?) / JSON. ------- (5 Days) - - Deal with storing plain text + tabular data. ------- (5 Days) - - Create Database from schema ------- (3 Days) - - Server Implementation ------- (~1.5 Months | 2 Months) - - Setup initial HelloWorld Sever to ensure correct installation & dependencies. ------- (1 Day| 1 Day) - - Create Strong/Reliable link between server functions and underlying filesystem for database. ------- (1 Weeks | 2 Weeks) - - Create Strong/Reliable link between server functions and the database. ------- (5 Days 1 Week) - - Create pre-processing functions to standardise Data passed in. (images->png & plaintext->csv/json) ------- (1 Week | in proc.) - - Deal with responses to a client ------- (4 Weeks | in proc.) - - Involving continuous file transfer (For example, whilst panning Large Pathology photos.) ------- (1 Week) - - Involving 'simple' file transfer (getting whole file at once for csv etc.) ------- (1 Week) - - Involving file uploads All at once. ------- (1 Week) - - Involving file uploads in chunks for files above 8Mb. ------- (1 Week) - - Create Node "router" to capture all required URLs and forward to functions to handle based on protocol. ------- (1 Day) - - Create Basic error response functions which can be called from anywhere to deal with any potential problems and safely respond to client. ------- (2 Days) -- Testing ------- (9 Weeks | in proc) - - Server Testing ------- (3 Weeks | in proc) - - Create methods to test logic of JS/TS which can be re-run on each commit ------- (2 Weeks | in proc) - - From Backend's perspective ------- (1 Week | 2 Weeks) - - From HCI's perspective ------- (1 Weeks | in proc) - - Create unit tests for individual files can be re-run on each commit ------- (1 Weeks | 1 Weeks) - - Database Testing ------- (2 Weeks | in proc.) - - Carrying out Optimisations/Streamlining ------- (5 Days) - - Profiling of performance of UnCommon Actions (delete) ------- (4 Days) - - Profiling of performance of common actions (file creation/file reads) ------- (4 Days) - - Accuracy of file retrieval ------- (1 Day) - - TestInterface Implementation ------- (2 Weeks | 2 Weeks) - - Create HTML5/JS to retrieve NON image data and display ------- (1 Day | 2 Days) - - Create HTML5/JS to retrieve image (or section of) data and display ------- (1 Day | 4 Days) - - Create HTML5/JS to begin an ML session on some data and retrieve results. ------- (1 Day | 1 Day) - - Create HTML5/JS to check a user/group information ------- (1 Day | 1 Day) - - Create HTML5/JS to upload various filetypes and ensure they convert to universal format. ------- (1 Day | 2 days) - - Create HTML5/JS to action a login ------- (1 Day | 2 days) -- Extension Implementation ------- (~3 Weeks | outstanding) - - Develop a Caching function for frequently accessed files, or anticipate UUIDs next to be accessed for increased performance. ------- (1 Week) - - Extend our basic server implementation, to support multiple instances and ensure ATOMICity of DB and sensible file distribution. ------- (2 Weeks) - - Upgrade all HTTP interactions to HTTPS ------- (2 Days) - - Add support for Lecia file conversion (heavily licenced) ------- (2 Weeks) - - -Additionally as part of following the scrum methodology of development, the group carried out a selection of meetings to: -1) Evaluate the current sprint (Work complete, standard, sprint time etc. -2) Retrospectively plan anything with crept up throughout the past sprint, and evaluate how we dealt with it. -3) Catch up with each others' progress and decide on work distribution -The Following is a quick summary of these meetings: - -> Meeting 1: -> > Date: -> Time: -> Attendance: -> Content : - -> Meeting 2: -> > Date: -> Time: -> Attendance: -> Content : - -# Need to upload the pictures of our scrum board to the repository/report! -# ALSO need to upload our burn-down charts to this report. - - - - - -### Sources: -[Help regarding creating a restful api with both node and typescript as a combo](http://mherman.org/blog/2016/11/05/developing-a-restful-api-with-node-and-typescript/#.WlW1fhdpw8o) -[Typescript for Node](https://basarat.gitbooks.io/typescript/docs/quick/nodejs.html) -[Sequelize (ORM library for connecting to the Postgres Database)](https://sequelize.readthedocs.io/en/v3/) -[Sequelize-Typescript specialisation (For making sequelize more adapted for postgres over mysql)](https://github.com/RobinBuschmann/sequelize-typescript) diff --git a/report/report.tex b/report/report.tex deleted file mode 100644 index dae5b11..0000000 --- a/report/report.tex +++ /dev/null @@ -1,438 +0,0 @@ -\documentclass{article} -\usepackage[margin=1in]{geometry} -\usepackage{graphicx} -\usepackage{a4wide} -\usepackage{float} -\usepackage{listings} - -\graphicspath{graphics} - -\begin{document} -\title{Report --- Juniour Honours Project Submission 1} -\author{Hafeez Abdul-Rehaman, Johannes Weck, Josh Lee, Calum Duff, Tom Harley} -\date{\today} - -\maketitle - -\tableofcontents - -\section{Requirements Overview} -For our Junior Honours project, we are to design and create a database -for a system which will be used primarily for the sharing and viewing -of various medical and pathological media. - -Our database is to be: -\begin{description} - \item[User-aware] The system should act as a platform for managing - users and their permissions, with respect to viewing and affecting - projects and media. - \item[Filetype-agnostic] The system should accept files in a - variety of filetypes and be able to translate between them, in order to - provide a user with a desirable output filetype. - \item[Substitutable] The system should follow standardised - communication protocols, to participate in a framework of modularised - systems created in conjunction with other Junior Honours groups. -\end{description} - -\section{Using Scrum} -The Scrum approach facilitated the -planning and running of group meetings. As the year-wide protocol changed -over time, an AGILE working process provided the granular iteration -required to address the frequent design changes. - -\subsection{Scrum Board} -Throughout the project a Scrum board has been used to keep track of current tasks -and further items to implement. A whiteboard in the John Honey main computer lab -was used throughout this process. Examples of the board in use can be found in -Appendix \ref{app:board}. - -The Scrum board made visualizing tasks and progression straightforward. -Using it in meetings helped with determining how much was still to be done. - -At times the \emph{In Progress} section of the Scrum board seemed unbalanced; -at these times several people were working on the same large task, and so fewer -notes were placed in this column. - -\subsection{Time Management} -Based on how tasks were split, and the difficulty of various tasks, we estimated -durations for each task. Due to the widely-varying estimated completion times, -we decided to distribute our Sprint durations accordingly. -Initially, we divided our total available time with the number of available tasks, -but over time experience from previous work and from previous meetings was helpful in -refining the expected duration of the future tasks. -This, combined with -the late reveal of the specification meant that work was done over holidays, greatly -warping the duration of several Sprints to be longer than anticipated. - -\begin{figure}[H] -\centering - \includegraphics[width=\linewidth]{graphics/chart.png} - \caption{A Burn Down chart graphically representing average completion time of tasks} - \label{fig:burndown} -\end{figure} - -\subsection{Meetings} -Meetings were held every 1-3 weeks with the entire team. -They were carried out in person or, during the holidays, using -voice chat clients. - -Meetings helped members of the team understand what was being done by -other members of the team, particularly in areas were only one person -was working. They also helped the team decide on what was important to -attempt in the next Sprint. - -The minutes for formal meetings are available in Appendix \ref{app:meet}. - -\subsection{Paired Programming/Teamwork} -Paired Programming was used extensively throughout implementation of basic server -functions, such as writing logic for the public protocol endpoints. - -Multiple people working on a single task reduces the total actual time it takes to -complete. This allowed larger tasks that would not normally fit into a regular Sprint -to still be tackled within a single Sprint. - -At times the entire team was in labs, working concurrently on separate tasks. - -Having everyone in the same place focussed everyone on the task at hand and greatly -improved communication, keeping everyone working on what was important and not dallying. - -\subsection{Evaluation of Work Done/To Do} -The Scrum board and regular meetings greatly aided in our evaluation of how much work -had been completed, and how much there was left to do, at the time. Now that we're -used to Scrum, evaluation of further tasks (such as extensions) should be more -realistic, and tasks are more likely to be assigned to Sprints with enough time to -accommodate them, instead of persisting to the next Sprint. - -\section{Design Decisions} -\subsection{Database} -\subsubsection{Security} -Passwords in the database are currently stored totally unencrypted. Initially, -the focus of work was on routing traffic, and for this purpose salting -passwords is unnecessary. Once the server is past development phase, passwords -will be encrypted in some secure fashion. - -\subsubsection{File Representation} -File paths are stored in the database, represented as one-to-many parent-folder-to-file -mappings. This decision was made since all files will already have entries in the -database (such as metadata and their UUID), and adding the remainder of necessary -information for a file would be simple. - -While file paths are stored in the database, the file content itself will not be. -It has been specified that the system should be capable of storing large files, -and databases may struggle with the difficulties of storing variable-size Binary -Large Objects when said objects are of this scale. In addition, the breakdown and -caching of large images into image pyramids both increases the quantity of binary -data that will need to be stored, and greatly increases the number of reads and -writes carried out by the server on binary data. File systems, on the other hand, -are optimised for jobs of this kind. - -The resulting setup is a virtual filesystem that resembles a regular filesystem, -and a very flat physical filesystem: a root folder containing a folder for each -project, which in turn contain all non-folder files belonging to that particular project. -Keeping the files separated by folders named after their projects allows for simple -deletion of an entire project. - -All files in the database are given a UUID, which serves a number of functions: -\begin{enumerate} - \item It is the name of the file in the physical file system on disk, - \item It can be used to uniquely identify a file irrespective of its position - in the virtual file system, - \item It can be used to keep a reference to a file even if it is moved - (or even if it is deleted). -\end{enumerate} - -Examples of SQL queries using the structure described can be found in Appendix -\ref{app:sql}. - -\subsection{Server Framework} -This practical requires a variety of utilities, and should be easy to document and -to understand from an outside perspective. Additionally, it was decided that for a -large project a language and platform that all members of the team were comfortable -with was a high priority. Finally, the system would need to be scalable, in the sense -that additional features should be easy to implement and plug in to the -already-functioning system. - -For these reasons, NodeJS and Typescript were chosen as the framework and language -for the project. - -\subsubsection{NodeJS} -NodeJS has a huge library (or \emph{package}) repository, providing teams with a wide variety of options on how to implement projects. Its ease of deployment on both *nix and Windows systems, -and its common IDE support make it ideal for team development. - -\subsubsection{Typescript} -While not every team member had previously used Typescript, all had used and are comfortable -with Javascript, and were willing to take on the slight increase in complexity for static -type checking. Typescript's compile-time checks and IDE integration remove the ambiguity of -Javascript from large projects, improving their scalability and maintainability as the project -increases in size. - -\subsubsection{ExpressJS} -A core package used by the project for client-server communication is the middleware handler -ExpressJS. This package allows for easy insertion and use of any number of middlewares, both created in-house -and imported from other packages. Uses for this multi-layer structure include authentication, user -permission checking, and wrapping responses with statuses. - -ExpressJS also handles client-server communication through a RESTful API. - -\begin{figure}[H] - \centering - \includegraphics[width=1.5in]{graphics/be-layer-structure.pdf} - \caption{Structure of Layers in a Server Instance} - \label{fig:layer} -\end{figure} - -\subsubsection{Sequelize (and Sequelize-Typescript)} -Sequelize was chosen as the ORM package to use to connect to the database server. It was chosen over other -similar packages for its variety of powerful features (such as eager loading) and its large user-base. -It can connect to a variety of SQL-dialect databases, and hides the low-level table interactions to create -a simple abstraction to Javascript objects. -Furthermore, it also has comprehensive and clear documentation, providing better access to these features. - -In addition to Sequelize is the add-on package Sequelize-Typescript: this improves Sequelize syntax to -accept ES6 classes with Typescript types as ORM model definitions, amongst other smaller improvements -made possible by Typescript's experimental annotation support. - -\subsubsection{Token-Based Authentication (Passport/JWT)} -The protocol designed by the entire year uses a token-based authentication service -similar to and inspired by OAuth2. Using token-based authentication removes the need -for sessions or for cookies while still providing a smooth and secure user experience, -and simplifying client design. -It was decided that implementing OAuth2 in its entirety would be superfluous. OAuth2 -relies on the acquisition of tokens from third parties, which would be unsuitable for -a simple system such as this. - -The Javascript package Passport was used for handling authentication through this protocol. -Passport's support for custom authentication services in addition to its synergy with ExpressJS middleware -support made it an obvious choice. - -For generating authentication "bearer" tokens, JWT was used. - -\subsection{Testing Framework} -Testing was extensive and concurrent to the implementation in each Sprint. This was to ensure minimal time was spent debugging which then prevented the team from missing the Sprint deadlines. Unit testing was one of the primary methods of testing individual functionality. This was very useful for a modularised task as each module could be debugged without affecting other modules which were functioning as expected. Producing unit tests concurrently with the implementation of certain functionality gave the advantage of designing the functionality around the possible input or validation errors that may occur. MochaJS and ChaiJS were the JavaScript frameworks used for unit testing. These were chosen due to their simplicity of use and strong compatibility with TypeScript and Express.js. They both also allowed automation which increased efficiency and productivity. An example of tests that were performed include matching the response object for all routes to what is expected as defined by the protocols. - -Unit test were convenient for implementation, however, to be thorough further tests were applied whilst the server was actually running in order to ensure that different components work as expected as a larger unit. These particular tests were applied during the end of each implementation iteration as all components are needed. The process began by starting the server on a host machine and specific port. Then tools such as cURL and Postman helped act as the client, in order to send appropriate requests to the server. A set of requests were sent and the responses given were compared to the responses that were actually expected. Some stages resulted in server errors which described bugs in the system where previously we would not have foreseen. - -As well as testing the individual functionality of components, testing was also carried out on data types to ensure certain programming errors will be detected and reported. This was also completed using MochaJS and ChaiJS. - -Further testing is still in progress however this requires additional components to be added to the system in upcoming Sprints. One portion of testing includes producing a mock user interface in order to test integration further on with other sections of the system which are completed by other teams. A client-side SDK for each request is generated by SwaggerHub, which prevents any focus being applied to user interaction and keeps the back-end server as the main task. - -\section{Looking Ahead} -\subsection{File Agnosticity} -It is the goal of a backend server to be able to support any file type possible as part of a project. These may be miscellaneous files that a user would like to store in the project, or it may also be a temporary file created by an HCI or ML service which is proprietary to the work they are carrying out. In the average case where a file is one of the Users’ complex image formats, or an excel spreadsheet perhaps - the server should be capable of converting this into a standardised file format that anything should be able to read. In particular, if a ‘Leica’ file is uploaded in ‘.scn’, our server should be capable of converting this into whatever resolution of sub pictures in PNG format so that we can ensure interoperability between components and clients. The server may still hold on to the original file and, in-fact would be expected to do so, but should only ever hand out standard formats from endpoints. In the case of Excel files (.xlsx), the server should be capable of transforming these sheets into ‘.csv’, to be read from another service, whilst maintaining the ability for clients to still download the original proprietary format. For example, if an ‘HCI’ client is connecting through a mobile phone, the client shouldn’t care which format an image was uploaded to a project in, as it should always send out a standard (PNG for images) format to remain type-agnostic. - -\subsection{Advanced Telemetry} -As part of professional development, an end goal was set to enable the server to be particularly self-aware through advanced telemetry monitoring. There are many benefits to this, mainly improved system performance to reduce bottlenecks, as well as being resilient to errors that may crop up with user interaction. -Some forms of telemetry considered were continually monitoring the kinds of requests that are coming in and check to see if they access similar locations. Then UUIDs could be cached with meta information such as hit count, and related files so that the sever could learn about the kinds of operations being carried out on it, and report back to some kind of systems admin. We could also start to preemptively carry out certain tasks such as unpacking and converting spatially adjacent images for files that are currently being browsed to reduce latency on further “panning” of the file for example. Statistics about this kind of operation could be gathered, such as time taken to complete and the time difference that was saved by doing so. These kinds of results would then be used to make an internal decision if some of the files should be “permanently” stored in some converted format. - -With regards to the scalability potential of running multiple instances, there is a plethora of further telemetry that can be gathered about connections made between instances, both with reference to the content in the database and the ACID/atomic properties which would need to be upheld, as well as with regards to the physical file distribution across multiple geographical nodes. -There could then be all kinds of algorithms to determine if files should be “invisibly” shuffled around behind the scenes to provide a more seamless experience for the end-user. - -\subsection{ACID Distribution} - -\begin{figure} - \centering - \includegraphics[width=3in]{graphics/acid-echo.pdf} - \caption{A Server Instance Connected to an Echo Server as Part of a Distributed Network} - \label{fig:acid} -\end{figure} - -Building on the atomic nature of a database transaction, and given the Users deployment scenario (multiple research facilities potentially across multiple geographically diverse locations), we thought it would be critical to allow the database to have multiple instances operating concurrently. Approximately how this would look, is that clients talk to the backend server they are physically closest to on the network for the lowest possible latency. However, since there can be multiple nodes to serve clients in different locations, the servers would need to make a "best attempt" to synchronise in an atomic manner. This would make the system far more scalable in the future, and may have potential applications for things such as a "live" backup server - since medical data is all fairly critical. -On top of the transactions to the Database being atomic and synchronised across all instances of the server, the physical distribution of file storage would additionally need to be considered. - -Since we made the design decision to store all of the actual files, outside of the database, then keeping atomic communication to each instance server does not necessarily solve the issue of file replication.For example, if a member of a group is working on a node other than the "root" node where that project was created and all of the data happens to be stored for it, then we will need to include some kind of notion of a "server reference" for each file known about by the database. -Then, if a client made a request for data not locally stored, it could either be re-directed by the server to the other node, or the server forwards the request then pipes it back to the client. - -Alternatively, as a further specialisation of this functionality, the server could intelligently detect related data to the "foreign" request being made, and pre-emptively load in the data from the alternate server, so it is ready to serve future data locally. This data could be cached locally and used, then re-synchronised if changes were made back to the original, or dropped if it was just for reading. It is likely however that most of these interactions will be reads, so activities such as carrying out a machine learning session on some data would only require the (potentially) smaller file containing the results to be synchronised back, which is a much easier task as it would likely just be new file upload to the remote server. -As part of professional development, an end goal was set to enable the server to be incredibly self aware through advanced telemetry monitoring. There are many benefits to this, mainly improved system performance to reduce bottlenecks, as well as being resilient to errors that may crop up with user interaction. -Some forms of telemetry considered were continually monitoring the kinds of requests that are coming in and check to see if they access similar locations. Then UUIDs could be cached with meta information such as hit count, and related files so that the sever could learn about the kinds of operations being carried out on it, and report back to some kind of systems admin. We could also start to preemptively carry out certain tasks such as unpacking and converting spatially adjacent images for files that are currently being browsed to reduce latency on further “panning” of the file for example. Statistics about this kind of operation could be gathered, such as time taken to complete and the time difference that was saved by doing so. These kinds of results would then be used to make an internal decision if some of the files should be “permanently” stored in some converted format. - -With regards the scalability potential of running multiple instances, there is a plethora of further telemetry that can be gathered about connections made between instances, both with reference to the content in the database and the acid/atomic properties which would need to be upheld, as well as with regards the physical file distribution across multiple geographical nodes. -There could then be all kinds of algorithms to determine if files should be “invisibly” shuffled around behind the scenes to provide a more seamless experience for the end-user -\appendix -\section{Scrum Board Images} \label{app:board} - -{ -\centering -\includegraphics[width=\textwidth]{graphics/4-12-17.jpg} -\includegraphics[width=\textwidth]{graphics/4-12-17-2.jpg} -\includegraphics[width=\textwidth]{graphics/8-1-18.jpg} -\includegraphics[width=\textwidth]{graphics/29-1-18.jpg} -\includegraphics[width=\textwidth]{graphics/5-2-18.jpg} -} - -\section{Scrum Meeting Minutes} \label{app:meet} -\begin{lstlisting} -Project Meeting minutes - -Group project meeting 1 -Date: 10/11/17 -Topics: -Code type -User initial tasks and roles - - -Outcomes: - - -* Scrum -* Scrum master: Tom -* Product owner: Calum -* Code: - * Language: typescript - * Framework: NodeJS -* File conversion: - * On-the-fly - only keep original and convert when necessary -* OpenCdragon lib -* Networking: - * Express.js -* Storage: - * Database - * Storing json format for metadata - * Filepath for files -* Users, groups: - * Tokens - libraries? - * oauth -> which version? - * stored in tables - encryption -* Security: - * Per-file encryption - * Hash passwords - * not needed? -* Other: - * ask IT services for more user space - * Use teamspeak over christmas -* Deadline 5 days after we come back -* Next_Tasks: - * Tom: setup basic Node Server - * Get data from user on friday - * Design API - * Johannes: test file conversion libraries - * Calum: think about database format - * Make ER diagram and Schema - - -Group project meeting 2 pre sprint -Date: 4/12/17 -Topics: -Database type and design -Authorisation -Protocol -Set up first set of user stories -Setting up server - - -Outcomes: -* Database -* Postgres -* Talk about design -* Set up ER diagram -* Authentication and security -* Passport -* oauth tokens -* User stories- -* Setting up stubs for conforming to database -* Setting up database from ER diagram - - -Group project meeting 3 post sprint -Date: 8/12/17 -Topics: -Burnout chart -Evaluation of sprint -Setting next time for sprint -Change of scrum master and project - - -Outcomes: -* Change of roles -* Scrum master: Johannes -* Project Owner: Hafeez - - -Group project meeting 4 -Date: 8/1/18 -Topics -Storing files -Setting up mock HCI -Dealing with file types -Thinking About File type conversions - -Change of roles - -Outcomes -* Change of roles -* Scrum master: Calum -* Project Owner: Josh - - -Group project meeting 5 -Date: 28/1/18 -Topics: -Discuss previous sprint -Catching up on research Over Holidays -Planning How to Acheive First Deliverable - -Outcomes: -* Continuing on the Scrum board with realistic -goals of tasks that can be completed by the deadline -* Redistribution of work between members so that -everyone has an even share of the work - -Group project meeting 6 -Date: 3/2/18 -Topics: -User stories for sprint before first hand in. -What tasks we are leaving until next hand in - - -Outcomes: -* File conversions saving for future hand in -* Have a working demo for following hand in -* User stories -* Is the Epic User Story achievable by the end of the year? - -Discuss previous sprint -Discuss how to present hand in - - -Outcomes: -* Responsibilities -\end{lstlisting} - -\section{Example SQL Queries on File System} \label{app:sql} -\subsection{Example 1} -To locate an image called image1 at folder1/folder2/folder3/image1 to find it you would use the queries: -\begin{lstlisting}[language=SQL] -SELECT * FROM dirent - NATURAL JOIN folder WHERE - folder_name = 'folder1' AND - super_folder is null AND - project_name = 'project 1'; -SELECT * FROM dirent WHERE - super_folder = '77dea3b7-523e-463a-aff1-3d8b92259fbb'; -SELECT * FROM dirent WHERE - super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; -SELECT * FROM dirent - NATURAL JOIN image WHERE - super_folder = '22b94214-6942-40dd-b8af-deb1371fa298'; -\end{lstlisting} - -From this directory, if you wanted to find dirents contained within folder 2 you could use the -queries: -\begin{lstlisting}[language=SQL] -SELECT * FROM dirent WHERE - id = '22b94214-6942-40dd-b8af-deb1371fa298'; -SELECT * FROM dirent - WHERE super_folder = '12596fe5-2838-4cc0-8d2f-4745e91738f5'; -\end{lstlisting} - -\subsection{Example 2} -Using: -\begin{lstlisting}[language=SQL] -INSERT INTO - project ("project_name", "owner") - VALUES ('project 1', 'josh') -\end{lstlisting} - -Would give all permissions to josh in project 1. - -\end{document} diff --git a/report/texts/aims.tex b/report/texts/aims.tex deleted file mode 100644 index e1da3ee..0000000 --- a/report/texts/aims.tex +++ /dev/null @@ -1,7 +0,0 @@ -\section{Aims for submission 2} -From our first submission, we now had a working server that allowed a user to access our own mock user interface to log in and access data based on their level of authorisation. Following this we set up a meeting to lay out goals for ourselves that would act as requirements for the second submission. -\begin{description} - \item[Define Specific Protocol] Now that we had a working server, we next wanted to define specific protocol in order to demo our progress using work from another Junior Honours HCI groups. - \item[Manage Filetype Conversions] A main part of this submission was creating a file converter for all the required file types that would be needed. - \item[Testing] As our code was getting more complicated we wanted to make sure that extensive testing was implemented to create a more secure and consistent system. -\end{description} diff --git a/report/texts/conclusion.tex b/report/texts/conclusion.tex deleted file mode 100644 index 0e40979..0000000 --- a/report/texts/conclusion.tex +++ /dev/null @@ -1,5 +0,0 @@ -\section{Conclusion} -As a group a lot of progress was made for this submission, we were proactive in setting out goals for ourselves and feel we are now well on track to produce an outstanding final hand in. Our continued use of scrum has helped keep workload consistent and effective right through to this submission and we hope to continue in this way. Scrum is essential in our progress as it helps to manage time and organise the team work and so this process will be used for the duration of the project. Having now combined our work with the HCI group we are looking forward to working with teams focused on machine learning to tie together all 3 sections of the application to create the desired system set out by the project owner. - -\subsection{Next Tasks} -Viewing the system as a whole, substantial progress has been made in completing each required task whilst also managing time for each task appropriately. Looking further ahead, our next objectives will surround performance enhancing, further testing and finally completing the integration process with the rest of the system. The process for these will include a large amount of analysis on the working server, which include finding delays between certain requests and responses, measuring time taken for converting files and testing for bugs after integration. Another important aspect is the security of the application, and preventing bugs from leading to exploits which can be used for malicious use. This is particularly important within the medical industry as data confidentiality and integrity are apart of practitioners' policy. One method of testing for this task would be penetration testing, using a suite of tools to attack the application, which would determine any vulnerabilities that exist. \ No newline at end of file diff --git a/report/texts/conversion.tex b/report/texts/conversion.tex deleted file mode 100644 index 87db332..0000000 --- a/report/texts/conversion.tex +++ /dev/null @@ -1,135 +0,0 @@ -\section{File Conversion} -One of the most key pieces of functionality for the backend groups is the facilitation of the agnosticity of -original file formats to the end user. No matter the original upload format, backend groups should all be -capable of returning files in standard file formats. -These specific ``standards'' were not hard-defined by the specification, however as part of our whole year -protocol, it was decided that \emph{JSON} would be used for file meta-information, as well as the -main structure of all responses from a backend server. \emph{PNG} was decided upon as the standard file format -for all images, since it is very widely supported and has other favourable properties we would like to -take advantage of. - -\subsection{Dealing with Images} -The nature of the file formats that we were expected to abstract over however turned out to be significantly -more challenging than was initially perceived. The file formats of `Leica' and `Zeiss' are widely used in the -medical field (the department we are providing this service for), however almost nowhere else. Upon looking -into this more closely, it was found that the Zeiss file format is very proprietary and licensed. - -This means that in order to even gain access to simply read the documentation you must fill in your details -and make an application for the documentation~\cite{zeissLicence}. Part of the agreement for this documentation is that you are -not allowed to share it with anyone else; you are allowed to write software to \emph{deconstruct} them; you -are strictly \emph{not} allowed to write any software to construct them. - -The documentation gives a description of the various ``segments'' of binary that can appear in the file, and -attempts to assist you in the method to read them. Given the large nature of the file size of a Zeiss, it makes -sense for them to be designed to be `streamable', which they are --- allowing you to read smaller chunks at a -time rather than loading the whole object into memory simultaneously. - -After reading the specification in great detail, it was clear that it was extremely specialised and has -the potential to nest a variety of other file types within itself, as well as have many fields missing ---- as they are optional --- making it quite complex to interpret. In addition to this, the major difficulty -came from the fact that the base file is a proprietary binary file, which also contains things such as 128bit -unsigned integers. This fact, coupled with the substantial file sizes made the choice for languages to deal -with them limited to a systems programming language. Since I had most experience in `C99', then this seemed -the only realistic possibility. - -\subsubsection{Extraction of Zeiss Within `C'} -One major consideration was that --- due to the sheer file size of many of these images --- we would need -to store them on the local \file{/cs/scratch} drive of the lab machines: they are simply too -large to store either on our host servers statically, let alone when working on extracting and expanding the -thousands of smaller files within them. - -With this in mind, and closely comparing the -`C' code against the rough documentation licensed to me, the structures possible within a Zeiss file were -slowly built up. - -Methods were written to print out the contents of various structures as progress was made, in -order to ensure that the offsets for file streaming were continually at the correct locations and the data we -were parsing out of the file was as expected. To this effect, testing of the extraction was run continually -in the standard `C' approach of a couple lines at a time before re-compilation, along with using flags such as -`\verb|--pedantic|' in order to try to catch as many errors as possible. Occasionally \verb|valgrind| was also -run on this extraction code, since significant chunks of memory are allocated and freed during the -extraction process. \verb|valgrind| reports that there are no memory leaks at all --- even -on the larger 12Gb \file{.czi} files. - -\subsubsection{Converting Extracted Files} -Once the files/metadata/attachments had been successfully extracted from the target file, multiple issues were -discovered. -\begin{itemize} - \item The container format for the image segments was in \emph{JPEG-XR}. This is another proprietary - file format, which does not appear to be supported by anything at all, other than Microsoft's own software. - There is also extremely limited library support, especially for non-Windows platforms. - Fortunately, a C++-written \file{.jxr} decoder was found, and could - be compiled on the destination machine. Enough of the executable is able to be compiled before any problems - occur, and this decoder can be copied into the relative path for our own C source. - \item The library for decoding JXR's is only - capable of conversion to \emph{BMP} or \emph{TIFF}, which is not our desired format. Therefore an additional step of - converting the `JXR' to `TIFF', and then to `PNG' using the `imagemagick' command line tools like \verb|convert| - became necessary. - This is an annoying overhead, which is unfortunately unavoidable. - \item By simply extracting every image tile found within the JXR tile, we found that - there were also tiles found at non 1:1 zoom levels, which was wasteful to deal with, since we will be building - a custom image pyramid anyway. This issue was mitigated by adding some logic to only extract the tile to disk if - it was determined to have a 1:1 scaling and thus be on the base layer. - \item In a similar fashion to the previous issue, it also became apparent that there were many tiles in the - base layer which were of non-standard sizes, with some having tiny slivers as they came to edges etc. - The only solution to make these tiles appear on a nice grid of $n^2$ sizes, was to iterate over the fragmented - canvas and stitch together the portions we want. -\end{itemize} - -In order to complete the conversion side of things, it seemed appropriate to move away from C programming, and -even away from the scripts that were being using to control the C, to something like \emph{Python}. -The thought process behind this decision is the fact that Python supports multithreading --- which for something -as parallel as multiple image conversions seemed extremely advantageous. The code to do this section is fairly -small, but absolutely crucial to the overall pipeline of Zeiss format support. - -\subsubsection{Stitching Base Tiles} -Once we finally had all of the base tiles in a 1:1 scale and a format that was easier to deal with, the first task -was to figure out how to build up our own grid across the mismatch of sizes of existing base tiles.\\ -The tile dimensions decided on were 1024:1024. The reason for this, is that it is large enough to contain a -reasonable amount of information, without being so large that our server could provide or clients could load in -a timely manner. - -In order to do this stitching process, a decision was required as to the package to manage the image operations. -After a vast amount of searching and comparisons, the selection was made for \emph{Sharp}~\cite{sharp}. The reason for -this, was that it appeared to be the single library which was capable of all of the different kinds of image -processing jobs we expected to be doing. Another key reason is the fact that it is known in advance that a very -large number of images will need to be processed here, so performance is critical. Sharp appears to perform -very significantly better than its competitors~\cite{sharpPerformance}. Finally, it has typing -support to work with our environment. - -With this set, high level logic was written to check various image bounds for related base tiles to a specific -region request. Regions were then selected out, sorted by x and y offsets, then relevant chunks chopped out of -them and stitched together into a coherent region of our selected size. - -\subsubsection{Building Up Hierarchy of Zoom Levels} -These finalised base layer tiles are written to disk in an output directory and details about their creation -are recorded in a new data structure which will map out the pyramid style hierarchy of the tiles. -A small example of these final titles are shown on the cover page of our Report for interest as they are -legitimate generations in a format we would like. - -Now that the base layer exists, gaining the rest of the tile zoom levels, should be fairly simple --- by moving -up to the next power of two (2048) and collecting 4 images together then scaling this back down to 1024 pixels. -This process can be repeated for each level of zoom we would like to raise to. This will massively speed up -the process of searching through base tiles and stitching many together if we pre-process all of the intermediate -layers. Since most HCI groups are using OpenSeaDragon (which requests things in scales of powers -of two~\cite{openseadragon}), our approach should be a very fast performer with the trade off of larger up-front processing time.\\ -Indexing into this pyramid will be fast with each request too, as they will be separated by `C' value, which is -one of the image's layering options, then by zoom level. - -\subsection{Leica \& Other Formats} -As Zeiss is such a difficult and mammoth file format almost all of my time was spent dealing with purely this, -and it is still not even complete yet. However having looked quickly into Leica, there appears to be -library support, which may make life easier, along with the fact the internal structure appears to be similar to -a BigTiff. More progress on this format will take place for the next deliverable. - -As for other image formats such as JPEG, TIFF etc. These are standard formats and so will be trivial to -convert to our required standard of PNG so is not a significant point of progress currently. - -\subsection{Non image formats (\file{.csv} etc.)} -As for non image formats such as \file{.csv}, it has been decided that the backend should only be responsible of hosting these -files, since there is no way that a backend server could possibly predict what the file should be processed into. -Additionally, there are also many cases where an end-user may wish to deliberately store something in a format -which a backend server checking legitimacy of the file would complain about incorrectly. - -The team hasn't really looked into things such as Excel (\file{.xlsx}) files, however again, pre-emptively looking, there seems to -be fairly wide library support for things like this, so it was not a major concern for this deliverable. diff --git a/report/texts/logging.tex b/report/texts/logging.tex deleted file mode 100644 index d0a7255..0000000 --- a/report/texts/logging.tex +++ /dev/null @@ -1,38 +0,0 @@ -\section{Logging} -Server logging has now been formalised: the functionality is imported into -a file and can then be used to log messages at the selection of urgencies -specified in Protocol BE01~\cite{protocol}. - -These outputs have many configuration options, which ideally will be -incorporated into a global configuration handler in future development. - -\subsection{Standard Logging} -By default, the standard logger logs to three places: -\begin{enumerate} - \item Colourised, human-readable messages are printed to the console. - Any error- or critical-level messages are printed through stderr. - \item More verbose JSON editions of messages are written to a basic - logfile. - \item Critical-level messages are additionally written to an extra - logfile. -\end{enumerate} - -\subsection{SQL Query Logging} -A separate logger has been designed for logging the output of -Sequelize~\cite{sequelize}. Since Protocol BE01 does not specify that they -should be retreivable, the output queries can be stored with less associated -metadata. In addition, Sequelize can output the total required time to -process the query, which is stored in the log for future use as profiling -data. - -\subsection{Motivation} -Since basic server functionality has been implemented, the errors produced -will likely be caused by difficult-to-debug problems, such as edge-cases or -data races. With a verbose and thorough logging system, these problems -should be much easier to detect and rectify. - -In addition, Protocol BE01~\cite{protocol} requires of the backend support -for receiving and storing logs from other services. The introduction of a -well-implemented logging system abstracts this from the common use-case of -logging while keeping powerful functionality of forwarding and fetching logs -available for when it is needed. diff --git a/report/texts/minutes.tex b/report/texts/minutes.tex deleted file mode 100644 index 55aab2a..0000000 --- a/report/texts/minutes.tex +++ /dev/null @@ -1,72 +0,0 @@ -\begin{lstlisting} - -Group Project Meeting 1 post submission -Date: 12/02/18 -Topics: -Reassigning scrum roles -Creating next set of tasks -Task allocation - -Outcomes: -* Scrum: - * scrum master - Hafeez - * project owner - Calum - -*Tasks: - * Implementing endpoints - * Implementing file conversions - * Improving test coverage - * Writing tests for untested sections - * Connecting all middleware - * Decide on how to deal with errors - * Organising file-system - * Creating a Linter to maintain a consistent file structure - -Group Project Meeting 2 Pre-sprint -Date 15/02/18 -Topics: -Define user stories -Task allocation - -Outcomes: -* Sprint - * Week long sprint - * Meeting set for 22/02/18 - -Group Project Meeting 3 Post-Sprint -Date 22/02/18 -Topics: -Analysis of work -Next task assignment - -Outcomes: - -Group Project Meeting 4 -Date 24/02/18 -Topics: -Sprint aims -Sprint deadline - -Outcomes: - *Decided to hold a sprint now to leave time - before next submission to finish off all leftover work - -Group Project Meeting 5 -Date 03/03/18 -Topics -Analysis of work todo after sprint -Work needed to complete before deadline - - -Outcomes: - * Finishing off of the report - *Connecting work with another HCI group - *Finish testing - - - - - - - -\end{lstlisting} diff --git a/report/texts/process-management.tex b/report/texts/process-management.tex deleted file mode 100644 index d99a73c..0000000 --- a/report/texts/process-management.tex +++ /dev/null @@ -1,56 +0,0 @@ -\section{Process Management and Deployment}\label{sec:pm} -In a production environment, many instances of a NodeJS server are run on -one machine; this way NodeJS applications can make use of multiple -processors. For this purpose, research into \emph{process managers} --- -applications used for running and managing production-level systems --- -was carried out. - -\subsection{Process Manager Selection}\label{sec:pms} -A number of process managers were investigated with the hope of -incorporating them into the production -system~\cite{strongloop}\cite{pm2}\cite{forever}. The application pm2 was -chosen, primarily for its highly-configurable \emph{ecosystem}-config files, -and \emph{pmx}\footnote{https://github.com/keymetrics/pmx}, -its profiling extension. - -\subsection{pm2 and KeyMetrics}\label{sec:pm2} - -\begin{figure} - \centering - \includegraphics[width=0.95\linewidth]{km-dash} - \caption{The KeyMetrics dashboard web client in use.}\label{fig:dash} -\end{figure} - -A feature available in \emph{pm2} is the ability to transmit profiling -statistics to a web client, as a dashboard. The dashboard also allows the -user to remotely issue commands to the running instances. Further, -custom profiling information, and custom remote commands, can be created -through the introduction of simple logic into the codebase. - -\subsection{Process Limitations}\label{sec:plim} -Running multiple NodeJS instances can quickly accumulate counts towards a -user process limit: each instance hosts several threads, and each connection -to the PostgreSQL database can pool several threads also, resulting in many -threads per instance. Compounded with the fact that pm2 itself also runs -as a NodeJS instance, this means that a user can reach their process limit -on the host labs very quickly. Using \texttt{nolimit} on process -instantiation is one solution, however this means having to run -\texttt{nolimit} when starting the databse, deamonising the process manager, -starting the server instances, and doing any miscellaneous tasks. This -limitation has stunted hindered attempts to connect to other teams' -products. - -\subsection{Heroku Hosting}\label{sec:her} -In response to the issues addressed in \S\ref{sec:plim}, an attempt to host -an instance of the server on hosting service -\emph{Heroku}\footnote{https://heroku.com/} has been started. This would -alloow the team to interact with other teams, without using a member's -process limit and hindering their productivity. Additionally, it would show -the deployability of the system --- an important factor for a backend -server. - -\subsection{External System Hosting}\label{sec:ext} -Another option is to host instances of the system on devices personally -owned by members of the team. This would give the team absolute control over -configuration of the sytem, and would have the potential to outperform an -instance running on a complementary Heroku service. diff --git a/report/texts/scrum.tex b/report/texts/scrum.tex deleted file mode 100644 index ca724c8..0000000 --- a/report/texts/scrum.tex +++ /dev/null @@ -1,17 +0,0 @@ -\section{Continued use of Scrum} -The scrum process was continued as we found this very useful in terms of clearly setting out tasks for each member and managing the progress of the implementation. One of the changes that was made for this sprint was the change in roles between team members. The change in responsibility allows team members to complete new and different jobs. In general the size and the time taken of each individual task was a lot more varied when comparing to the last submission, however, there were certain tasks which were larger in terms of hours put in. These large tasks included creating a logger system and a file converter. -\subsection{Sprints} - -\begin{figure}[h] - \centering - \includegraphics[width=0.6\textwidth]{burndown} - \caption{A Burndown Chart for the past 14 days.}\label{fig:burn} -\end{figure} - -As a team, it was decided that there would only be a single sprint, up until the next point of submission. This was because of the short time period, enough for only a two week sprint. In addition to this, the sprint assessment process was completed more often to ensure that as a team time was managed well and sufficient progress was being made. All the tasks that was set for this sprint were completed within the required time frame. -\subsection{Scrum board} -Again, the scrum board was used to outline and track the completion of each task. The same whiteboard in the John Honey main computer lab was used in order to maintain consistency. This gave a clear visual representation of the objectives. During the sprint, the main jobs required for completion were to further enhance the testing unit to increase its coverage across the implemented systems, implement a simple file converter and introduce a logging system for the server. Much experience was gained from completing previous sprints and so using this experience we were better equipped to handle larger tasks. Examples of the board in use can be found in Appendix \ref{app:board}. - -\subsection{Meetings} -Regular meetings were also held to discuss and evaluate progress. This was crucial in the scrum process and as working in a team to allow a point of communication between each member at the same point in time. An example of a major decision being made during the discussion was the change of language of the file converter implementation. It was decided that the more appropriate language to use would be C as there would more extensive libraries for this particular operation and would also have the advantage of greater efficiency. Multiple meetings were held during the most recent sprint to determine the tasks required for completion, to evaluate whether each task was completed and track progress in between. -The minutes for formal meetings are available in Appendix \ref{app:meet}. diff --git a/report/texts/testing.tex b/report/texts/testing.tex deleted file mode 100644 index e3f709b..0000000 --- a/report/texts/testing.tex +++ /dev/null @@ -1,15 +0,0 @@ -\section{Testing} -Tests do not currently run on the gitlab server, as the postgres integration with the docker gitlab-ci is still missing. This means any tests run automatically when pushing will fail. \par -When running integration tests locally, please make sure the postgres server is up and running on localhost. -\subsection{Structure} -Testing files were restructured for a more organised and professional approach. All test files end in ``*.\(<\)context\(>\).test.ts'' and were moved to the ``test'' directory. At this moment, ``\(<\)context\(>\)'' includes ``unit'' and ``routes''. Further, they were categorised into \textit{integration} and \textit{unit} tests and moved into corresponding sub-directories. \par -Apart from making test files easier to find, this new structure also allowed us to run specific tests independently to isolate failures and quickly rerun individual tests. For example \texttt{yarn test:routes:auth} runs all authentication tests. -\subsection{Integration Testing} -\texttt{yarn test:routes} -This category of tests targeted the interplay of different server components as it tested server endpoints (routes) rather than internal functions. We aimed to test all routes for responses of success, and various degrees of failure. \par -E.g. \textbf{``auth.routes.test.ts''} tested the authentication middle-ware, checking existing users could log in only with correct usernames, passwords and reauthentication tokens. During our later meetings, we realised that security is a key-component of medical systems, and requires further much more in-depth testing to guarantee safety of patient data. \par -\textbf{``protocol.routes.test.ts''} aims to cover all endpoints specified in the agreed protocol by using the \textit{mocha-each} npm module. This allowed us to write few mocha testing functions iterating over the long list of endpoints, checking HTTP responses to fit the JSON response templates to conform to the protocol. This form of testing is still incomplete. -\subsection{Unit Testing} -\texttt{yarn test:unit} -The main motivation for this category of tests was to find bugs early on without having to run the whole server. This saves time and uncovers new code breaking old functionality. We also found that unit tests improved the design process by forcing implementation of code that is testable. Furthermore, unit tests were often used as a form of documentation, as it aided in understanding how code of other team members worked and could be used. \par -We decided that each team-member was responsible for creating the unit tests for their code. Unfortunately the number and coverage of unit tests is still quite low. This may be the result of prioritising functionality over bug-resilience and test-driven development. diff --git a/report/texts/typings.tex b/report/texts/typings.tex deleted file mode 100644 index 36297b7..0000000 --- a/report/texts/typings.tex +++ /dev/null @@ -1,27 +0,0 @@ -\section{Type Enforcement} -In order to run JavaScript code as TypeScript code, typings (usually -supplied in a \file{.d.ts}-extended file) are applied at compile-time to -make sense of the original source's variable types. For a couple of -packages that have been used in the submission, these typings are not -available, due to a lack of desirablilty --- the packages in question are -niche and as such see little use. - -\subsection{mocha-each} -One such package is \emph{mocha-each}, a utility package for compacting -Mocha tests for readability and classification~\cite{mocha-each}. Without -typings, this package cannot be used in TypeScript projects. Due to its -single-facet use, however, it was simple to design a custom -\file{.d.ts} file. With small edits to conform to -guidelines~\cite{@types}, typings for -mocha-test were contributed to the DefinitelyTyped types repository\footnote{% -https://github.com/DefinitelyTyped/DefinitelyTyped/% -tree/master/types/mocha-each}. - -\subsection{pmx} -The package pmx (as previously described in \S\ref{sec:pms}) is useful for -profiling. Similarly to mocha-each, however, it does not have supported typing. -Since this package covers a far wider range of functionality, and since said -functionality is very involved with sensitive run-time engine manipulation, -typings were written only for the functions being used by the team, and have -been kept in-house for their incompleteness. The files in question can be found -in \file{src/profiler}. diff --git a/report/title.tex b/report/title.tex deleted file mode 100644 index 4406ef6..0000000 --- a/report/title.tex +++ /dev/null @@ -1,15 +0,0 @@ -\title{Report \\ Juniour Honours Project \\[0.5ex] Submission 2} -\author{Hafeez Abdul-Rehaman \\[1ex] Johannes Weck \\[1ex] Josh Lee \\[1ex] Calum Duff \\[2ex] Tom Harley} -\date{\today} - -\makeatletter - \def\@maketitle{ - \begin{center} - \includegraphics[width=0.7\linewidth]{title-logo}\\[10ex] - {\huge \bfseries \@title{ }}\\[1ex] - \rule{0.5\textwidth}{.4pt}\\[1ex] - {\LARGE \@author}\\[15ex] - {\large \@date} - \end{center} - } -\makeatother -- cgit v1.2.1 From 52a9e062113bab3583a8393f024048f3c4301929 Mon Sep 17 00:00:00 2001 From: jw255 Date: Fri, 20 Apr 2018 17:12:29 +0100 Subject: made new branch for report --- report/deliverable-3/main.synctex.gz | Bin 0 -> 101182 bytes report/deliverable-3/main.toc | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 report/deliverable-3/main.synctex.gz create mode 100644 report/deliverable-3/main.toc diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz new file mode 100644 index 0000000..de985d1 Binary files /dev/null and b/report/deliverable-3/main.synctex.gz differ diff --git a/report/deliverable-3/main.toc b/report/deliverable-3/main.toc new file mode 100644 index 0000000..c9dcd7b --- /dev/null +++ b/report/deliverable-3/main.toc @@ -0,0 +1,34 @@ +\contentsline {section}{\numberline {1}Aims for submission 2}{2} +\contentsline {section}{\numberline {2}Continued use of Scrum}{2} +\contentsline {subsection}{\numberline {2.1}Sprints}{2} +\contentsline {subsection}{\numberline {2.2}Scrum board}{2} +\contentsline {subsection}{\numberline {2.3}Meetings}{3} +\contentsline {section}{\numberline {3}File Conversion}{3} +\contentsline {subsection}{\numberline {3.1}Dealing with Images}{3} +\contentsline {subsubsection}{\numberline {3.1.1}Extraction of Zeiss Within `C'}{4} +\contentsline {subsubsection}{\numberline {3.1.2}Converting Extracted Files}{4} +\contentsline {subsubsection}{\numberline {3.1.3}Stitching Base Tiles}{4} +\contentsline {subsubsection}{\numberline {3.1.4}Building Up Hierarchy of Zoom Levels}{5} +\contentsline {subsection}{\numberline {3.2}Leica \& Other Formats}{5} +\contentsline {subsection}{\numberline {3.3}Non image formats (\texttt {.csv} etc.)}{5} +\contentsline {section}{\numberline {4}Logging}{6} +\contentsline {subsection}{\numberline {4.1}Standard Logging}{6} +\contentsline {subsection}{\numberline {4.2}SQL Query Logging}{6} +\contentsline {subsection}{\numberline {4.3}Motivation}{6} +\contentsline {section}{\numberline {5}Process Management and Deployment}{6} +\contentsline {subsection}{\numberline {5.1}Process Manager Selection}{6} +\contentsline {subsection}{\numberline {5.2}pm2 and KeyMetrics}{6} +\contentsline {subsection}{\numberline {5.3}Process Limitations}{7} +\contentsline {subsection}{\numberline {5.4}Heroku Hosting}{7} +\contentsline {subsection}{\numberline {5.5}External System Hosting}{7} +\contentsline {section}{\numberline {6}Testing}{7} +\contentsline {subsection}{\numberline {6.1}Structure}{7} +\contentsline {subsection}{\numberline {6.2}Integration Testing}{8} +\contentsline {subsection}{\numberline {6.3}Unit Testing}{8} +\contentsline {section}{\numberline {7}Type Enforcement}{8} +\contentsline {subsection}{\numberline {7.1}mocha-each}{8} +\contentsline {subsection}{\numberline {7.2}pmx}{8} +\contentsline {section}{\numberline {8}Conclusion}{9} +\contentsline {subsection}{\numberline {8.1}Next Tasks}{9} +\contentsline {section}{\numberline {A}Scrum Board Images}{10} +\contentsline {section}{\numberline {B}Meeting Minutes}{12} -- cgit v1.2.1 From 563a13e6ffcec496914e3f2bd630c988aba64776 Mon Sep 17 00:00:00 2001 From: jw255 Date: Fri, 20 Apr 2018 18:04:59 +0100 Subject: some work on report --- report/deliverable-3/main.dvi | Bin 0 -> 45696 bytes report/deliverable-3/main.synctex.gz | Bin 101182 -> 108397 bytes report/deliverable-3/main.tex | 14 +++++++++++++- report/deliverable-3/main.toc | 15 ++++++--------- report/deliverable-3/preamble.tex | 2 +- report/deliverable-3/texts/aims.tex | 6 +++--- report/deliverable-3/texts/testing.tex | 15 +-------------- report/deliverable-3/title.tex | 2 +- 8 files changed, 25 insertions(+), 29 deletions(-) create mode 100644 report/deliverable-3/main.dvi diff --git a/report/deliverable-3/main.dvi b/report/deliverable-3/main.dvi new file mode 100644 index 0000000..c1ed465 Binary files /dev/null and b/report/deliverable-3/main.dvi differ diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz index de985d1..8fdb5ed 100644 Binary files a/report/deliverable-3/main.synctex.gz and b/report/deliverable-3/main.synctex.gz differ diff --git a/report/deliverable-3/main.tex b/report/deliverable-3/main.tex index dce9106..1c7b5db 100644 --- a/report/deliverable-3/main.tex +++ b/report/deliverable-3/main.tex @@ -1,4 +1,16 @@ -\input{preamble} +\documentclass{article} + +\usepackage[margin=1in]{geometry} +\usepackage{a4wide} + +\usepackage{graphicx} +\graphicspath{{./graphics/}} + +\usepackage{float} +\usepackage{listings} +\usepackage{cite} + +\def\file{\texttt} \input{title} diff --git a/report/deliverable-3/main.toc b/report/deliverable-3/main.toc index c9dcd7b..0fee9a3 100644 --- a/report/deliverable-3/main.toc +++ b/report/deliverable-3/main.toc @@ -1,4 +1,4 @@ -\contentsline {section}{\numberline {1}Aims for submission 2}{2} +\contentsline {section}{\numberline {1}Aims for Final Submission}{2} \contentsline {section}{\numberline {2}Continued use of Scrum}{2} \contentsline {subsection}{\numberline {2.1}Sprints}{2} \contentsline {subsection}{\numberline {2.2}Scrum board}{2} @@ -22,13 +22,10 @@ \contentsline {subsection}{\numberline {5.4}Heroku Hosting}{7} \contentsline {subsection}{\numberline {5.5}External System Hosting}{7} \contentsline {section}{\numberline {6}Testing}{7} -\contentsline {subsection}{\numberline {6.1}Structure}{7} -\contentsline {subsection}{\numberline {6.2}Integration Testing}{8} -\contentsline {subsection}{\numberline {6.3}Unit Testing}{8} -\contentsline {section}{\numberline {7}Type Enforcement}{8} +\contentsline {section}{\numberline {7}Type Enforcement}{7} \contentsline {subsection}{\numberline {7.1}mocha-each}{8} \contentsline {subsection}{\numberline {7.2}pmx}{8} -\contentsline {section}{\numberline {8}Conclusion}{9} -\contentsline {subsection}{\numberline {8.1}Next Tasks}{9} -\contentsline {section}{\numberline {A}Scrum Board Images}{10} -\contentsline {section}{\numberline {B}Meeting Minutes}{12} +\contentsline {section}{\numberline {8}Conclusion}{8} +\contentsline {subsection}{\numberline {8.1}Next Tasks}{8} +\contentsline {section}{\numberline {A}Scrum Board Images}{9} +\contentsline {section}{\numberline {B}Meeting Minutes}{11} diff --git a/report/deliverable-3/preamble.tex b/report/deliverable-3/preamble.tex index 14787a9..94f9559 100644 --- a/report/deliverable-3/preamble.tex +++ b/report/deliverable-3/preamble.tex @@ -1,4 +1,4 @@ -\documentclass{article} + \usepackage[margin=1in]{geometry} \usepackage{a4wide} diff --git a/report/deliverable-3/texts/aims.tex b/report/deliverable-3/texts/aims.tex index e1da3ee..77b5e9e 100644 --- a/report/deliverable-3/texts/aims.tex +++ b/report/deliverable-3/texts/aims.tex @@ -1,7 +1,7 @@ -\section{Aims for submission 2} -From our first submission, we now had a working server that allowed a user to access our own mock user interface to log in and access data based on their level of authorisation. Following this we set up a meeting to lay out goals for ourselves that would act as requirements for the second submission. +\section{Aims for Final Submission} +As we already had most of the basic implementation working since our second submission, our main task for the final deadline was resolving numerous issues, extending the test coverage and completing file conversion. Several meetings were organised between groups to check the compatibility between our back-end system and HCI and machine-learning groups. \begin{description} - \item[Define Specific Protocol] Now that we had a working server, we next wanted to define specific protocol in order to demo our progress using work from another Junior Honours HCI groups. + \item[Extend Test Coverage] Verification and validation of our server's functionality became the focus of our last submission. \item[Manage Filetype Conversions] A main part of this submission was creating a file converter for all the required file types that would be needed. \item[Testing] As our code was getting more complicated we wanted to make sure that extensive testing was implemented to create a more secure and consistent system. \end{description} diff --git a/report/deliverable-3/texts/testing.tex b/report/deliverable-3/texts/testing.tex index e3f709b..6eb94f0 100644 --- a/report/deliverable-3/texts/testing.tex +++ b/report/deliverable-3/texts/testing.tex @@ -1,15 +1,2 @@ \section{Testing} -Tests do not currently run on the gitlab server, as the postgres integration with the docker gitlab-ci is still missing. This means any tests run automatically when pushing will fail. \par -When running integration tests locally, please make sure the postgres server is up and running on localhost. -\subsection{Structure} -Testing files were restructured for a more organised and professional approach. All test files end in ``*.\(<\)context\(>\).test.ts'' and were moved to the ``test'' directory. At this moment, ``\(<\)context\(>\)'' includes ``unit'' and ``routes''. Further, they were categorised into \textit{integration} and \textit{unit} tests and moved into corresponding sub-directories. \par -Apart from making test files easier to find, this new structure also allowed us to run specific tests independently to isolate failures and quickly rerun individual tests. For example \texttt{yarn test:routes:auth} runs all authentication tests. -\subsection{Integration Testing} -\texttt{yarn test:routes} -This category of tests targeted the interplay of different server components as it tested server endpoints (routes) rather than internal functions. We aimed to test all routes for responses of success, and various degrees of failure. \par -E.g. \textbf{``auth.routes.test.ts''} tested the authentication middle-ware, checking existing users could log in only with correct usernames, passwords and reauthentication tokens. During our later meetings, we realised that security is a key-component of medical systems, and requires further much more in-depth testing to guarantee safety of patient data. \par -\textbf{``protocol.routes.test.ts''} aims to cover all endpoints specified in the agreed protocol by using the \textit{mocha-each} npm module. This allowed us to write few mocha testing functions iterating over the long list of endpoints, checking HTTP responses to fit the JSON response templates to conform to the protocol. This form of testing is still incomplete. -\subsection{Unit Testing} -\texttt{yarn test:unit} -The main motivation for this category of tests was to find bugs early on without having to run the whole server. This saves time and uncovers new code breaking old functionality. We also found that unit tests improved the design process by forcing implementation of code that is testable. Furthermore, unit tests were often used as a form of documentation, as it aided in understanding how code of other team members worked and could be used. \par -We decided that each team-member was responsible for creating the unit tests for their code. Unfortunately the number and coverage of unit tests is still quite low. This may be the result of prioritising functionality over bug-resilience and test-driven development. +The test-suite for our project had some major work done since the last submission, allowing tests to run on the Gitlab server as well as addressing bugs in the test-suite and implementation. \ No newline at end of file diff --git a/report/deliverable-3/title.tex b/report/deliverable-3/title.tex index 4406ef6..2303625 100644 --- a/report/deliverable-3/title.tex +++ b/report/deliverable-3/title.tex @@ -1,4 +1,4 @@ -\title{Report \\ Juniour Honours Project \\[0.5ex] Submission 2} +\title{Report \\ Juniour Honours Project \\[0.5ex] Final Submission} \author{Hafeez Abdul-Rehaman \\[1ex] Johannes Weck \\[1ex] Josh Lee \\[1ex] Calum Duff \\[2ex] Tom Harley} \date{\today} -- cgit v1.2.1 From db29fcee3e0b8e0d6b6db4e98e1cd79e089f3210 Mon Sep 17 00:00:00 2001 From: jw255 Date: Fri, 20 Apr 2018 19:41:43 +0100 Subject: added section completed-work --- report/deliverable-3/main.synctex.gz | Bin 108397 -> 108528 bytes report/deliverable-3/main.tex | 1 + report/deliverable-3/main.toc | 57 ++++++++++++++++++----------------- report/deliverable-3/preamble.tex | 10 ------ report/deliverable-3/texts/aims.tex | 4 +-- report/deliverable-3/texts/scrum.tex | 5 ++- report/deliverable-3/texts/work.tex | 9 ++++++ 7 files changed, 43 insertions(+), 43 deletions(-) create mode 100644 report/deliverable-3/texts/work.tex diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz index 8fdb5ed..fbb582f 100644 Binary files a/report/deliverable-3/main.synctex.gz and b/report/deliverable-3/main.synctex.gz differ diff --git a/report/deliverable-3/main.tex b/report/deliverable-3/main.tex index 1c7b5db..01defe0 100644 --- a/report/deliverable-3/main.tex +++ b/report/deliverable-3/main.tex @@ -25,6 +25,7 @@ \newpage \input{texts/aims} + \input{texts/work} \input{texts/scrum} \input{texts/conversion} % \input{texts/protocol} diff --git a/report/deliverable-3/main.toc b/report/deliverable-3/main.toc index 0fee9a3..7462d7d 100644 --- a/report/deliverable-3/main.toc +++ b/report/deliverable-3/main.toc @@ -1,31 +1,32 @@ \contentsline {section}{\numberline {1}Aims for Final Submission}{2} -\contentsline {section}{\numberline {2}Continued use of Scrum}{2} -\contentsline {subsection}{\numberline {2.1}Sprints}{2} -\contentsline {subsection}{\numberline {2.2}Scrum board}{2} -\contentsline {subsection}{\numberline {2.3}Meetings}{3} -\contentsline {section}{\numberline {3}File Conversion}{3} -\contentsline {subsection}{\numberline {3.1}Dealing with Images}{3} -\contentsline {subsubsection}{\numberline {3.1.1}Extraction of Zeiss Within `C'}{4} -\contentsline {subsubsection}{\numberline {3.1.2}Converting Extracted Files}{4} -\contentsline {subsubsection}{\numberline {3.1.3}Stitching Base Tiles}{4} -\contentsline {subsubsection}{\numberline {3.1.4}Building Up Hierarchy of Zoom Levels}{5} -\contentsline {subsection}{\numberline {3.2}Leica \& Other Formats}{5} -\contentsline {subsection}{\numberline {3.3}Non image formats (\texttt {.csv} etc.)}{5} -\contentsline {section}{\numberline {4}Logging}{6} -\contentsline {subsection}{\numberline {4.1}Standard Logging}{6} -\contentsline {subsection}{\numberline {4.2}SQL Query Logging}{6} -\contentsline {subsection}{\numberline {4.3}Motivation}{6} -\contentsline {section}{\numberline {5}Process Management and Deployment}{6} -\contentsline {subsection}{\numberline {5.1}Process Manager Selection}{6} -\contentsline {subsection}{\numberline {5.2}pm2 and KeyMetrics}{6} -\contentsline {subsection}{\numberline {5.3}Process Limitations}{7} -\contentsline {subsection}{\numberline {5.4}Heroku Hosting}{7} -\contentsline {subsection}{\numberline {5.5}External System Hosting}{7} -\contentsline {section}{\numberline {6}Testing}{7} -\contentsline {section}{\numberline {7}Type Enforcement}{7} -\contentsline {subsection}{\numberline {7.1}mocha-each}{8} -\contentsline {subsection}{\numberline {7.2}pmx}{8} -\contentsline {section}{\numberline {8}Conclusion}{8} -\contentsline {subsection}{\numberline {8.1}Next Tasks}{8} +\contentsline {section}{\numberline {2}Completed Work}{2} +\contentsline {section}{\numberline {3}Continued use of Scrum}{2} +\contentsline {subsection}{\numberline {3.1}Sprints}{2} +\contentsline {subsection}{\numberline {3.2}Scrum board}{3} +\contentsline {subsection}{\numberline {3.3}Meetings}{3} +\contentsline {section}{\numberline {4}File Conversion}{3} +\contentsline {subsection}{\numberline {4.1}Dealing with Images}{3} +\contentsline {subsubsection}{\numberline {4.1.1}Extraction of Zeiss Within `C'}{4} +\contentsline {subsubsection}{\numberline {4.1.2}Converting Extracted Files}{4} +\contentsline {subsubsection}{\numberline {4.1.3}Stitching Base Tiles}{5} +\contentsline {subsubsection}{\numberline {4.1.4}Building Up Hierarchy of Zoom Levels}{5} +\contentsline {subsection}{\numberline {4.2}Leica \& Other Formats}{5} +\contentsline {subsection}{\numberline {4.3}Non image formats (\texttt {.csv} etc.)}{5} +\contentsline {section}{\numberline {5}Logging}{6} +\contentsline {subsection}{\numberline {5.1}Standard Logging}{6} +\contentsline {subsection}{\numberline {5.2}SQL Query Logging}{6} +\contentsline {subsection}{\numberline {5.3}Motivation}{6} +\contentsline {section}{\numberline {6}Process Management and Deployment}{6} +\contentsline {subsection}{\numberline {6.1}Process Manager Selection}{6} +\contentsline {subsection}{\numberline {6.2}pm2 and KeyMetrics}{7} +\contentsline {subsection}{\numberline {6.3}Process Limitations}{7} +\contentsline {subsection}{\numberline {6.4}Heroku Hosting}{7} +\contentsline {subsection}{\numberline {6.5}External System Hosting}{7} +\contentsline {section}{\numberline {7}Testing}{8} +\contentsline {section}{\numberline {8}Type Enforcement}{8} +\contentsline {subsection}{\numberline {8.1}mocha-each}{8} +\contentsline {subsection}{\numberline {8.2}pmx}{8} +\contentsline {section}{\numberline {9}Conclusion}{8} +\contentsline {subsection}{\numberline {9.1}Next Tasks}{8} \contentsline {section}{\numberline {A}Scrum Board Images}{9} \contentsline {section}{\numberline {B}Meeting Minutes}{11} diff --git a/report/deliverable-3/preamble.tex b/report/deliverable-3/preamble.tex index 94f9559..b28b04f 100644 --- a/report/deliverable-3/preamble.tex +++ b/report/deliverable-3/preamble.tex @@ -1,13 +1,3 @@ -\usepackage[margin=1in]{geometry} -\usepackage{a4wide} -\usepackage{graphicx} -\graphicspath{{./graphics/}} - -\usepackage{float} -\usepackage{listings} -\usepackage{cite} - -\def\file{\texttt} diff --git a/report/deliverable-3/texts/aims.tex b/report/deliverable-3/texts/aims.tex index 77b5e9e..3543313 100644 --- a/report/deliverable-3/texts/aims.tex +++ b/report/deliverable-3/texts/aims.tex @@ -2,6 +2,6 @@ As we already had most of the basic implementation working since our second submission, our main task for the final deadline was resolving numerous issues, extending the test coverage and completing file conversion. Several meetings were organised between groups to check the compatibility between our back-end system and HCI and machine-learning groups. \begin{description} \item[Extend Test Coverage] Verification and validation of our server's functionality became the focus of our last submission. - \item[Manage Filetype Conversions] A main part of this submission was creating a file converter for all the required file types that would be needed. - \item[Testing] As our code was getting more complicated we wanted to make sure that extensive testing was implemented to create a more secure and consistent system. + \item[File Upload, Download and Conversion] One of the last remaining tasks for this submission was implementing the serving of files through our server. + \item[Intra-group Collaboration] The key to ensuring the success of our system was testing the compatibility of our server with the work of other groups. \end{description} diff --git a/report/deliverable-3/texts/scrum.tex b/report/deliverable-3/texts/scrum.tex index ca724c8..2ffc397 100644 --- a/report/deliverable-3/texts/scrum.tex +++ b/report/deliverable-3/texts/scrum.tex @@ -1,5 +1,5 @@ \section{Continued use of Scrum} -The scrum process was continued as we found this very useful in terms of clearly setting out tasks for each member and managing the progress of the implementation. One of the changes that was made for this sprint was the change in roles between team members. The change in responsibility allows team members to complete new and different jobs. In general the size and the time taken of each individual task was a lot more varied when comparing to the last submission, however, there were certain tasks which were larger in terms of hours put in. These large tasks included creating a logger system and a file converter. +Group work, especially pair-programming was very important to bring the individual code contributions together. However, the hours of work time spent on the last submission were not distributed as evenly as was the case for the previous submissions as the number of hours increased exponentially during the last 2 weeks before the deadline. \subsection{Sprints} \begin{figure}[h] @@ -7,8 +7,7 @@ The scrum process was continued as we found this very useful in terms of clearly \includegraphics[width=0.6\textwidth]{burndown} \caption{A Burndown Chart for the past 14 days.}\label{fig:burn} \end{figure} - -As a team, it was decided that there would only be a single sprint, up until the next point of submission. This was because of the short time period, enough for only a two week sprint. In addition to this, the sprint assessment process was completed more often to ensure that as a team time was managed well and sufficient progress was being made. All the tasks that was set for this sprint were completed within the required time frame. +The short time period of 2 weeks meant that we decided to have only 1 sprint and no more role-rotations until the final deadline. During these 2 weeks we met up almost every day to discuss individual task assignments, asses our sprint progress and work on tasks jointly. Although the tasks identified from the initial specifications were not completed to their entirety as discussed earlier, all feasible work was completed in time and progress was made throughout the time period of the sprint. \subsection{Scrum board} Again, the scrum board was used to outline and track the completion of each task. The same whiteboard in the John Honey main computer lab was used in order to maintain consistency. This gave a clear visual representation of the objectives. During the sprint, the main jobs required for completion were to further enhance the testing unit to increase its coverage across the implemented systems, implement a simple file converter and introduce a logging system for the server. Much experience was gained from completing previous sprints and so using this experience we were better equipped to handle larger tasks. Examples of the board in use can be found in Appendix \ref{app:board}. diff --git a/report/deliverable-3/texts/work.tex b/report/deliverable-3/texts/work.tex new file mode 100644 index 0000000..41bd13b --- /dev/null +++ b/report/deliverable-3/texts/work.tex @@ -0,0 +1,9 @@ +\section{Completed Work} +Looking back on the tasks set out from the initial specifications we are very satisfied with the amount of work completed and the percentage of the user stories covered in our final submission. +\begin{description} +\item[Web-based application] We used NodeJS and typescript to deploy our server to the school host servers, where it is accessible both from within and outside the university network. +\item[Conceptual structures for file, project and user management] The data models for these items developed into very sophisticated objects - containing hierarchies, permission groups, project contributors and much more. +\item[Files may be uploaded to specific projects] Files can only be associated to a specific project. Folder hierarchies are stored on the database, while data is stored in the file-system. +\item[Allow conversion of images and tabular data] Our current system allows fluent transition between czi input files and tiled png output *todo*. Tabular data is handled in csv format, giving the server a good understanding of the data. +\item[Robustness to user input] A reasonable attempt was made to catch out invalid input and close collaboration with the HCI groups ensured a distribution of responsibility for the preservation of dependencies and cleaning of user input. +\end{description} \ No newline at end of file -- cgit v1.2.1 From 2bcb7fb53ec34718e7d75d215009f112c62ffa66 Mon Sep 17 00:00:00 2001 From: jw255 Date: Fri, 20 Apr 2018 21:56:18 +0100 Subject: added section completed-work --- report/deliverable-3/graphics/scrum.jpg | Bin 1829499 -> 663766 bytes report/deliverable-3/graphics/scrum.jpg~ | Bin 0 -> 519638 bytes report/deliverable-3/graphics/scrum2.jpg | Bin 1746169 -> 0 bytes report/deliverable-3/graphics/scrum3.jpg | Bin 1830134 -> 531297 bytes report/deliverable-3/graphics/scrum4.jpg | Bin 164302 -> 0 bytes report/deliverable-3/graphics/scrum5.jpg | Bin 152855 -> 0 bytes report/deliverable-3/graphics/srcum2.jpg | Bin 0 -> 512649 bytes report/deliverable-3/main.synctex.gz | Bin 108528 -> 113785 bytes report/deliverable-3/main.toc | 26 +++++++++++++------------- report/deliverable-3/texts/work.tex | 7 +++++-- 10 files changed, 18 insertions(+), 15 deletions(-) create mode 100644 report/deliverable-3/graphics/scrum.jpg~ delete mode 100644 report/deliverable-3/graphics/scrum2.jpg delete mode 100644 report/deliverable-3/graphics/scrum4.jpg delete mode 100644 report/deliverable-3/graphics/scrum5.jpg create mode 100644 report/deliverable-3/graphics/srcum2.jpg diff --git a/report/deliverable-3/graphics/scrum.jpg b/report/deliverable-3/graphics/scrum.jpg index 4b5c911..aa3b058 100644 Binary files a/report/deliverable-3/graphics/scrum.jpg and b/report/deliverable-3/graphics/scrum.jpg differ diff --git a/report/deliverable-3/graphics/scrum.jpg~ b/report/deliverable-3/graphics/scrum.jpg~ new file mode 100644 index 0000000..21b3226 Binary files /dev/null and b/report/deliverable-3/graphics/scrum.jpg~ differ diff --git a/report/deliverable-3/graphics/scrum2.jpg b/report/deliverable-3/graphics/scrum2.jpg deleted file mode 100644 index 231cf1f..0000000 Binary files a/report/deliverable-3/graphics/scrum2.jpg and /dev/null differ diff --git a/report/deliverable-3/graphics/scrum3.jpg b/report/deliverable-3/graphics/scrum3.jpg index 012e9b3..7b42e9b 100644 Binary files a/report/deliverable-3/graphics/scrum3.jpg and b/report/deliverable-3/graphics/scrum3.jpg differ diff --git a/report/deliverable-3/graphics/scrum4.jpg b/report/deliverable-3/graphics/scrum4.jpg deleted file mode 100644 index ab1f7a5..0000000 Binary files a/report/deliverable-3/graphics/scrum4.jpg and /dev/null differ diff --git a/report/deliverable-3/graphics/scrum5.jpg b/report/deliverable-3/graphics/scrum5.jpg deleted file mode 100644 index e79e828..0000000 Binary files a/report/deliverable-3/graphics/scrum5.jpg and /dev/null differ diff --git a/report/deliverable-3/graphics/srcum2.jpg b/report/deliverable-3/graphics/srcum2.jpg new file mode 100644 index 0000000..7cd31ae Binary files /dev/null and b/report/deliverable-3/graphics/srcum2.jpg differ diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz index fbb582f..cedbd3f 100644 Binary files a/report/deliverable-3/main.synctex.gz and b/report/deliverable-3/main.synctex.gz differ diff --git a/report/deliverable-3/main.toc b/report/deliverable-3/main.toc index 7462d7d..ac2c497 100644 --- a/report/deliverable-3/main.toc +++ b/report/deliverable-3/main.toc @@ -1,32 +1,32 @@ \contentsline {section}{\numberline {1}Aims for Final Submission}{2} \contentsline {section}{\numberline {2}Completed Work}{2} \contentsline {section}{\numberline {3}Continued use of Scrum}{2} -\contentsline {subsection}{\numberline {3.1}Sprints}{2} +\contentsline {subsection}{\numberline {3.1}Sprints}{3} \contentsline {subsection}{\numberline {3.2}Scrum board}{3} \contentsline {subsection}{\numberline {3.3}Meetings}{3} \contentsline {section}{\numberline {4}File Conversion}{3} -\contentsline {subsection}{\numberline {4.1}Dealing with Images}{3} +\contentsline {subsection}{\numberline {4.1}Dealing with Images}{4} \contentsline {subsubsection}{\numberline {4.1.1}Extraction of Zeiss Within `C'}{4} \contentsline {subsubsection}{\numberline {4.1.2}Converting Extracted Files}{4} \contentsline {subsubsection}{\numberline {4.1.3}Stitching Base Tiles}{5} \contentsline {subsubsection}{\numberline {4.1.4}Building Up Hierarchy of Zoom Levels}{5} -\contentsline {subsection}{\numberline {4.2}Leica \& Other Formats}{5} -\contentsline {subsection}{\numberline {4.3}Non image formats (\texttt {.csv} etc.)}{5} +\contentsline {subsection}{\numberline {4.2}Leica \& Other Formats}{6} +\contentsline {subsection}{\numberline {4.3}Non image formats (\texttt {.csv} etc.)}{6} \contentsline {section}{\numberline {5}Logging}{6} \contentsline {subsection}{\numberline {5.1}Standard Logging}{6} \contentsline {subsection}{\numberline {5.2}SQL Query Logging}{6} -\contentsline {subsection}{\numberline {5.3}Motivation}{6} -\contentsline {section}{\numberline {6}Process Management and Deployment}{6} -\contentsline {subsection}{\numberline {6.1}Process Manager Selection}{6} +\contentsline {subsection}{\numberline {5.3}Motivation}{7} +\contentsline {section}{\numberline {6}Process Management and Deployment}{7} +\contentsline {subsection}{\numberline {6.1}Process Manager Selection}{7} \contentsline {subsection}{\numberline {6.2}pm2 and KeyMetrics}{7} \contentsline {subsection}{\numberline {6.3}Process Limitations}{7} -\contentsline {subsection}{\numberline {6.4}Heroku Hosting}{7} -\contentsline {subsection}{\numberline {6.5}External System Hosting}{7} +\contentsline {subsection}{\numberline {6.4}Heroku Hosting}{8} +\contentsline {subsection}{\numberline {6.5}External System Hosting}{8} \contentsline {section}{\numberline {7}Testing}{8} \contentsline {section}{\numberline {8}Type Enforcement}{8} \contentsline {subsection}{\numberline {8.1}mocha-each}{8} \contentsline {subsection}{\numberline {8.2}pmx}{8} -\contentsline {section}{\numberline {9}Conclusion}{8} -\contentsline {subsection}{\numberline {9.1}Next Tasks}{8} -\contentsline {section}{\numberline {A}Scrum Board Images}{9} -\contentsline {section}{\numberline {B}Meeting Minutes}{11} +\contentsline {section}{\numberline {9}Conclusion}{9} +\contentsline {subsection}{\numberline {9.1}Next Tasks}{9} +\contentsline {section}{\numberline {A}Scrum Board Images}{10} +\contentsline {section}{\numberline {B}Meeting Minutes}{12} diff --git a/report/deliverable-3/texts/work.tex b/report/deliverable-3/texts/work.tex index 41bd13b..6d8d9af 100644 --- a/report/deliverable-3/texts/work.tex +++ b/report/deliverable-3/texts/work.tex @@ -1,9 +1,12 @@ \section{Completed Work} -Looking back on the tasks set out from the initial specifications we are very satisfied with the amount of work completed and the percentage of the user stories covered in our final submission. +Looking back on the tasks set out from the initial specifications we are very satisfied with the amount of work completed and the percentage of the user stories covered in our final submission. The following points are summaries from the specifications supplied by the school and the specifications decided by the student body. + \begin{description} \item[Web-based application] We used NodeJS and typescript to deploy our server to the school host servers, where it is accessible both from within and outside the university network. -\item[Conceptual structures for file, project and user management] The data models for these items developed into very sophisticated objects - containing hierarchies, permission groups, project contributors and much more. +\item[Conceptual structures for file, project and user management] The data models for these items developed into very sophisticated objects - containing hierarchies, permission groups, project contributors and much more. A mode of user authentication is provided using oauth tokens. \item[Files may be uploaded to specific projects] Files can only be associated to a specific project. Folder hierarchies are stored on the database, while data is stored in the file-system. +\item[Files upload should be agnostic of file type] The server does not discriminate files based on type. All files have associated meta-data stored in a database, which contains information like file-type. \item[Allow conversion of images and tabular data] Our current system allows fluent transition between czi input files and tiled png output *todo*. Tabular data is handled in csv format, giving the server a good understanding of the data. \item[Robustness to user input] A reasonable attempt was made to catch out invalid input and close collaboration with the HCI groups ensured a distribution of responsibility for the preservation of dependencies and cleaning of user input. +\item[Ensure compatibility between groups] A common api was decided by the student body to ensure seamless communication between systems. As part of our testing we integrated with several other HCI and ML groups. \end{description} \ No newline at end of file -- cgit v1.2.1 From b0798c405d46b5df41fce2029b3511e9c988057b Mon Sep 17 00:00:00 2001 From: jw255 Date: Fri, 20 Apr 2018 23:01:39 +0100 Subject: work on scrum --- report/deliverable-3/appendix/scrumboard.tex | 2 +- report/deliverable-3/graphics/scrum.jpg~ | Bin 519638 -> 0 bytes report/deliverable-3/graphics/scrum2.jpg | Bin 0 -> 512649 bytes report/deliverable-3/graphics/scrum3.jpg | Bin 531297 -> 754649 bytes report/deliverable-3/graphics/srcum2.jpg | Bin 512649 -> 0 bytes report/deliverable-3/main.synctex.gz | Bin 113785 -> 110342 bytes report/deliverable-3/main.toc | 17 ++++++++--------- report/deliverable-3/texts/scrum.tex | 8 ++------ 8 files changed, 11 insertions(+), 16 deletions(-) delete mode 100644 report/deliverable-3/graphics/scrum.jpg~ create mode 100644 report/deliverable-3/graphics/scrum2.jpg delete mode 100644 report/deliverable-3/graphics/srcum2.jpg diff --git a/report/deliverable-3/appendix/scrumboard.tex b/report/deliverable-3/appendix/scrumboard.tex index e868278..acb531c 100644 --- a/report/deliverable-3/appendix/scrumboard.tex +++ b/report/deliverable-3/appendix/scrumboard.tex @@ -3,6 +3,6 @@ { \centering \includegraphics[width=\textwidth]{graphics/scrum.jpg} +\includegraphics[width=\textwidth]{graphics/scrum2.jpg} \includegraphics[width=\textwidth]{graphics/scrum3.jpg} -\includegraphics[width=\textwidth]{graphics/scrum4.jpg} } diff --git a/report/deliverable-3/graphics/scrum.jpg~ b/report/deliverable-3/graphics/scrum.jpg~ deleted file mode 100644 index 21b3226..0000000 Binary files a/report/deliverable-3/graphics/scrum.jpg~ and /dev/null differ diff --git a/report/deliverable-3/graphics/scrum2.jpg b/report/deliverable-3/graphics/scrum2.jpg new file mode 100644 index 0000000..7cd31ae Binary files /dev/null and b/report/deliverable-3/graphics/scrum2.jpg differ diff --git a/report/deliverable-3/graphics/scrum3.jpg b/report/deliverable-3/graphics/scrum3.jpg index 7b42e9b..d8b622f 100644 Binary files a/report/deliverable-3/graphics/scrum3.jpg and b/report/deliverable-3/graphics/scrum3.jpg differ diff --git a/report/deliverable-3/graphics/srcum2.jpg b/report/deliverable-3/graphics/srcum2.jpg deleted file mode 100644 index 7cd31ae..0000000 Binary files a/report/deliverable-3/graphics/srcum2.jpg and /dev/null differ diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz index cedbd3f..91b8852 100644 Binary files a/report/deliverable-3/main.synctex.gz and b/report/deliverable-3/main.synctex.gz differ diff --git a/report/deliverable-3/main.toc b/report/deliverable-3/main.toc index ac2c497..477fe43 100644 --- a/report/deliverable-3/main.toc +++ b/report/deliverable-3/main.toc @@ -3,30 +3,29 @@ \contentsline {section}{\numberline {3}Continued use of Scrum}{2} \contentsline {subsection}{\numberline {3.1}Sprints}{3} \contentsline {subsection}{\numberline {3.2}Scrum board}{3} -\contentsline {subsection}{\numberline {3.3}Meetings}{3} \contentsline {section}{\numberline {4}File Conversion}{3} -\contentsline {subsection}{\numberline {4.1}Dealing with Images}{4} +\contentsline {subsection}{\numberline {4.1}Dealing with Images}{3} \contentsline {subsubsection}{\numberline {4.1.1}Extraction of Zeiss Within `C'}{4} \contentsline {subsubsection}{\numberline {4.1.2}Converting Extracted Files}{4} \contentsline {subsubsection}{\numberline {4.1.3}Stitching Base Tiles}{5} \contentsline {subsubsection}{\numberline {4.1.4}Building Up Hierarchy of Zoom Levels}{5} -\contentsline {subsection}{\numberline {4.2}Leica \& Other Formats}{6} +\contentsline {subsection}{\numberline {4.2}Leica \& Other Formats}{5} \contentsline {subsection}{\numberline {4.3}Non image formats (\texttt {.csv} etc.)}{6} \contentsline {section}{\numberline {5}Logging}{6} \contentsline {subsection}{\numberline {5.1}Standard Logging}{6} \contentsline {subsection}{\numberline {5.2}SQL Query Logging}{6} -\contentsline {subsection}{\numberline {5.3}Motivation}{7} -\contentsline {section}{\numberline {6}Process Management and Deployment}{7} +\contentsline {subsection}{\numberline {5.3}Motivation}{6} +\contentsline {section}{\numberline {6}Process Management and Deployment}{6} \contentsline {subsection}{\numberline {6.1}Process Manager Selection}{7} \contentsline {subsection}{\numberline {6.2}pm2 and KeyMetrics}{7} \contentsline {subsection}{\numberline {6.3}Process Limitations}{7} -\contentsline {subsection}{\numberline {6.4}Heroku Hosting}{8} -\contentsline {subsection}{\numberline {6.5}External System Hosting}{8} +\contentsline {subsection}{\numberline {6.4}Heroku Hosting}{7} +\contentsline {subsection}{\numberline {6.5}External System Hosting}{7} \contentsline {section}{\numberline {7}Testing}{8} \contentsline {section}{\numberline {8}Type Enforcement}{8} \contentsline {subsection}{\numberline {8.1}mocha-each}{8} \contentsline {subsection}{\numberline {8.2}pmx}{8} -\contentsline {section}{\numberline {9}Conclusion}{9} -\contentsline {subsection}{\numberline {9.1}Next Tasks}{9} +\contentsline {section}{\numberline {9}Conclusion}{8} +\contentsline {subsection}{\numberline {9.1}Next Tasks}{8} \contentsline {section}{\numberline {A}Scrum Board Images}{10} \contentsline {section}{\numberline {B}Meeting Minutes}{12} diff --git a/report/deliverable-3/texts/scrum.tex b/report/deliverable-3/texts/scrum.tex index 2ffc397..88c4663 100644 --- a/report/deliverable-3/texts/scrum.tex +++ b/report/deliverable-3/texts/scrum.tex @@ -7,10 +7,6 @@ Group work, especially pair-programming was very important to bring the individu \includegraphics[width=0.6\textwidth]{burndown} \caption{A Burndown Chart for the past 14 days.}\label{fig:burn} \end{figure} -The short time period of 2 weeks meant that we decided to have only 1 sprint and no more role-rotations until the final deadline. During these 2 weeks we met up almost every day to discuss individual task assignments, asses our sprint progress and work on tasks jointly. Although the tasks identified from the initial specifications were not completed to their entirety as discussed earlier, all feasible work was completed in time and progress was made throughout the time period of the sprint. +The short time period of 3 weeks meant that we decided to have only 1 sprint and no more role-rotations until the final deadline. During these 3 weeks we met up often to discuss individual task assignments, asses our sprint progress and work on tasks jointly. Although the tasks identified from the initial specifications were not completed to their entirety as discussed earlier, all feasible work was completed in time and progress was made throughout the time period of the sprint. \subsection{Scrum board} -Again, the scrum board was used to outline and track the completion of each task. The same whiteboard in the John Honey main computer lab was used in order to maintain consistency. This gave a clear visual representation of the objectives. During the sprint, the main jobs required for completion were to further enhance the testing unit to increase its coverage across the implemented systems, implement a simple file converter and introduce a logging system for the server. Much experience was gained from completing previous sprints and so using this experience we were better equipped to handle larger tasks. Examples of the board in use can be found in Appendix \ref{app:board}. - -\subsection{Meetings} -Regular meetings were also held to discuss and evaluate progress. This was crucial in the scrum process and as working in a team to allow a point of communication between each member at the same point in time. An example of a major decision being made during the discussion was the change of language of the file converter implementation. It was decided that the more appropriate language to use would be C as there would more extensive libraries for this particular operation and would also have the advantage of greater efficiency. Multiple meetings were held during the most recent sprint to determine the tasks required for completion, to evaluate whether each task was completed and track progress in between. -The minutes for formal meetings are available in Appendix \ref{app:meet}. +Unfortunately our previous scrum board was demolished during the srping break, which meant that all user stories had to be redrawn. Appendix \ref{app:board} contains the state of the scrum board at 3 different states - the start of the sprint, the middle and near the deadline. A whiteboard in the John Honey main computer lab was used in order to maintain consistency. \ No newline at end of file -- cgit v1.2.1 From da8e2e65d7cd2e41db1ed67853c85f8c4d08a529 Mon Sep 17 00:00:00 2001 From: Hafeez Date: Fri, 20 Apr 2018 23:02:39 +0100 Subject: added burndown chart --- report/deliverable-3/graphics/burndown.png | Bin 21982 -> 22000 bytes report/deliverable-3/main.synctex.gz | Bin 113785 -> 113813 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/report/deliverable-3/graphics/burndown.png b/report/deliverable-3/graphics/burndown.png index f3ae71d..162691d 100644 Binary files a/report/deliverable-3/graphics/burndown.png and b/report/deliverable-3/graphics/burndown.png differ diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz index cedbd3f..ad9e920 100644 Binary files a/report/deliverable-3/main.synctex.gz and b/report/deliverable-3/main.synctex.gz differ -- cgit v1.2.1 From 0e486d5178e3a545f3f84273fd1e17354f9899b9 Mon Sep 17 00:00:00 2001 From: jw255 Date: Fri, 20 Apr 2018 23:15:51 +0100 Subject: structure --- report/deliverable-3/main.tex | 9 +---- report/deliverable-3/texts/files.tex | 1 + report/deliverable-3/texts/logging.tex | 38 ------------------ report/deliverable-3/texts/minutes.tex | 72 ---------------------------------- report/deliverable-3/texts/testing.tex | 4 +- report/deliverable-3/texts/typings.tex | 27 ------------- 6 files changed, 6 insertions(+), 145 deletions(-) create mode 100644 report/deliverable-3/texts/files.tex delete mode 100644 report/deliverable-3/texts/logging.tex delete mode 100644 report/deliverable-3/texts/minutes.tex delete mode 100644 report/deliverable-3/texts/typings.tex diff --git a/report/deliverable-3/main.tex b/report/deliverable-3/main.tex index 01defe0..0e78ea1 100644 --- a/report/deliverable-3/main.tex +++ b/report/deliverable-3/main.tex @@ -28,19 +28,14 @@ \input{texts/work} \input{texts/scrum} \input{texts/conversion} - % \input{texts/protocol} - % \input{texts/auth} - \input{texts/logging} - \input{texts/process-management} + \input{texts/files} \input{texts/testing} - \input{texts/typings} + \input{texts/process-management} \input{texts/conclusion} \appendix \newpage \input{appendix/scrumboard} - \newpage - \input{appendix/minutes} \clearpage diff --git a/report/deliverable-3/texts/files.tex b/report/deliverable-3/texts/files.tex new file mode 100644 index 0000000..c21bd38 --- /dev/null +++ b/report/deliverable-3/texts/files.tex @@ -0,0 +1 @@ +\section{File Management} \ No newline at end of file diff --git a/report/deliverable-3/texts/logging.tex b/report/deliverable-3/texts/logging.tex deleted file mode 100644 index d0a7255..0000000 --- a/report/deliverable-3/texts/logging.tex +++ /dev/null @@ -1,38 +0,0 @@ -\section{Logging} -Server logging has now been formalised: the functionality is imported into -a file and can then be used to log messages at the selection of urgencies -specified in Protocol BE01~\cite{protocol}. - -These outputs have many configuration options, which ideally will be -incorporated into a global configuration handler in future development. - -\subsection{Standard Logging} -By default, the standard logger logs to three places: -\begin{enumerate} - \item Colourised, human-readable messages are printed to the console. - Any error- or critical-level messages are printed through stderr. - \item More verbose JSON editions of messages are written to a basic - logfile. - \item Critical-level messages are additionally written to an extra - logfile. -\end{enumerate} - -\subsection{SQL Query Logging} -A separate logger has been designed for logging the output of -Sequelize~\cite{sequelize}. Since Protocol BE01 does not specify that they -should be retreivable, the output queries can be stored with less associated -metadata. In addition, Sequelize can output the total required time to -process the query, which is stored in the log for future use as profiling -data. - -\subsection{Motivation} -Since basic server functionality has been implemented, the errors produced -will likely be caused by difficult-to-debug problems, such as edge-cases or -data races. With a verbose and thorough logging system, these problems -should be much easier to detect and rectify. - -In addition, Protocol BE01~\cite{protocol} requires of the backend support -for receiving and storing logs from other services. The introduction of a -well-implemented logging system abstracts this from the common use-case of -logging while keeping powerful functionality of forwarding and fetching logs -available for when it is needed. diff --git a/report/deliverable-3/texts/minutes.tex b/report/deliverable-3/texts/minutes.tex deleted file mode 100644 index 55aab2a..0000000 --- a/report/deliverable-3/texts/minutes.tex +++ /dev/null @@ -1,72 +0,0 @@ -\begin{lstlisting} - -Group Project Meeting 1 post submission -Date: 12/02/18 -Topics: -Reassigning scrum roles -Creating next set of tasks -Task allocation - -Outcomes: -* Scrum: - * scrum master - Hafeez - * project owner - Calum - -*Tasks: - * Implementing endpoints - * Implementing file conversions - * Improving test coverage - * Writing tests for untested sections - * Connecting all middleware - * Decide on how to deal with errors - * Organising file-system - * Creating a Linter to maintain a consistent file structure - -Group Project Meeting 2 Pre-sprint -Date 15/02/18 -Topics: -Define user stories -Task allocation - -Outcomes: -* Sprint - * Week long sprint - * Meeting set for 22/02/18 - -Group Project Meeting 3 Post-Sprint -Date 22/02/18 -Topics: -Analysis of work -Next task assignment - -Outcomes: - -Group Project Meeting 4 -Date 24/02/18 -Topics: -Sprint aims -Sprint deadline - -Outcomes: - *Decided to hold a sprint now to leave time - before next submission to finish off all leftover work - -Group Project Meeting 5 -Date 03/03/18 -Topics -Analysis of work todo after sprint -Work needed to complete before deadline - - -Outcomes: - * Finishing off of the report - *Connecting work with another HCI group - *Finish testing - - - - - - - -\end{lstlisting} diff --git a/report/deliverable-3/texts/testing.tex b/report/deliverable-3/texts/testing.tex index 6eb94f0..6bc6411 100644 --- a/report/deliverable-3/texts/testing.tex +++ b/report/deliverable-3/texts/testing.tex @@ -1,2 +1,4 @@ \section{Testing} -The test-suite for our project had some major work done since the last submission, allowing tests to run on the Gitlab server as well as addressing bugs in the test-suite and implementation. \ No newline at end of file +The test-suite for our project had some major work done since the last submission, allowing tests to run on the Gitlab server as well as addressing bugs in the test-suite and implementation. +\subsection{Integration Testing} +\subsubsection{CORS} \ No newline at end of file diff --git a/report/deliverable-3/texts/typings.tex b/report/deliverable-3/texts/typings.tex deleted file mode 100644 index 36297b7..0000000 --- a/report/deliverable-3/texts/typings.tex +++ /dev/null @@ -1,27 +0,0 @@ -\section{Type Enforcement} -In order to run JavaScript code as TypeScript code, typings (usually -supplied in a \file{.d.ts}-extended file) are applied at compile-time to -make sense of the original source's variable types. For a couple of -packages that have been used in the submission, these typings are not -available, due to a lack of desirablilty --- the packages in question are -niche and as such see little use. - -\subsection{mocha-each} -One such package is \emph{mocha-each}, a utility package for compacting -Mocha tests for readability and classification~\cite{mocha-each}. Without -typings, this package cannot be used in TypeScript projects. Due to its -single-facet use, however, it was simple to design a custom -\file{.d.ts} file. With small edits to conform to -guidelines~\cite{@types}, typings for -mocha-test were contributed to the DefinitelyTyped types repository\footnote{% -https://github.com/DefinitelyTyped/DefinitelyTyped/% -tree/master/types/mocha-each}. - -\subsection{pmx} -The package pmx (as previously described in \S\ref{sec:pms}) is useful for -profiling. Similarly to mocha-each, however, it does not have supported typing. -Since this package covers a far wider range of functionality, and since said -functionality is very involved with sensitive run-time engine manipulation, -typings were written only for the functions being used by the team, and have -been kept in-house for their incompleteness. The files in question can be found -in \file{src/profiler}. -- cgit v1.2.1 From a671ec40cb3df87a2ce6452fd6455dae69b8c89e Mon Sep 17 00:00:00 2001 From: jw255 Date: Sat, 21 Apr 2018 01:17:24 +0100 Subject: added text on files --- report/deliverable-3/main.synctex.gz | Bin 0 -> 84024 bytes report/deliverable-3/main.toc | 34 ++++++++++++++++------------------ report/deliverable-3/texts/files.tex | 18 +++++++++++++++++- 3 files changed, 33 insertions(+), 19 deletions(-) create mode 100644 report/deliverable-3/main.synctex.gz diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz new file mode 100644 index 0000000..c8c75be Binary files /dev/null and b/report/deliverable-3/main.synctex.gz differ diff --git a/report/deliverable-3/main.toc b/report/deliverable-3/main.toc index 477fe43..573b497 100644 --- a/report/deliverable-3/main.toc +++ b/report/deliverable-3/main.toc @@ -11,21 +11,19 @@ \contentsline {subsubsection}{\numberline {4.1.4}Building Up Hierarchy of Zoom Levels}{5} \contentsline {subsection}{\numberline {4.2}Leica \& Other Formats}{5} \contentsline {subsection}{\numberline {4.3}Non image formats (\texttt {.csv} etc.)}{6} -\contentsline {section}{\numberline {5}Logging}{6} -\contentsline {subsection}{\numberline {5.1}Standard Logging}{6} -\contentsline {subsection}{\numberline {5.2}SQL Query Logging}{6} -\contentsline {subsection}{\numberline {5.3}Motivation}{6} -\contentsline {section}{\numberline {6}Process Management and Deployment}{6} -\contentsline {subsection}{\numberline {6.1}Process Manager Selection}{7} -\contentsline {subsection}{\numberline {6.2}pm2 and KeyMetrics}{7} -\contentsline {subsection}{\numberline {6.3}Process Limitations}{7} -\contentsline {subsection}{\numberline {6.4}Heroku Hosting}{7} -\contentsline {subsection}{\numberline {6.5}External System Hosting}{7} -\contentsline {section}{\numberline {7}Testing}{8} -\contentsline {section}{\numberline {8}Type Enforcement}{8} -\contentsline {subsection}{\numberline {8.1}mocha-each}{8} -\contentsline {subsection}{\numberline {8.2}pmx}{8} -\contentsline {section}{\numberline {9}Conclusion}{8} -\contentsline {subsection}{\numberline {9.1}Next Tasks}{8} -\contentsline {section}{\numberline {A}Scrum Board Images}{10} -\contentsline {section}{\numberline {B}Meeting Minutes}{12} +\contentsline {section}{\numberline {5}File Management}{6} +\contentsline {subsection}{\numberline {5.1}Directory Structure}{6} +\contentsline {subsection}{\numberline {5.2}File Upload}{6} +\contentsline {subsection}{\numberline {5.3}File Download}{6} +\contentsline {section}{\numberline {6}Testing}{6} +\contentsline {subsection}{\numberline {6.1}Integration Testing}{7} +\contentsline {subsubsection}{\numberline {6.1.1}CORS}{7} +\contentsline {section}{\numberline {7}Process Management and Deployment}{7} +\contentsline {subsection}{\numberline {7.1}Process Manager Selection}{7} +\contentsline {subsection}{\numberline {7.2}pm2 and KeyMetrics}{7} +\contentsline {subsection}{\numberline {7.3}Process Limitations}{7} +\contentsline {subsection}{\numberline {7.4}Heroku Hosting}{8} +\contentsline {subsection}{\numberline {7.5}External System Hosting}{8} +\contentsline {section}{\numberline {8}Conclusion}{8} +\contentsline {subsection}{\numberline {8.1}Next Tasks}{8} +\contentsline {section}{\numberline {A}Scrum Board Images}{9} diff --git a/report/deliverable-3/texts/files.tex b/report/deliverable-3/texts/files.tex index c21bd38..f6a407a 100644 --- a/report/deliverable-3/texts/files.tex +++ b/report/deliverable-3/texts/files.tex @@ -1 +1,17 @@ -\section{File Management} \ No newline at end of file +\section{File Management} +File handling was one of the last unimplemented parts of our server. Integration testing proved essential for ensuring full functionality according to the agreed protocol. File upload and download involved overcoming a range of challenges which arose as additional features were implemented. +\subsection{Directory Structure} +File storage on the server-side consists of two parts - storage of physical data on the file-system and storage of meta-data in the database. + +The directory structure inside projects consists on a purely conceptual level in the database, as directories are stored entirely as entities in postgres. On the file-system, files are stored in the folder ``files'' which contains a folder named after the project which contains folders named after the file-uuid. This last folder contains all the `views of that file as well as the original upload. The ``raw'' view contains the original data. If tabular data is uploaded, the server recognises this and will start conversion into the ``tabular '' view. + +The directory structure, although not obvious to users viewing files through a file-viewer on the server, is always enforced to connecting clients. + +\subsection{File Upload} +When uploading files to the server, a POST request may be issued to *endpoint* ensuring that the headers *headers* are set. Once this request arrives at the server the node library `multer' automatically saves the data to a temporary directory called ``files-temp''. + +Next a precondition function is called which parses the path from the request and attempts to find the file given the directory structure. Any part of the path that does not yet exist is created. At this stage the desired action is determined, as we allow for the copying, deleting, moving, truncating, overwriting and writing from an offset. Furthermore large files may be chunked, thus data is added incrementally to the file. The final chunk has the `final' parameter set to true, thus indicating that file-upload is complete. + +Once the file status is set to `final', which is done when the corresponding parameter is set on file-upload, file conversion is initiated. File conversion runs asynchronously separate from the node server. Once file conversion is done, the file status in the database will change to `ready'. + +\subsection{File Download} -- cgit v1.2.1 From b4c0ef25c63ef097b5f24d138896fc7aafbed702 Mon Sep 17 00:00:00 2001 From: jw255 Date: Sat, 21 Apr 2018 16:29:42 +0100 Subject: files + conclusion --- report/deliverable-3/main.synctex.gz | Bin 84024 -> 85283 bytes report/deliverable-3/main.tex | 1 + report/deliverable-3/main.toc | 2 +- report/deliverable-3/texts/conclusion.tex | 8 +++++--- report/deliverable-3/texts/contributions.tex | 7 +++++++ report/deliverable-3/texts/files.tex | 10 ++++++---- report/deliverable-3/texts/scrum.tex | 2 +- report/deliverable-3/texts/work.tex | 2 +- 8 files changed, 22 insertions(+), 10 deletions(-) create mode 100644 report/deliverable-3/texts/contributions.tex diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz index c8c75be..d6fcc0f 100644 Binary files a/report/deliverable-3/main.synctex.gz and b/report/deliverable-3/main.synctex.gz differ diff --git a/report/deliverable-3/main.tex b/report/deliverable-3/main.tex index 0e78ea1..b7bb1b5 100644 --- a/report/deliverable-3/main.tex +++ b/report/deliverable-3/main.tex @@ -32,6 +32,7 @@ \input{texts/testing} \input{texts/process-management} \input{texts/conclusion} + \input{texts/contributions} \appendix \newpage diff --git a/report/deliverable-3/main.toc b/report/deliverable-3/main.toc index 573b497..757c3a2 100644 --- a/report/deliverable-3/main.toc +++ b/report/deliverable-3/main.toc @@ -15,7 +15,7 @@ \contentsline {subsection}{\numberline {5.1}Directory Structure}{6} \contentsline {subsection}{\numberline {5.2}File Upload}{6} \contentsline {subsection}{\numberline {5.3}File Download}{6} -\contentsline {section}{\numberline {6}Testing}{6} +\contentsline {section}{\numberline {6}Testing}{7} \contentsline {subsection}{\numberline {6.1}Integration Testing}{7} \contentsline {subsubsection}{\numberline {6.1.1}CORS}{7} \contentsline {section}{\numberline {7}Process Management and Deployment}{7} diff --git a/report/deliverable-3/texts/conclusion.tex b/report/deliverable-3/texts/conclusion.tex index 0e40979..33c018a 100644 --- a/report/deliverable-3/texts/conclusion.tex +++ b/report/deliverable-3/texts/conclusion.tex @@ -1,5 +1,7 @@ \section{Conclusion} -As a group a lot of progress was made for this submission, we were proactive in setting out goals for ourselves and feel we are now well on track to produce an outstanding final hand in. Our continued use of scrum has helped keep workload consistent and effective right through to this submission and we hope to continue in this way. Scrum is essential in our progress as it helps to manage time and organise the team work and so this process will be used for the duration of the project. Having now combined our work with the HCI group we are looking forward to working with teams focused on machine learning to tie together all 3 sections of the application to create the desired system set out by the project owner. +As a group, we are very pleased with the process and outcome of this group project. Our final product consists of substantial contributions from all our team members. It was tested and integrated with the systems produced by ML and HCI groups, completes all of the tasks initially identified and the development relied heavily on our use of scrum. -\subsection{Next Tasks} -Viewing the system as a whole, substantial progress has been made in completing each required task whilst also managing time for each task appropriately. Looking further ahead, our next objectives will surround performance enhancing, further testing and finally completing the integration process with the rest of the system. The process for these will include a large amount of analysis on the working server, which include finding delays between certain requests and responses, measuring time taken for converting files and testing for bugs after integration. Another important aspect is the security of the application, and preventing bugs from leading to exploits which can be used for malicious use. This is particularly important within the medical industry as data confidentiality and integrity are apart of practitioners' policy. One method of testing for this task would be penetration testing, using a suite of tools to attack the application, which would determine any vulnerabilities that exist. \ No newline at end of file +For the final deadline we successfully combined all parts of the system into one final server, completing any remaining tasks which included file management, file conversion and testing. Our system was integrated both with our assigned ML and HCI groups, as well as with other groups, thus ensuring the compatibility of our contribution to the whole pathology system. + +\subsection{Future Development} +... diff --git a/report/deliverable-3/texts/contributions.tex b/report/deliverable-3/texts/contributions.tex new file mode 100644 index 0000000..bc448bb --- /dev/null +++ b/report/deliverable-3/texts/contributions.tex @@ -0,0 +1,7 @@ +\section{Individual Contributions} +\subsection{Tom Harley} +\subsection{Josh Lee} +\subsection{Calum Duff} +\subsection{Johannes Weck} +Throughout the development of our back-end server, I was responsible for thorough testing, which involved writing unit tests with mocha and chai, running integration tests through Postman as well as identifying and fixing bugs. During the last sprint I worked closely with Hafeez using pair-programming to resolve a range of issues flagged by the tests. Furthermore, I worked with Tom and Callum finalizing server-side file-management. +\subsection{Hafeez Abdul-Rehaman} diff --git a/report/deliverable-3/texts/files.tex b/report/deliverable-3/texts/files.tex index f6a407a..d77fc30 100644 --- a/report/deliverable-3/texts/files.tex +++ b/report/deliverable-3/texts/files.tex @@ -3,15 +3,17 @@ File handling was one of the last unimplemented parts of our server. Integration \subsection{Directory Structure} File storage on the server-side consists of two parts - storage of physical data on the file-system and storage of meta-data in the database. -The directory structure inside projects consists on a purely conceptual level in the database, as directories are stored entirely as entities in postgres. On the file-system, files are stored in the folder ``files'' which contains a folder named after the project which contains folders named after the file-uuid. This last folder contains all the `views of that file as well as the original upload. The ``raw'' view contains the original data. If tabular data is uploaded, the server recognises this and will start conversion into the ``tabular '' view. +The directory structure inside projects consists on a purely conceptual level in the database, as directories are stored entirely as entities in postgres. On the file-system, files are stored in the folder ``files'' which contains a folder named after the project which contains folders named after the file-uuid. This last folder contains all the `views of that file as well as the original upload. The ``raw'' view contains the original data. If tabular data is uploaded, for example, the server recognises this and will start conversion into the ``tabular '' view. -The directory structure, although not obvious to users viewing files through a file-viewer on the server, is always enforced to connecting clients. +The conceptual directory structure, although not obvious to system admins viewing files through a file-viewer on the server, is always enforced to clients connecting to the server endpoint. \subsection{File Upload} When uploading files to the server, a POST request may be issued to *endpoint* ensuring that the headers *headers* are set. Once this request arrives at the server the node library `multer' automatically saves the data to a temporary directory called ``files-temp''. -Next a precondition function is called which parses the path from the request and attempts to find the file given the directory structure. Any part of the path that does not yet exist is created. At this stage the desired action is determined, as we allow for the copying, deleting, moving, truncating, overwriting and writing from an offset. Furthermore large files may be chunked, thus data is added incrementally to the file. The final chunk has the `final' parameter set to true, thus indicating that file-upload is complete. +Next a function is called which parses the path from the request and attempts to find the file given the directory structure. Any part of the path that does not yet exist is created. At this stage the desired action is determined, as we allow for the copying, deleting, moving, truncating, overwriting and writing from an offset. Furthermore large files may be chunked, thus data is added incrementally to the file. The final chunk has the `final' parameter set to true, thus indicating that file-upload is complete. -Once the file status is set to `final', which is done when the corresponding parameter is set on file-upload, file conversion is initiated. File conversion runs asynchronously separate from the node server. Once file conversion is done, the file status in the database will change to `ready'. +Once the file status is set to `final', which is done when the corresponding parameter is set on file-upload, file conversion is initiated. File conversion runs asynchronously separate from the node server. Once file conversion is done, the file status in the database will change to `ready'. The file status may be reviewed by retrieving file meta-data. \subsection{File Download} + +To download files or file meta-data, a GET request may be issued to *endpoint* with parameters *params*. diff --git a/report/deliverable-3/texts/scrum.tex b/report/deliverable-3/texts/scrum.tex index 88c4663..8e2006c 100644 --- a/report/deliverable-3/texts/scrum.tex +++ b/report/deliverable-3/texts/scrum.tex @@ -9,4 +9,4 @@ Group work, especially pair-programming was very important to bring the individu \end{figure} The short time period of 3 weeks meant that we decided to have only 1 sprint and no more role-rotations until the final deadline. During these 3 weeks we met up often to discuss individual task assignments, asses our sprint progress and work on tasks jointly. Although the tasks identified from the initial specifications were not completed to their entirety as discussed earlier, all feasible work was completed in time and progress was made throughout the time period of the sprint. \subsection{Scrum board} -Unfortunately our previous scrum board was demolished during the srping break, which meant that all user stories had to be redrawn. Appendix \ref{app:board} contains the state of the scrum board at 3 different states - the start of the sprint, the middle and near the deadline. A whiteboard in the John Honey main computer lab was used in order to maintain consistency. \ No newline at end of file +Unfortunately our previous scrum board was demolished during the srping break, which meant that all user stories had to be redrawn. Appendix \ref{app:board} contains the state of the scrum board at 3 different times - the start of the sprint, the middle and near the deadline. A whiteboard in the John Honey main computer lab was used in order to maintain consistency. \ No newline at end of file diff --git a/report/deliverable-3/texts/work.tex b/report/deliverable-3/texts/work.tex index 6d8d9af..77b6dba 100644 --- a/report/deliverable-3/texts/work.tex +++ b/report/deliverable-3/texts/work.tex @@ -5,7 +5,7 @@ Looking back on the tasks set out from the initial specifications we are very sa \item[Web-based application] We used NodeJS and typescript to deploy our server to the school host servers, where it is accessible both from within and outside the university network. \item[Conceptual structures for file, project and user management] The data models for these items developed into very sophisticated objects - containing hierarchies, permission groups, project contributors and much more. A mode of user authentication is provided using oauth tokens. \item[Files may be uploaded to specific projects] Files can only be associated to a specific project. Folder hierarchies are stored on the database, while data is stored in the file-system. -\item[Files upload should be agnostic of file type] The server does not discriminate files based on type. All files have associated meta-data stored in a database, which contains information like file-type. +\item[Files upload should be agnostic of file type] The server does not discriminate files based on type. All files have associated meta-data stored in a database, which contains information like file-type. On the server, files and directories are identified by their uuid and filestypes are divided into the categories `tabular', `image' and `generic'. \item[Allow conversion of images and tabular data] Our current system allows fluent transition between czi input files and tiled png output *todo*. Tabular data is handled in csv format, giving the server a good understanding of the data. \item[Robustness to user input] A reasonable attempt was made to catch out invalid input and close collaboration with the HCI groups ensured a distribution of responsibility for the preservation of dependencies and cleaning of user input. \item[Ensure compatibility between groups] A common api was decided by the student body to ensure seamless communication between systems. As part of our testing we integrated with several other HCI and ML groups. -- cgit v1.2.1 From 1afa6be7f6293501475f2bd387df6fd314fd2702 Mon Sep 17 00:00:00 2001 From: Hafeez Date: Sat, 21 Apr 2018 20:09:52 +0100 Subject: added testing section for report --- report/deliverable-3/texts/testing.tex | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/report/deliverable-3/texts/testing.tex b/report/deliverable-3/texts/testing.tex index 6bc6411..5389a3c 100644 --- a/report/deliverable-3/texts/testing.tex +++ b/report/deliverable-3/texts/testing.tex @@ -1,4 +1,9 @@ \section{Testing} -The test-suite for our project had some major work done since the last submission, allowing tests to run on the Gitlab server as well as addressing bugs in the test-suite and implementation. +Testing was a key process in the development of the final product just as it was in previous submission. Testing was particular important to determine whether the final system meets the requirements initially set. As well as testing each module individually, further tests were done upon completing the system through integration with the front-end and machine learning systems. + +\subsection{Using Mocha and Postman} +The JavaScript framework Mocha was still used in the testing process for modules. The test-suite for our project had some major work done since the last submission, allowing tests to run on the Gitlab server as well as addressing bugs in the test-suite and implementation. Whilst also using Mocha for Unit tests, it was used to test the individual routes and their response whilst comparing them to a template. The same method was applied to test requests. This automation increased the efficiency of production, however, the small amount of routes to test allowed us to be more thorough by manually sending requests to the server using Postman. Postman is a API development tool which allows requests to be sent through an easily manageable user interface. By doing this, expected values were easy to match with actual values, and further bugs could be caught even when the templates had matched previously. \subsection{Integration Testing} -\subsubsection{CORS} \ No newline at end of file +Once the system had been fully implemented and tested, it was necessary to integrate with the rest of the system such as user interface and the machine learning servers. This allowed us to determine whether specific protocols were implemented correctly and to ensure that all the requirements set by the client were met. To begin the integration process, the server was hosted through the St Andrews web service which allows content to be hosted through the web. This was done by configuring an \textit{nginx} proxy that would allow binding of the loopback address and port number. Using \texttt{tmux}, the session was hosted persistently as it allows terminal sessions to be detached and run in the background. From here, it was possible for other teams to send requests to the running server. +\subsubsection{CORS} +Integration testing also gave the opportunity to find additional errors specifically caused by the linking of servers. An example of this is the realisation of the lack of Cross-Origin support. The running server could not function properly as content requests were being sent to different origins and for security reasons this is not permitted. To fix this additional features were required to be implemented to support CORS. Specifically certain headers were added to permit different origin access. \ No newline at end of file -- cgit v1.2.1 From b8a52de8b944e06fb76c563d35c071518bae2751 Mon Sep 17 00:00:00 2001 From: Hafeez Date: Sat, 21 Apr 2018 20:12:15 +0100 Subject: added to testing --- report/deliverable-3/texts/testing.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/report/deliverable-3/texts/testing.tex b/report/deliverable-3/texts/testing.tex index 5389a3c..94d7dbc 100644 --- a/report/deliverable-3/texts/testing.tex +++ b/report/deliverable-3/texts/testing.tex @@ -4,6 +4,6 @@ Testing was a key process in the development of the final product just as it was \subsection{Using Mocha and Postman} The JavaScript framework Mocha was still used in the testing process for modules. The test-suite for our project had some major work done since the last submission, allowing tests to run on the Gitlab server as well as addressing bugs in the test-suite and implementation. Whilst also using Mocha for Unit tests, it was used to test the individual routes and their response whilst comparing them to a template. The same method was applied to test requests. This automation increased the efficiency of production, however, the small amount of routes to test allowed us to be more thorough by manually sending requests to the server using Postman. Postman is a API development tool which allows requests to be sent through an easily manageable user interface. By doing this, expected values were easy to match with actual values, and further bugs could be caught even when the templates had matched previously. \subsection{Integration Testing} -Once the system had been fully implemented and tested, it was necessary to integrate with the rest of the system such as user interface and the machine learning servers. This allowed us to determine whether specific protocols were implemented correctly and to ensure that all the requirements set by the client were met. To begin the integration process, the server was hosted through the St Andrews web service which allows content to be hosted through the web. This was done by configuring an \textit{nginx} proxy that would allow binding of the loopback address and port number. Using \texttt{tmux}, the session was hosted persistently as it allows terminal sessions to be detached and run in the background. From here, it was possible for other teams to send requests to the running server. +Once the system had been fully implemented and tested, it was necessary to integrate with the rest of the system such as user interface and the machine learning servers. This allowed us to determine whether specific protocols were implemented correctly and to ensure that all the requirements set by the client were met. To begin the integration process, the server was hosted through the St Andrews web service which allows content to be hosted through the web. This was done by configuring an \textit{nginx} proxy that would allow binding of the loopback address and port number. Using \texttt{tmux}, the session was hosted persistently as it allows terminal sessions to be detached and run in the background. The server runs on the domain \textit{har4.host.cs.st-andrews.ac.uk}. From here, it was possible for other teams to send requests to the running server. \subsubsection{CORS} -Integration testing also gave the opportunity to find additional errors specifically caused by the linking of servers. An example of this is the realisation of the lack of Cross-Origin support. The running server could not function properly as content requests were being sent to different origins and for security reasons this is not permitted. To fix this additional features were required to be implemented to support CORS. Specifically certain headers were added to permit different origin access. \ No newline at end of file +Integration testing also gave the opportunity to find additional errors specifically caused by the linking of servers. An example of this is the realisation of the lack of Cross-Origin support. The running server could not function properly as content requests were being sent to different origins and for security reasons this is not permitted. To fix this additional features were required to be implemented to support CORS. Specifically certain headers were added to permit different origin access. -- cgit v1.2.1 From e6dc8785599d624d7be44e30d45291e696762832 Mon Sep 17 00:00:00 2001 From: jw255 Date: Sat, 21 Apr 2018 23:55:26 +0100 Subject: various items --- report/deliverable-3/main.out | 36 +++++++++++++++++++ report/deliverable-3/main.synctex.gz | Bin 85283 -> 88217 bytes report/deliverable-3/main.tex | 9 +++++ report/deliverable-3/main.toc | 65 +++++++++++++++++++---------------- report/deliverable-3/texts/files.tex | 7 ++-- report/deliverable-3/texts/work.tex | 26 ++++++++++++++ 6 files changed, 110 insertions(+), 33 deletions(-) create mode 100644 report/deliverable-3/main.out diff --git a/report/deliverable-3/main.out b/report/deliverable-3/main.out new file mode 100644 index 0000000..daf95b0 --- /dev/null +++ b/report/deliverable-3/main.out @@ -0,0 +1,36 @@ +\BOOKMARK [1][-]{section.1}{Aims for Final Submission}{}% 1 +\BOOKMARK [1][-]{section.2}{Completed Work}{}% 2 +\BOOKMARK [2][-]{subsection.2.1}{Endpoints}{section.2}% 3 +\BOOKMARK [1][-]{section.3}{Continued use of Scrum}{}% 4 +\BOOKMARK [2][-]{subsection.3.1}{Sprints}{section.3}% 5 +\BOOKMARK [2][-]{subsection.3.2}{Scrum board}{section.3}% 6 +\BOOKMARK [1][-]{section.4}{File Conversion}{}% 7 +\BOOKMARK [2][-]{subsection.4.1}{Dealing with Images}{section.4}% 8 +\BOOKMARK [3][-]{subsubsection.4.1.1}{Extraction of Zeiss Within `C'}{subsection.4.1}% 9 +\BOOKMARK [3][-]{subsubsection.4.1.2}{Converting Extracted Files}{subsection.4.1}% 10 +\BOOKMARK [3][-]{subsubsection.4.1.3}{Stitching Base Tiles}{subsection.4.1}% 11 +\BOOKMARK [3][-]{subsubsection.4.1.4}{Building Up Hierarchy of Zoom Levels}{subsection.4.1}% 12 +\BOOKMARK [2][-]{subsection.4.2}{Leica \046 Other Formats}{section.4}% 13 +\BOOKMARK [2][-]{subsection.4.3}{Non image formats \(.csv etc.\)}{section.4}% 14 +\BOOKMARK [1][-]{section.5}{File Management}{}% 15 +\BOOKMARK [2][-]{subsection.5.1}{Directory Structure}{section.5}% 16 +\BOOKMARK [2][-]{subsection.5.2}{File Upload}{section.5}% 17 +\BOOKMARK [2][-]{subsection.5.3}{File Download}{section.5}% 18 +\BOOKMARK [1][-]{section.6}{Testing}{}% 19 +\BOOKMARK [2][-]{subsection.6.1}{Integration Testing}{section.6}% 20 +\BOOKMARK [3][-]{subsubsection.6.1.1}{CORS}{subsection.6.1}% 21 +\BOOKMARK [1][-]{section.7}{Process Management and Deployment}{}% 22 +\BOOKMARK [2][-]{subsection.7.1}{Process Manager Selection}{section.7}% 23 +\BOOKMARK [2][-]{subsection.7.2}{pm2 and KeyMetrics}{section.7}% 24 +\BOOKMARK [2][-]{subsection.7.3}{Process Limitations}{section.7}% 25 +\BOOKMARK [2][-]{subsection.7.4}{Heroku Hosting}{section.7}% 26 +\BOOKMARK [2][-]{subsection.7.5}{External System Hosting}{section.7}% 27 +\BOOKMARK [1][-]{section.8}{Conclusion}{}% 28 +\BOOKMARK [2][-]{subsection.8.1}{Future Development}{section.8}% 29 +\BOOKMARK [1][-]{section.9}{Individual Contributions}{}% 30 +\BOOKMARK [2][-]{subsection.9.1}{Tom Harley}{section.9}% 31 +\BOOKMARK [2][-]{subsection.9.2}{Josh Lee}{section.9}% 32 +\BOOKMARK [2][-]{subsection.9.3}{Calum Duff}{section.9}% 33 +\BOOKMARK [2][-]{subsection.9.4}{Johannes Weck}{section.9}% 34 +\BOOKMARK [2][-]{subsection.9.5}{Hafeez Abdul-Rehaman}{section.9}% 35 +\BOOKMARK [1][-]{appendix.A}{Scrum Board Images}{}% 36 diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz index d6fcc0f..2291534 100644 Binary files a/report/deliverable-3/main.synctex.gz and b/report/deliverable-3/main.synctex.gz differ diff --git a/report/deliverable-3/main.tex b/report/deliverable-3/main.tex index b7bb1b5..3d02f11 100644 --- a/report/deliverable-3/main.tex +++ b/report/deliverable-3/main.tex @@ -9,6 +9,15 @@ \usepackage{float} \usepackage{listings} \usepackage{cite} +\usepackage{hyperref} +\hypersetup{ + colorlinks=true, + linkcolor=blue, + filecolor=magenta, + urlcolor=cyan, +} + +\urlstyle{same} \def\file{\texttt} diff --git a/report/deliverable-3/main.toc b/report/deliverable-3/main.toc index 757c3a2..3cd427a 100644 --- a/report/deliverable-3/main.toc +++ b/report/deliverable-3/main.toc @@ -1,29 +1,36 @@ -\contentsline {section}{\numberline {1}Aims for Final Submission}{2} -\contentsline {section}{\numberline {2}Completed Work}{2} -\contentsline {section}{\numberline {3}Continued use of Scrum}{2} -\contentsline {subsection}{\numberline {3.1}Sprints}{3} -\contentsline {subsection}{\numberline {3.2}Scrum board}{3} -\contentsline {section}{\numberline {4}File Conversion}{3} -\contentsline {subsection}{\numberline {4.1}Dealing with Images}{3} -\contentsline {subsubsection}{\numberline {4.1.1}Extraction of Zeiss Within `C'}{4} -\contentsline {subsubsection}{\numberline {4.1.2}Converting Extracted Files}{4} -\contentsline {subsubsection}{\numberline {4.1.3}Stitching Base Tiles}{5} -\contentsline {subsubsection}{\numberline {4.1.4}Building Up Hierarchy of Zoom Levels}{5} -\contentsline {subsection}{\numberline {4.2}Leica \& Other Formats}{5} -\contentsline {subsection}{\numberline {4.3}Non image formats (\texttt {.csv} etc.)}{6} -\contentsline {section}{\numberline {5}File Management}{6} -\contentsline {subsection}{\numberline {5.1}Directory Structure}{6} -\contentsline {subsection}{\numberline {5.2}File Upload}{6} -\contentsline {subsection}{\numberline {5.3}File Download}{6} -\contentsline {section}{\numberline {6}Testing}{7} -\contentsline {subsection}{\numberline {6.1}Integration Testing}{7} -\contentsline {subsubsection}{\numberline {6.1.1}CORS}{7} -\contentsline {section}{\numberline {7}Process Management and Deployment}{7} -\contentsline {subsection}{\numberline {7.1}Process Manager Selection}{7} -\contentsline {subsection}{\numberline {7.2}pm2 and KeyMetrics}{7} -\contentsline {subsection}{\numberline {7.3}Process Limitations}{7} -\contentsline {subsection}{\numberline {7.4}Heroku Hosting}{8} -\contentsline {subsection}{\numberline {7.5}External System Hosting}{8} -\contentsline {section}{\numberline {8}Conclusion}{8} -\contentsline {subsection}{\numberline {8.1}Next Tasks}{8} -\contentsline {section}{\numberline {A}Scrum Board Images}{9} +\contentsline {section}{\numberline {1}Aims for Final Submission}{2}{section.1} +\contentsline {section}{\numberline {2}Completed Work}{2}{section.2} +\contentsline {subsection}{\numberline {2.1}Endpoints}{2}{subsection.2.1} +\contentsline {section}{\numberline {3}Continued use of Scrum}{3}{section.3} +\contentsline {subsection}{\numberline {3.1}Sprints}{3}{subsection.3.1} +\contentsline {subsection}{\numberline {3.2}Scrum board}{3}{subsection.3.2} +\contentsline {section}{\numberline {4}File Conversion}{3}{section.4} +\contentsline {subsection}{\numberline {4.1}Dealing with Images}{3}{subsection.4.1} +\contentsline {subsubsection}{\numberline {4.1.1}Extraction of Zeiss Within `C'}{4}{subsubsection.4.1.1} +\contentsline {subsubsection}{\numberline {4.1.2}Converting Extracted Files}{4}{subsubsection.4.1.2} +\contentsline {subsubsection}{\numberline {4.1.3}Stitching Base Tiles}{5}{subsubsection.4.1.3} +\contentsline {subsubsection}{\numberline {4.1.4}Building Up Hierarchy of Zoom Levels}{5}{subsubsection.4.1.4} +\contentsline {subsection}{\numberline {4.2}Leica \& Other Formats}{5}{subsection.4.2} +\contentsline {subsection}{\numberline {4.3}Non image formats (\texttt {.csv} etc.)}{6}{subsection.4.3} +\contentsline {section}{\numberline {5}File Management}{6}{section.5} +\contentsline {subsection}{\numberline {5.1}Directory Structure}{6}{subsection.5.1} +\contentsline {subsection}{\numberline {5.2}File Upload}{6}{subsection.5.2} +\contentsline {subsection}{\numberline {5.3}File Download}{7}{subsection.5.3} +\contentsline {section}{\numberline {6}Testing}{7}{section.6} +\contentsline {subsection}{\numberline {6.1}Integration Testing}{7}{subsection.6.1} +\contentsline {subsubsection}{\numberline {6.1.1}CORS}{7}{subsubsection.6.1.1} +\contentsline {section}{\numberline {7}Process Management and Deployment}{7}{section.7} +\contentsline {subsection}{\numberline {7.1}Process Manager Selection}{7}{subsection.7.1} +\contentsline {subsection}{\numberline {7.2}pm2 and KeyMetrics}{7}{subsection.7.2} +\contentsline {subsection}{\numberline {7.3}Process Limitations}{8}{subsection.7.3} +\contentsline {subsection}{\numberline {7.4}Heroku Hosting}{8}{subsection.7.4} +\contentsline {subsection}{\numberline {7.5}External System Hosting}{8}{subsection.7.5} +\contentsline {section}{\numberline {8}Conclusion}{8}{section.8} +\contentsline {subsection}{\numberline {8.1}Future Development}{8}{subsection.8.1} +\contentsline {section}{\numberline {9}Individual Contributions}{8}{section.9} +\contentsline {subsection}{\numberline {9.1}Tom Harley}{8}{subsection.9.1} +\contentsline {subsection}{\numberline {9.2}Josh Lee}{8}{subsection.9.2} +\contentsline {subsection}{\numberline {9.3}Calum Duff}{8}{subsection.9.3} +\contentsline {subsection}{\numberline {9.4}Johannes Weck}{8}{subsection.9.4} +\contentsline {subsection}{\numberline {9.5}Hafeez Abdul-Rehaman}{9}{subsection.9.5} +\contentsline {section}{\numberline {A}Scrum Board Images}{11}{appendix.A} diff --git a/report/deliverable-3/texts/files.tex b/report/deliverable-3/texts/files.tex index d77fc30..1c56ccc 100644 --- a/report/deliverable-3/texts/files.tex +++ b/report/deliverable-3/texts/files.tex @@ -8,12 +8,11 @@ The directory structure inside projects consists on a purely conceptual level in The conceptual directory structure, although not obvious to system admins viewing files through a file-viewer on the server, is always enforced to clients connecting to the server endpoint. \subsection{File Upload} -When uploading files to the server, a POST request may be issued to *endpoint* ensuring that the headers *headers* are set. Once this request arrives at the server the node library `multer' automatically saves the data to a temporary directory called ``files-temp''. +When uploading files to the server, a POST request may be issued to the endpoint mentioned in the protocol. Once this request arrives at the server the node library `multer' automatically saves the data to a temporary directory called ``files-temp''. Next a function is called which parses the path from the request and attempts to find the file given the directory structure. Any part of the path that does not yet exist is created. At this stage the desired action is determined, as we allow for the copying, deleting, moving, truncating, overwriting and writing from an offset. Furthermore large files may be chunked, thus data is added incrementally to the file. The final chunk has the `final' parameter set to true, thus indicating that file-upload is complete. -Once the file status is set to `final', which is done when the corresponding parameter is set on file-upload, file conversion is initiated. File conversion runs asynchronously separate from the node server. Once file conversion is done, the file status in the database will change to `ready'. The file status may be reviewed by retrieving file meta-data. +Once the file status is set to `pre-processing', which is done when the corresponding parameter is set on file-upload, file conversion is initiated. File conversion runs asynchronously separate from the node server. Once file conversion is done, the file status in the database will change to `ready'. The file status may be reviewed by retrieving file meta-data. \subsection{File Download} - -To download files or file meta-data, a GET request may be issued to *endpoint* with parameters *params*. +Files may be retrieved from the server either by supplying the file uuid or the path. diff --git a/report/deliverable-3/texts/work.tex b/report/deliverable-3/texts/work.tex index 77b6dba..b06aebc 100644 --- a/report/deliverable-3/texts/work.tex +++ b/report/deliverable-3/texts/work.tex @@ -9,4 +9,30 @@ Looking back on the tasks set out from the initial specifications we are very sa \item[Allow conversion of images and tabular data] Our current system allows fluent transition between czi input files and tiled png output *todo*. Tabular data is handled in csv format, giving the server a good understanding of the data. \item[Robustness to user input] A reasonable attempt was made to catch out invalid input and close collaboration with the HCI groups ensured a distribution of responsibility for the preservation of dependencies and cleaning of user input. \item[Ensure compatibility between groups] A common api was decided by the student body to ensure seamless communication between systems. As part of our testing we integrated with several other HCI and ML groups. +\item[Follow an agreed protocol for intergroup communication] We implemented the entire protocol \url{https://github.com/CS3099JH2017/cs3099jh/blob/master/protocols/BE01.md} +\end{description} + +\subsection{Endpoints} +\begin{description} +\item[get '/_supported_protocols_'] Returns the supported protocols +\item[get '/log'] Allows retreiving of logs (requires admin privileges) +\item[post '/log'] Allows viewing of logs (requires logging permission) +\item[get '/properties'] Returns the server configuration +\item[post '/properties'] Allows changing of the server configuration +\item[get '/user_privileges'] Returns all available privileges +\item[get '/users'] Returns all users +\item[get '/users/:username'] Returns information on a specific user +\item[post '/users/:username'] Allows adding of users and changing of user information +\item[get '/users/:username/properties'] Returns additional configuration options on a specific user +\item[get '/current_user'] Returns information of the authenticated user +\item[post '/current_user'] Allows changing of information for the authenticated user +\item[get '/project_roles'] Returns all project roles +\item[get '/projects'] Returns all projects +\item[get '/projects/:project_name'] Returns information of a specific project +\item[post '/projects/:project_name'] Allows changing of information of a specific project +\item[get '/projects/:project_name/properties'] Returns additional configuration options of a specific project +\item[get '/projects/:project_name/files/'] Returns all files and folders at the base level of the project (non-recursive) +\item[get '/projects/:project_name/files/:path'] Returns a file +\item[post '/projects/:project_name/files/:path'] Uploads a file +\item[get '/projects/:project_name/files_by_id/:id'] Returns a file \end{description} \ No newline at end of file -- cgit v1.2.1 From 41cc7768116e8e471f5a303534c2f55a617a655e Mon Sep 17 00:00:00 2001 From: jw255 Date: Sun, 22 Apr 2018 14:07:00 +0100 Subject: fixed latex compile issue --- report/deliverable-3/main.out | 35 +++++++++++---------- report/deliverable-3/main.synctex.gz | Bin 88217 -> 100133 bytes report/deliverable-3/main.toc | 59 ++++++++++++++++++----------------- report/deliverable-3/texts/work.tex | 42 ++++++++++++------------- 4 files changed, 69 insertions(+), 67 deletions(-) diff --git a/report/deliverable-3/main.out b/report/deliverable-3/main.out index daf95b0..2ef0e6e 100644 --- a/report/deliverable-3/main.out +++ b/report/deliverable-3/main.out @@ -17,20 +17,21 @@ \BOOKMARK [2][-]{subsection.5.2}{File Upload}{section.5}% 17 \BOOKMARK [2][-]{subsection.5.3}{File Download}{section.5}% 18 \BOOKMARK [1][-]{section.6}{Testing}{}% 19 -\BOOKMARK [2][-]{subsection.6.1}{Integration Testing}{section.6}% 20 -\BOOKMARK [3][-]{subsubsection.6.1.1}{CORS}{subsection.6.1}% 21 -\BOOKMARK [1][-]{section.7}{Process Management and Deployment}{}% 22 -\BOOKMARK [2][-]{subsection.7.1}{Process Manager Selection}{section.7}% 23 -\BOOKMARK [2][-]{subsection.7.2}{pm2 and KeyMetrics}{section.7}% 24 -\BOOKMARK [2][-]{subsection.7.3}{Process Limitations}{section.7}% 25 -\BOOKMARK [2][-]{subsection.7.4}{Heroku Hosting}{section.7}% 26 -\BOOKMARK [2][-]{subsection.7.5}{External System Hosting}{section.7}% 27 -\BOOKMARK [1][-]{section.8}{Conclusion}{}% 28 -\BOOKMARK [2][-]{subsection.8.1}{Future Development}{section.8}% 29 -\BOOKMARK [1][-]{section.9}{Individual Contributions}{}% 30 -\BOOKMARK [2][-]{subsection.9.1}{Tom Harley}{section.9}% 31 -\BOOKMARK [2][-]{subsection.9.2}{Josh Lee}{section.9}% 32 -\BOOKMARK [2][-]{subsection.9.3}{Calum Duff}{section.9}% 33 -\BOOKMARK [2][-]{subsection.9.4}{Johannes Weck}{section.9}% 34 -\BOOKMARK [2][-]{subsection.9.5}{Hafeez Abdul-Rehaman}{section.9}% 35 -\BOOKMARK [1][-]{appendix.A}{Scrum Board Images}{}% 36 +\BOOKMARK [2][-]{subsection.6.1}{Using Mocha and Postman}{section.6}% 20 +\BOOKMARK [2][-]{subsection.6.2}{Integration Testing}{section.6}% 21 +\BOOKMARK [3][-]{subsubsection.6.2.1}{CORS}{subsection.6.2}% 22 +\BOOKMARK [1][-]{section.7}{Process Management and Deployment}{}% 23 +\BOOKMARK [2][-]{subsection.7.1}{Process Manager Selection}{section.7}% 24 +\BOOKMARK [2][-]{subsection.7.2}{pm2 and KeyMetrics}{section.7}% 25 +\BOOKMARK [2][-]{subsection.7.3}{Process Limitations}{section.7}% 26 +\BOOKMARK [2][-]{subsection.7.4}{Heroku Hosting}{section.7}% 27 +\BOOKMARK [2][-]{subsection.7.5}{External System Hosting}{section.7}% 28 +\BOOKMARK [1][-]{section.8}{Conclusion}{}% 29 +\BOOKMARK [2][-]{subsection.8.1}{Future Development}{section.8}% 30 +\BOOKMARK [1][-]{section.9}{Individual Contributions}{}% 31 +\BOOKMARK [2][-]{subsection.9.1}{Tom Harley}{section.9}% 32 +\BOOKMARK [2][-]{subsection.9.2}{Josh Lee}{section.9}% 33 +\BOOKMARK [2][-]{subsection.9.3}{Calum Duff}{section.9}% 34 +\BOOKMARK [2][-]{subsection.9.4}{Johannes Weck}{section.9}% 35 +\BOOKMARK [2][-]{subsection.9.5}{Hafeez Abdul-Rehaman}{section.9}% 36 +\BOOKMARK [1][-]{appendix.A}{Scrum Board Images}{}% 37 diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz index 2291534..b03a4b0 100644 Binary files a/report/deliverable-3/main.synctex.gz and b/report/deliverable-3/main.synctex.gz differ diff --git a/report/deliverable-3/main.toc b/report/deliverable-3/main.toc index 3cd427a..caf3cf6 100644 --- a/report/deliverable-3/main.toc +++ b/report/deliverable-3/main.toc @@ -1,36 +1,37 @@ \contentsline {section}{\numberline {1}Aims for Final Submission}{2}{section.1} \contentsline {section}{\numberline {2}Completed Work}{2}{section.2} -\contentsline {subsection}{\numberline {2.1}Endpoints}{2}{subsection.2.1} +\contentsline {subsection}{\numberline {2.1}Endpoints}{3}{subsection.2.1} \contentsline {section}{\numberline {3}Continued use of Scrum}{3}{section.3} \contentsline {subsection}{\numberline {3.1}Sprints}{3}{subsection.3.1} -\contentsline {subsection}{\numberline {3.2}Scrum board}{3}{subsection.3.2} -\contentsline {section}{\numberline {4}File Conversion}{3}{section.4} -\contentsline {subsection}{\numberline {4.1}Dealing with Images}{3}{subsection.4.1} -\contentsline {subsubsection}{\numberline {4.1.1}Extraction of Zeiss Within `C'}{4}{subsubsection.4.1.1} -\contentsline {subsubsection}{\numberline {4.1.2}Converting Extracted Files}{4}{subsubsection.4.1.2} -\contentsline {subsubsection}{\numberline {4.1.3}Stitching Base Tiles}{5}{subsubsection.4.1.3} -\contentsline {subsubsection}{\numberline {4.1.4}Building Up Hierarchy of Zoom Levels}{5}{subsubsection.4.1.4} -\contentsline {subsection}{\numberline {4.2}Leica \& Other Formats}{5}{subsection.4.2} +\contentsline {subsection}{\numberline {3.2}Scrum board}{4}{subsection.3.2} +\contentsline {section}{\numberline {4}File Conversion}{4}{section.4} +\contentsline {subsection}{\numberline {4.1}Dealing with Images}{4}{subsection.4.1} +\contentsline {subsubsection}{\numberline {4.1.1}Extraction of Zeiss Within `C'}{5}{subsubsection.4.1.1} +\contentsline {subsubsection}{\numberline {4.1.2}Converting Extracted Files}{5}{subsubsection.4.1.2} +\contentsline {subsubsection}{\numberline {4.1.3}Stitching Base Tiles}{6}{subsubsection.4.1.3} +\contentsline {subsubsection}{\numberline {4.1.4}Building Up Hierarchy of Zoom Levels}{6}{subsubsection.4.1.4} +\contentsline {subsection}{\numberline {4.2}Leica \& Other Formats}{6}{subsection.4.2} \contentsline {subsection}{\numberline {4.3}Non image formats (\texttt {.csv} etc.)}{6}{subsection.4.3} -\contentsline {section}{\numberline {5}File Management}{6}{section.5} -\contentsline {subsection}{\numberline {5.1}Directory Structure}{6}{subsection.5.1} -\contentsline {subsection}{\numberline {5.2}File Upload}{6}{subsection.5.2} +\contentsline {section}{\numberline {5}File Management}{7}{section.5} +\contentsline {subsection}{\numberline {5.1}Directory Structure}{7}{subsection.5.1} +\contentsline {subsection}{\numberline {5.2}File Upload}{7}{subsection.5.2} \contentsline {subsection}{\numberline {5.3}File Download}{7}{subsection.5.3} \contentsline {section}{\numberline {6}Testing}{7}{section.6} -\contentsline {subsection}{\numberline {6.1}Integration Testing}{7}{subsection.6.1} -\contentsline {subsubsection}{\numberline {6.1.1}CORS}{7}{subsubsection.6.1.1} -\contentsline {section}{\numberline {7}Process Management and Deployment}{7}{section.7} -\contentsline {subsection}{\numberline {7.1}Process Manager Selection}{7}{subsection.7.1} -\contentsline {subsection}{\numberline {7.2}pm2 and KeyMetrics}{7}{subsection.7.2} -\contentsline {subsection}{\numberline {7.3}Process Limitations}{8}{subsection.7.3} -\contentsline {subsection}{\numberline {7.4}Heroku Hosting}{8}{subsection.7.4} -\contentsline {subsection}{\numberline {7.5}External System Hosting}{8}{subsection.7.5} -\contentsline {section}{\numberline {8}Conclusion}{8}{section.8} -\contentsline {subsection}{\numberline {8.1}Future Development}{8}{subsection.8.1} -\contentsline {section}{\numberline {9}Individual Contributions}{8}{section.9} -\contentsline {subsection}{\numberline {9.1}Tom Harley}{8}{subsection.9.1} -\contentsline {subsection}{\numberline {9.2}Josh Lee}{8}{subsection.9.2} -\contentsline {subsection}{\numberline {9.3}Calum Duff}{8}{subsection.9.3} -\contentsline {subsection}{\numberline {9.4}Johannes Weck}{8}{subsection.9.4} -\contentsline {subsection}{\numberline {9.5}Hafeez Abdul-Rehaman}{9}{subsection.9.5} -\contentsline {section}{\numberline {A}Scrum Board Images}{11}{appendix.A} +\contentsline {subsection}{\numberline {6.1}Using Mocha and Postman}{8}{subsection.6.1} +\contentsline {subsection}{\numberline {6.2}Integration Testing}{8}{subsection.6.2} +\contentsline {subsubsection}{\numberline {6.2.1}CORS}{8}{subsubsection.6.2.1} +\contentsline {section}{\numberline {7}Process Management and Deployment}{8}{section.7} +\contentsline {subsection}{\numberline {7.1}Process Manager Selection}{8}{subsection.7.1} +\contentsline {subsection}{\numberline {7.2}pm2 and KeyMetrics}{8}{subsection.7.2} +\contentsline {subsection}{\numberline {7.3}Process Limitations}{9}{subsection.7.3} +\contentsline {subsection}{\numberline {7.4}Heroku Hosting}{9}{subsection.7.4} +\contentsline {subsection}{\numberline {7.5}External System Hosting}{9}{subsection.7.5} +\contentsline {section}{\numberline {8}Conclusion}{9}{section.8} +\contentsline {subsection}{\numberline {8.1}Future Development}{10}{subsection.8.1} +\contentsline {section}{\numberline {9}Individual Contributions}{10}{section.9} +\contentsline {subsection}{\numberline {9.1}Tom Harley}{10}{subsection.9.1} +\contentsline {subsection}{\numberline {9.2}Josh Lee}{10}{subsection.9.2} +\contentsline {subsection}{\numberline {9.3}Calum Duff}{10}{subsection.9.3} +\contentsline {subsection}{\numberline {9.4}Johannes Weck}{10}{subsection.9.4} +\contentsline {subsection}{\numberline {9.5}Hafeez Abdul-Rehaman}{10}{subsection.9.5} +\contentsline {section}{\numberline {A}Scrum Board Images}{12}{appendix.A} diff --git a/report/deliverable-3/texts/work.tex b/report/deliverable-3/texts/work.tex index b06aebc..789b58a 100644 --- a/report/deliverable-3/texts/work.tex +++ b/report/deliverable-3/texts/work.tex @@ -14,25 +14,25 @@ Looking back on the tasks set out from the initial specifications we are very sa \subsection{Endpoints} \begin{description} -\item[get '/_supported_protocols_'] Returns the supported protocols -\item[get '/log'] Allows retreiving of logs (requires admin privileges) -\item[post '/log'] Allows viewing of logs (requires logging permission) -\item[get '/properties'] Returns the server configuration -\item[post '/properties'] Allows changing of the server configuration -\item[get '/user_privileges'] Returns all available privileges -\item[get '/users'] Returns all users -\item[get '/users/:username'] Returns information on a specific user -\item[post '/users/:username'] Allows adding of users and changing of user information -\item[get '/users/:username/properties'] Returns additional configuration options on a specific user -\item[get '/current_user'] Returns information of the authenticated user -\item[post '/current_user'] Allows changing of information for the authenticated user -\item[get '/project_roles'] Returns all project roles -\item[get '/projects'] Returns all projects -\item[get '/projects/:project_name'] Returns information of a specific project -\item[post '/projects/:project_name'] Allows changing of information of a specific project -\item[get '/projects/:project_name/properties'] Returns additional configuration options of a specific project -\item[get '/projects/:project_name/files/'] Returns all files and folders at the base level of the project (non-recursive) -\item[get '/projects/:project_name/files/:path'] Returns a file -\item[post '/projects/:project_name/files/:path'] Uploads a file -\item[get '/projects/:project_name/files_by_id/:id'] Returns a file +\item[get /\_supported\_protocols\_] Returns the supported protocols +\item[get /log] Allows retreiving of logs (requires admin privileges) +\item[post /log] Allows viewing of logs (requires logging permission) +\item[get /properties] Returns the server configuration +\item[post /properties] Allows changing of the server configuration +\item[get /user\_privileges] Returns all available privileges +\item[get /users] Returns all users +\item[get /users/:username] Returns information on a specific user +\item[post /users/:username] Allows adding of users and changing of user information +\item[get /users/:username/properties] Returns additional configuration options on a specific user +\item[get /current\_user] Returns information of the authenticated user +\item[post /current\_user] Allows changing of information for the authenticated user +\item[get /project\_roles] Returns all project roles +\item[get /projects] Returns all projects +\item[get /projects/:project\_name] Returns information of a specific project +\item[post /projects/:project\_name] Allows changing of information of a specific project +\item[get /projects/:project\_name/properties] Returns additional configuration options of a specific project +\item[get /projects/:project\_name/files/] Returns all files and folders at the base level of the project (non-recursive) +\item[get /projects/:project\_name/files/:path] Returns a file +\item[post /projects/:project\_name/files/:path] Uploads a file +\item[get /projects/:project\_name/files\_by\_id/:id] Returns a file \end{description} \ No newline at end of file -- cgit v1.2.1 From cd183262ea0b9a5af6d0eb36e5774f0e6de9c9b3 Mon Sep 17 00:00:00 2001 From: jw255 Date: Sun, 22 Apr 2018 15:43:30 +0100 Subject: somw work --- report/deliverable-3/main.synctex.gz | Bin 100133 -> 100352 bytes report/deliverable-3/main.toc | 8 +++--- report/deliverable-3/texts/work.tex | 47 +++++++++++++++++++---------------- 3 files changed, 30 insertions(+), 25 deletions(-) diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz index b03a4b0..e8f3063 100644 Binary files a/report/deliverable-3/main.synctex.gz and b/report/deliverable-3/main.synctex.gz differ diff --git a/report/deliverable-3/main.toc b/report/deliverable-3/main.toc index caf3cf6..a480b1b 100644 --- a/report/deliverable-3/main.toc +++ b/report/deliverable-3/main.toc @@ -2,7 +2,7 @@ \contentsline {section}{\numberline {2}Completed Work}{2}{section.2} \contentsline {subsection}{\numberline {2.1}Endpoints}{3}{subsection.2.1} \contentsline {section}{\numberline {3}Continued use of Scrum}{3}{section.3} -\contentsline {subsection}{\numberline {3.1}Sprints}{3}{subsection.3.1} +\contentsline {subsection}{\numberline {3.1}Sprints}{4}{subsection.3.1} \contentsline {subsection}{\numberline {3.2}Scrum board}{4}{subsection.3.2} \contentsline {section}{\numberline {4}File Conversion}{4}{section.4} \contentsline {subsection}{\numberline {4.1}Dealing with Images}{4}{subsection.4.1} @@ -11,18 +11,18 @@ \contentsline {subsubsection}{\numberline {4.1.3}Stitching Base Tiles}{6}{subsubsection.4.1.3} \contentsline {subsubsection}{\numberline {4.1.4}Building Up Hierarchy of Zoom Levels}{6}{subsubsection.4.1.4} \contentsline {subsection}{\numberline {4.2}Leica \& Other Formats}{6}{subsection.4.2} -\contentsline {subsection}{\numberline {4.3}Non image formats (\texttt {.csv} etc.)}{6}{subsection.4.3} +\contentsline {subsection}{\numberline {4.3}Non image formats (\texttt {.csv} etc.)}{7}{subsection.4.3} \contentsline {section}{\numberline {5}File Management}{7}{section.5} \contentsline {subsection}{\numberline {5.1}Directory Structure}{7}{subsection.5.1} \contentsline {subsection}{\numberline {5.2}File Upload}{7}{subsection.5.2} \contentsline {subsection}{\numberline {5.3}File Download}{7}{subsection.5.3} -\contentsline {section}{\numberline {6}Testing}{7}{section.6} +\contentsline {section}{\numberline {6}Testing}{8}{section.6} \contentsline {subsection}{\numberline {6.1}Using Mocha and Postman}{8}{subsection.6.1} \contentsline {subsection}{\numberline {6.2}Integration Testing}{8}{subsection.6.2} \contentsline {subsubsection}{\numberline {6.2.1}CORS}{8}{subsubsection.6.2.1} \contentsline {section}{\numberline {7}Process Management and Deployment}{8}{section.7} \contentsline {subsection}{\numberline {7.1}Process Manager Selection}{8}{subsection.7.1} -\contentsline {subsection}{\numberline {7.2}pm2 and KeyMetrics}{8}{subsection.7.2} +\contentsline {subsection}{\numberline {7.2}pm2 and KeyMetrics}{9}{subsection.7.2} \contentsline {subsection}{\numberline {7.3}Process Limitations}{9}{subsection.7.3} \contentsline {subsection}{\numberline {7.4}Heroku Hosting}{9}{subsection.7.4} \contentsline {subsection}{\numberline {7.5}External System Hosting}{9}{subsection.7.5} diff --git a/report/deliverable-3/texts/work.tex b/report/deliverable-3/texts/work.tex index 789b58a..08cc786 100644 --- a/report/deliverable-3/texts/work.tex +++ b/report/deliverable-3/texts/work.tex @@ -13,26 +13,31 @@ Looking back on the tasks set out from the initial specifications we are very sa \end{description} \subsection{Endpoints} +as specified by the agreed protocol \begin{description} -\item[get /\_supported\_protocols\_] Returns the supported protocols -\item[get /log] Allows retreiving of logs (requires admin privileges) -\item[post /log] Allows viewing of logs (requires logging permission) -\item[get /properties] Returns the server configuration -\item[post /properties] Allows changing of the server configuration -\item[get /user\_privileges] Returns all available privileges -\item[get /users] Returns all users -\item[get /users/:username] Returns information on a specific user -\item[post /users/:username] Allows adding of users and changing of user information -\item[get /users/:username/properties] Returns additional configuration options on a specific user -\item[get /current\_user] Returns information of the authenticated user -\item[post /current\_user] Allows changing of information for the authenticated user -\item[get /project\_roles] Returns all project roles -\item[get /projects] Returns all projects -\item[get /projects/:project\_name] Returns information of a specific project -\item[post /projects/:project\_name] Allows changing of information of a specific project -\item[get /projects/:project\_name/properties] Returns additional configuration options of a specific project -\item[get /projects/:project\_name/files/] Returns all files and folders at the base level of the project (non-recursive) -\item[get /projects/:project\_name/files/:path] Returns a file -\item[post /projects/:project\_name/files/:path] Uploads a file -\item[get /projects/:project\_name/files\_by\_id/:id] Returns a file +\item[post /oauth/token] Allows authentication, issuing a token. +\item[get /\_supported\_protocols\_] Returns the supported protocols +\item[get /log] Allows retreiving of logs (requires admin privileges)\\ +optional url parameters: \texttt{before=\&after=\&level=} +\item[post /log] Allows viewing of logs (requires logging permission) +\item[get /properties] Returns the server configuration +\item[post /properties] Allows changing of the server configuration +\item[get /user\_privileges] Returns all available privileges +\item[get /users] Returns all users +\item[get /users/:username] Returns information on a specific user +\item[post /users/:username] Allows adding, deleting and changing of user (information)\\ +url parameters: \texttt{action=create} or \texttt{action=update} or \texttt{action=delete} +\item[get /users/:username/properties] Returns additional configuration options on a specific user +\item[get /current\_user] Returns information of the authenticated user +\item[post /current\_user] Allows changing of information for the authenticated user +\item[get /project\_roles] Returns all project roles +\item[get /projects] Returns all projects +\item[get /projects/:project\_name] Returns information of a specific project +\item[post /projects/:project\_name] Allows changing of information of a specific project\\ +url parameters: \texttt{action=create} or \texttt{action=update} or \texttt{action=delete} +\item[get /projects/:project\_name/properties] Returns additional configuration options of a specific project +\item[get /projects/:project\_name/files/] Returns all files and folders at the base level of the project (non-recursive) +\item[get /projects/:project\_name/files/:path] Returns a file +\item[post /projects/:project\_name/files/:path] Uploads a file +\item[get /projects/:project\_name/files\_by\_id/:id] Returns a file \end{description} \ No newline at end of file -- cgit v1.2.1 From 84e6f221419b0fb56ae4bfb0eddf46777ff271a3 Mon Sep 17 00:00:00 2001 From: jw255 Date: Sun, 22 Apr 2018 16:54:08 +0100 Subject: conclusion + ind. contr. reworked --- report/deliverable-3/main.out | 41 +++++++++++++-------------- report/deliverable-3/main.synctex.gz | Bin 100352 -> 103961 bytes report/deliverable-3/main.toc | 9 +++--- report/deliverable-3/texts/conclusion.tex | 9 +++++- report/deliverable-3/texts/contributions.tex | 4 ++- report/deliverable-3/texts/files.tex | 6 ++-- report/deliverable-3/texts/work.tex | 6 ++-- 7 files changed, 42 insertions(+), 33 deletions(-) diff --git a/report/deliverable-3/main.out b/report/deliverable-3/main.out index 2ef0e6e..5d8e1e5 100644 --- a/report/deliverable-3/main.out +++ b/report/deliverable-3/main.out @@ -14,24 +14,23 @@ \BOOKMARK [2][-]{subsection.4.3}{Non image formats \(.csv etc.\)}{section.4}% 14 \BOOKMARK [1][-]{section.5}{File Management}{}% 15 \BOOKMARK [2][-]{subsection.5.1}{Directory Structure}{section.5}% 16 -\BOOKMARK [2][-]{subsection.5.2}{File Upload}{section.5}% 17 -\BOOKMARK [2][-]{subsection.5.3}{File Download}{section.5}% 18 -\BOOKMARK [1][-]{section.6}{Testing}{}% 19 -\BOOKMARK [2][-]{subsection.6.1}{Using Mocha and Postman}{section.6}% 20 -\BOOKMARK [2][-]{subsection.6.2}{Integration Testing}{section.6}% 21 -\BOOKMARK [3][-]{subsubsection.6.2.1}{CORS}{subsection.6.2}% 22 -\BOOKMARK [1][-]{section.7}{Process Management and Deployment}{}% 23 -\BOOKMARK [2][-]{subsection.7.1}{Process Manager Selection}{section.7}% 24 -\BOOKMARK [2][-]{subsection.7.2}{pm2 and KeyMetrics}{section.7}% 25 -\BOOKMARK [2][-]{subsection.7.3}{Process Limitations}{section.7}% 26 -\BOOKMARK [2][-]{subsection.7.4}{Heroku Hosting}{section.7}% 27 -\BOOKMARK [2][-]{subsection.7.5}{External System Hosting}{section.7}% 28 -\BOOKMARK [1][-]{section.8}{Conclusion}{}% 29 -\BOOKMARK [2][-]{subsection.8.1}{Future Development}{section.8}% 30 -\BOOKMARK [1][-]{section.9}{Individual Contributions}{}% 31 -\BOOKMARK [2][-]{subsection.9.1}{Tom Harley}{section.9}% 32 -\BOOKMARK [2][-]{subsection.9.2}{Josh Lee}{section.9}% 33 -\BOOKMARK [2][-]{subsection.9.3}{Calum Duff}{section.9}% 34 -\BOOKMARK [2][-]{subsection.9.4}{Johannes Weck}{section.9}% 35 -\BOOKMARK [2][-]{subsection.9.5}{Hafeez Abdul-Rehaman}{section.9}% 36 -\BOOKMARK [1][-]{appendix.A}{Scrum Board Images}{}% 37 +\BOOKMARK [2][-]{subsection.5.2}{File Upload and Download}{section.5}% 17 +\BOOKMARK [1][-]{section.6}{Testing}{}% 18 +\BOOKMARK [2][-]{subsection.6.1}{Using Mocha and Postman}{section.6}% 19 +\BOOKMARK [2][-]{subsection.6.2}{Integration Testing}{section.6}% 20 +\BOOKMARK [3][-]{subsubsection.6.2.1}{CORS}{subsection.6.2}% 21 +\BOOKMARK [1][-]{section.7}{Process Management and Deployment}{}% 22 +\BOOKMARK [2][-]{subsection.7.1}{Process Manager Selection}{section.7}% 23 +\BOOKMARK [2][-]{subsection.7.2}{pm2 and KeyMetrics}{section.7}% 24 +\BOOKMARK [2][-]{subsection.7.3}{Process Limitations}{section.7}% 25 +\BOOKMARK [2][-]{subsection.7.4}{Heroku Hosting}{section.7}% 26 +\BOOKMARK [2][-]{subsection.7.5}{External System Hosting}{section.7}% 27 +\BOOKMARK [1][-]{section.8}{Conclusion}{}% 28 +\BOOKMARK [2][-]{subsection.8.1}{Future Development}{section.8}% 29 +\BOOKMARK [1][-]{section.9}{Individual Contributions}{}% 30 +\BOOKMARK [2][-]{subsection.9.1}{Tom Harley}{section.9}% 31 +\BOOKMARK [2][-]{subsection.9.2}{Josh Lee}{section.9}% 32 +\BOOKMARK [2][-]{subsection.9.3}{Calum Duff}{section.9}% 33 +\BOOKMARK [2][-]{subsection.9.4}{Johannes Weck}{section.9}% 34 +\BOOKMARK [2][-]{subsection.9.5}{Hafeez Abdul-Rehaman}{section.9}% 35 +\BOOKMARK [1][-]{appendix.A}{Scrum Board Images}{}% 36 diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz index e8f3063..64b37ac 100644 Binary files a/report/deliverable-3/main.synctex.gz and b/report/deliverable-3/main.synctex.gz differ diff --git a/report/deliverable-3/main.toc b/report/deliverable-3/main.toc index a480b1b..f1598f7 100644 --- a/report/deliverable-3/main.toc +++ b/report/deliverable-3/main.toc @@ -14,9 +14,8 @@ \contentsline {subsection}{\numberline {4.3}Non image formats (\texttt {.csv} etc.)}{7}{subsection.4.3} \contentsline {section}{\numberline {5}File Management}{7}{section.5} \contentsline {subsection}{\numberline {5.1}Directory Structure}{7}{subsection.5.1} -\contentsline {subsection}{\numberline {5.2}File Upload}{7}{subsection.5.2} -\contentsline {subsection}{\numberline {5.3}File Download}{7}{subsection.5.3} -\contentsline {section}{\numberline {6}Testing}{8}{section.6} +\contentsline {subsection}{\numberline {5.2}File Upload and Download}{7}{subsection.5.2} +\contentsline {section}{\numberline {6}Testing}{7}{section.6} \contentsline {subsection}{\numberline {6.1}Using Mocha and Postman}{8}{subsection.6.1} \contentsline {subsection}{\numberline {6.2}Integration Testing}{8}{subsection.6.2} \contentsline {subsubsection}{\numberline {6.2.1}CORS}{8}{subsubsection.6.2.1} @@ -26,7 +25,7 @@ \contentsline {subsection}{\numberline {7.3}Process Limitations}{9}{subsection.7.3} \contentsline {subsection}{\numberline {7.4}Heroku Hosting}{9}{subsection.7.4} \contentsline {subsection}{\numberline {7.5}External System Hosting}{9}{subsection.7.5} -\contentsline {section}{\numberline {8}Conclusion}{9}{section.8} +\contentsline {section}{\numberline {8}Conclusion}{10}{section.8} \contentsline {subsection}{\numberline {8.1}Future Development}{10}{subsection.8.1} \contentsline {section}{\numberline {9}Individual Contributions}{10}{section.9} \contentsline {subsection}{\numberline {9.1}Tom Harley}{10}{subsection.9.1} @@ -34,4 +33,4 @@ \contentsline {subsection}{\numberline {9.3}Calum Duff}{10}{subsection.9.3} \contentsline {subsection}{\numberline {9.4}Johannes Weck}{10}{subsection.9.4} \contentsline {subsection}{\numberline {9.5}Hafeez Abdul-Rehaman}{10}{subsection.9.5} -\contentsline {section}{\numberline {A}Scrum Board Images}{12}{appendix.A} +\contentsline {section}{\numberline {A}Scrum Board Images}{11}{appendix.A} diff --git a/report/deliverable-3/texts/conclusion.tex b/report/deliverable-3/texts/conclusion.tex index 33c018a..45e2f85 100644 --- a/report/deliverable-3/texts/conclusion.tex +++ b/report/deliverable-3/texts/conclusion.tex @@ -4,4 +4,11 @@ As a group, we are very pleased with the process and outcome of this group proje For the final deadline we successfully combined all parts of the system into one final server, completing any remaining tasks which included file management, file conversion and testing. Our system was integrated both with our assigned ML and HCI groups, as well as with other groups, thus ensuring the compatibility of our contribution to the whole pathology system. \subsection{Future Development} -... +The submitted project has potential for future improvements, especially regarding system security and file-conversion. + +One substantial flaw of our system is that we rely on the security of all the node-modules including postgres as well as their inter-compatibility. Comprehensive vulnerability scanning as well as penetration testing of our system would be required to ensure security of patients' confidential data. Research into security standards required by law would be necessary. + +Similarly, it might prove useful to encrypt data on the server-side as well as combine the ML server and the BE server into one software package, thus reducing the number of components involved. + +Also, image file conversion could be explored further, as conversion of *TODO* into png is not yet supported + diff --git a/report/deliverable-3/texts/contributions.tex b/report/deliverable-3/texts/contributions.tex index bc448bb..994a3bc 100644 --- a/report/deliverable-3/texts/contributions.tex +++ b/report/deliverable-3/texts/contributions.tex @@ -3,5 +3,7 @@ \subsection{Josh Lee} \subsection{Calum Duff} \subsection{Johannes Weck} -Throughout the development of our back-end server, I was responsible for thorough testing, which involved writing unit tests with mocha and chai, running integration tests through Postman as well as identifying and fixing bugs. During the last sprint I worked closely with Hafeez using pair-programming to resolve a range of issues flagged by the tests. Furthermore, I worked with Tom and Callum finalizing server-side file-management. +Throughout the development of our back-end server, I was responsible for thorough testing, which involved writing unit tests with mocha and chai, running integration tests through Postman as well as identifying and fixing bugs. One of the main challenges in this respect was understanding code written by other team-members. Clear and frequent communication between all members proved essential to this process. + +During the last sprint I worked closely with Hafeez using pair-programming to resolve a range of issues flagged by the tests. Furthermore, I worked with Tom and Callum, finalizing server-side file-management. I was mostly involved with the file-system part of file storage, integrating the node-module `multer' with our server. `multer' was later swapped out for the package `body-parser' to allow compatibility with our assigned ML and HCI groups. \subsection{Hafeez Abdul-Rehaman} diff --git a/report/deliverable-3/texts/files.tex b/report/deliverable-3/texts/files.tex index 1c56ccc..e1aa40a 100644 --- a/report/deliverable-3/texts/files.tex +++ b/report/deliverable-3/texts/files.tex @@ -1,5 +1,6 @@ \section{File Management} File handling was one of the last unimplemented parts of our server. Integration testing proved essential for ensuring full functionality according to the agreed protocol. File upload and download involved overcoming a range of challenges which arose as additional features were implemented. + \subsection{Directory Structure} File storage on the server-side consists of two parts - storage of physical data on the file-system and storage of meta-data in the database. @@ -7,12 +8,11 @@ The directory structure inside projects consists on a purely conceptual level in The conceptual directory structure, although not obvious to system admins viewing files through a file-viewer on the server, is always enforced to clients connecting to the server endpoint. -\subsection{File Upload} -When uploading files to the server, a POST request may be issued to the endpoint mentioned in the protocol. Once this request arrives at the server the node library `multer' automatically saves the data to a temporary directory called ``files-temp''. +\subsection{File Upload and Download} +When uploading files to the server, a POST request may be issued to the endpoint mentioned in the protocol. Once this request arrives at the server the node library `*TODO*' automatically saves the data to a temporary directory called ``files-temp''. Next a function is called which parses the path from the request and attempts to find the file given the directory structure. Any part of the path that does not yet exist is created. At this stage the desired action is determined, as we allow for the copying, deleting, moving, truncating, overwriting and writing from an offset. Furthermore large files may be chunked, thus data is added incrementally to the file. The final chunk has the `final' parameter set to true, thus indicating that file-upload is complete. Once the file status is set to `pre-processing', which is done when the corresponding parameter is set on file-upload, file conversion is initiated. File conversion runs asynchronously separate from the node server. Once file conversion is done, the file status in the database will change to `ready'. The file status may be reviewed by retrieving file meta-data. -\subsection{File Download} Files may be retrieved from the server either by supplying the file uuid or the path. diff --git a/report/deliverable-3/texts/work.tex b/report/deliverable-3/texts/work.tex index 08cc786..92b9058 100644 --- a/report/deliverable-3/texts/work.tex +++ b/report/deliverable-3/texts/work.tex @@ -37,7 +37,9 @@ url parameters: \texttt{action=create} or \texttt{action=update} or \texttt{acti url parameters: \texttt{action=create} or \texttt{action=update} or \texttt{action=delete} \item[get /projects/:project\_name/properties] Returns additional configuration options of a specific project \item[get /projects/:project\_name/files/] Returns all files and folders at the base level of the project (non-recursive) -\item[get /projects/:project\_name/files/:path] Returns a file -\item[post /projects/:project\_name/files/:path] Uploads a file +\item[get /projects/:project\_name/files/:path] Returns a file\\ +optional url parameters: (default) \texttt{view=meta} or \texttt{raw} or other views depending on the file type +\item[post /projects/:project\_name/files/:path] Uploads a file\\ +optional url parameters: \texttt{action=set\_metadata, mkdir, delete, move, copy}, \texttt{overwrite=true, false}, \texttt{offset=int}, \texttt{truncate= true, false} and \texttt{final=true, false} \item[get /projects/:project\_name/files\_by\_id/:id] Returns a file \end{description} \ No newline at end of file -- cgit v1.2.1 From 7f23742f3dce6e5ced1683e69a03f28f011df156 Mon Sep 17 00:00:00 2001 From: Hafeez Date: Sun, 22 Apr 2018 16:54:43 +0100 Subject: added to individual contribtion --- report/deliverable-3/main.synctex.gz | Bin 100133 -> 94619 bytes report/deliverable-3/texts/contributions.tex | 3 +++ 2 files changed, 3 insertions(+) diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz index b03a4b0..aba4dff 100644 Binary files a/report/deliverable-3/main.synctex.gz and b/report/deliverable-3/main.synctex.gz differ diff --git a/report/deliverable-3/texts/contributions.tex b/report/deliverable-3/texts/contributions.tex index bc448bb..46b0ce8 100644 --- a/report/deliverable-3/texts/contributions.tex +++ b/report/deliverable-3/texts/contributions.tex @@ -5,3 +5,6 @@ \subsection{Johannes Weck} Throughout the development of our back-end server, I was responsible for thorough testing, which involved writing unit tests with mocha and chai, running integration tests through Postman as well as identifying and fixing bugs. During the last sprint I worked closely with Hafeez using pair-programming to resolve a range of issues flagged by the tests. Furthermore, I worked with Tom and Callum finalizing server-side file-management. \subsection{Hafeez Abdul-Rehaman} +My role in the development of the server, involved producing the authentication system and providing security to each of the routes in the RESTful API. This was done through node.js libraries including \textit{passportjs} and \textit{jsonwebtokens}. I also tested the functionality of this after implementation to ensure it was working using tools such as Postman and curl. Whilst also conducting tests for authentication, I assisted Johannes in running and resolving test issues found in other parts of the implementation. By using more than one team member on larger tasks, it took less time to solve these problems. This took a considerable amount of time during the last sprint, as testing was required to be much larger and thorough for the fully implemented system. During the later sprints, I was also designated as scrum master. This meant I was responsible for organising tasks and managing time, and removing obstacles the team may face. + +As a team member, I did not feel that there were any major obstacles which impeded the development of the system. However, there were some issues regarding time and managing work set out by other modules within the Computer Science course. Some sprints clashed with other pieces of coursework that also needed to be completed. Therefore, additional care was needed when organising tasks related to the project and planning was required for an extended period of time which would overlap other upcoming coursework deadlines. This way as a team we could plan around other unrelated submissions. \ No newline at end of file -- cgit v1.2.1 From 3b4092ba59488e66054b222335b925518635435a Mon Sep 17 00:00:00 2001 From: jw255 Date: Sun, 22 Apr 2018 17:03:35 +0100 Subject: updated readme --- README.md | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index e3925ea..a3603e3 100644 --- a/README.md +++ b/README.md @@ -2,27 +2,17 @@ ## Instructions to install: -$ ./getmenode.sh -$ npm install all +$ ./getmeall.sh +$ yarn -## Instructions to install postgres locally (on lab machines): +## Instructions to run postgres: -$ ./getmepostgres.sh +$ ./runmepostgres.sh -## Instructions to execute: +## Instructions to run server: -$ ./runmenode.sh - -// alternative for home pc: -$ npm start +$ yarn start ## To test: -$ npm test --- these tests should always pass (when the server is up and running ofc) - -## Sources: -http://mherman.org/blog/2016/11/05/developing-a-restful-api-with-node-and-typescript/#.WlW1fhdpw8o -https://basarat.gitbooks.io/typescript/docs/quick/nodejs.html -https://github.com/RobinBuschmann/sequelize-typescript -https://sequelize.readthedocs.io/en/v3/ +$ yarn test -- cgit v1.2.1 From ce448f38b3372f5f0a08b54f88858406adc629d4 Mon Sep 17 00:00:00 2001 From: Hafeez Date: Sun, 22 Apr 2018 17:04:04 +0100 Subject: again no reason --- report/deliverable-3/main.toc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report/deliverable-3/main.toc b/report/deliverable-3/main.toc index f1598f7..5b9399b 100644 --- a/report/deliverable-3/main.toc +++ b/report/deliverable-3/main.toc @@ -33,4 +33,4 @@ \contentsline {subsection}{\numberline {9.3}Calum Duff}{10}{subsection.9.3} \contentsline {subsection}{\numberline {9.4}Johannes Weck}{10}{subsection.9.4} \contentsline {subsection}{\numberline {9.5}Hafeez Abdul-Rehaman}{10}{subsection.9.5} -\contentsline {section}{\numberline {A}Scrum Board Images}{11}{appendix.A} +\contentsline {section}{\numberline {A}Scrum Board Images}{12}{appendix.A} -- cgit v1.2.1 From dbdb622b1a40b04d03a176c5b7f6cfe0d6c83f23 Mon Sep 17 00:00:00 2001 From: jw255 Date: Sun, 22 Apr 2018 20:24:50 +0100 Subject: added code section --- report/deliverable-3/main.out | 63 +++--- report/deliverable-3/main.synctex.gz | Bin 0 -> 105666 bytes report/deliverable-3/main.tex | 1 + report/deliverable-3/main.toc | 63 +++--- report/deliverable-3/texts/code.tex | 6 + test/postman.json | 365 ++++++++++++++++++++++++----------- 6 files changed, 322 insertions(+), 176 deletions(-) create mode 100644 report/deliverable-3/main.synctex.gz create mode 100644 report/deliverable-3/texts/code.tex diff --git a/report/deliverable-3/main.out b/report/deliverable-3/main.out index 5d8e1e5..738ad91 100644 --- a/report/deliverable-3/main.out +++ b/report/deliverable-3/main.out @@ -4,33 +4,36 @@ \BOOKMARK [1][-]{section.3}{Continued use of Scrum}{}% 4 \BOOKMARK [2][-]{subsection.3.1}{Sprints}{section.3}% 5 \BOOKMARK [2][-]{subsection.3.2}{Scrum board}{section.3}% 6 -\BOOKMARK [1][-]{section.4}{File Conversion}{}% 7 -\BOOKMARK [2][-]{subsection.4.1}{Dealing with Images}{section.4}% 8 -\BOOKMARK [3][-]{subsubsection.4.1.1}{Extraction of Zeiss Within `C'}{subsection.4.1}% 9 -\BOOKMARK [3][-]{subsubsection.4.1.2}{Converting Extracted Files}{subsection.4.1}% 10 -\BOOKMARK [3][-]{subsubsection.4.1.3}{Stitching Base Tiles}{subsection.4.1}% 11 -\BOOKMARK [3][-]{subsubsection.4.1.4}{Building Up Hierarchy of Zoom Levels}{subsection.4.1}% 12 -\BOOKMARK [2][-]{subsection.4.2}{Leica \046 Other Formats}{section.4}% 13 -\BOOKMARK [2][-]{subsection.4.3}{Non image formats \(.csv etc.\)}{section.4}% 14 -\BOOKMARK [1][-]{section.5}{File Management}{}% 15 -\BOOKMARK [2][-]{subsection.5.1}{Directory Structure}{section.5}% 16 -\BOOKMARK [2][-]{subsection.5.2}{File Upload and Download}{section.5}% 17 -\BOOKMARK [1][-]{section.6}{Testing}{}% 18 -\BOOKMARK [2][-]{subsection.6.1}{Using Mocha and Postman}{section.6}% 19 -\BOOKMARK [2][-]{subsection.6.2}{Integration Testing}{section.6}% 20 -\BOOKMARK [3][-]{subsubsection.6.2.1}{CORS}{subsection.6.2}% 21 -\BOOKMARK [1][-]{section.7}{Process Management and Deployment}{}% 22 -\BOOKMARK [2][-]{subsection.7.1}{Process Manager Selection}{section.7}% 23 -\BOOKMARK [2][-]{subsection.7.2}{pm2 and KeyMetrics}{section.7}% 24 -\BOOKMARK [2][-]{subsection.7.3}{Process Limitations}{section.7}% 25 -\BOOKMARK [2][-]{subsection.7.4}{Heroku Hosting}{section.7}% 26 -\BOOKMARK [2][-]{subsection.7.5}{External System Hosting}{section.7}% 27 -\BOOKMARK [1][-]{section.8}{Conclusion}{}% 28 -\BOOKMARK [2][-]{subsection.8.1}{Future Development}{section.8}% 29 -\BOOKMARK [1][-]{section.9}{Individual Contributions}{}% 30 -\BOOKMARK [2][-]{subsection.9.1}{Tom Harley}{section.9}% 31 -\BOOKMARK [2][-]{subsection.9.2}{Josh Lee}{section.9}% 32 -\BOOKMARK [2][-]{subsection.9.3}{Calum Duff}{section.9}% 33 -\BOOKMARK [2][-]{subsection.9.4}{Johannes Weck}{section.9}% 34 -\BOOKMARK [2][-]{subsection.9.5}{Hafeez Abdul-Rehaman}{section.9}% 35 -\BOOKMARK [1][-]{appendix.A}{Scrum Board Images}{}% 36 +\BOOKMARK [1][-]{section.4}{Code Quality}{}% 7 +\BOOKMARK [2][-]{subsection.4.1}{Linter}{section.4}% 8 +\BOOKMARK [2][-]{subsection.4.2}{Scripts}{section.4}% 9 +\BOOKMARK [1][-]{section.5}{File Conversion}{}% 10 +\BOOKMARK [2][-]{subsection.5.1}{Dealing with Images}{section.5}% 11 +\BOOKMARK [3][-]{subsubsection.5.1.1}{Extraction of Zeiss Within `C'}{subsection.5.1}% 12 +\BOOKMARK [3][-]{subsubsection.5.1.2}{Converting Extracted Files}{subsection.5.1}% 13 +\BOOKMARK [3][-]{subsubsection.5.1.3}{Stitching Base Tiles}{subsection.5.1}% 14 +\BOOKMARK [3][-]{subsubsection.5.1.4}{Building Up Hierarchy of Zoom Levels}{subsection.5.1}% 15 +\BOOKMARK [2][-]{subsection.5.2}{Leica \046 Other Formats}{section.5}% 16 +\BOOKMARK [2][-]{subsection.5.3}{Non image formats \(.csv etc.\)}{section.5}% 17 +\BOOKMARK [1][-]{section.6}{File Management}{}% 18 +\BOOKMARK [2][-]{subsection.6.1}{Directory Structure}{section.6}% 19 +\BOOKMARK [2][-]{subsection.6.2}{File Upload and Download}{section.6}% 20 +\BOOKMARK [1][-]{section.7}{Testing}{}% 21 +\BOOKMARK [2][-]{subsection.7.1}{Using Mocha and Postman}{section.7}% 22 +\BOOKMARK [2][-]{subsection.7.2}{Integration Testing}{section.7}% 23 +\BOOKMARK [3][-]{subsubsection.7.2.1}{CORS}{subsection.7.2}% 24 +\BOOKMARK [1][-]{section.8}{Process Management and Deployment}{}% 25 +\BOOKMARK [2][-]{subsection.8.1}{Process Manager Selection}{section.8}% 26 +\BOOKMARK [2][-]{subsection.8.2}{pm2 and KeyMetrics}{section.8}% 27 +\BOOKMARK [2][-]{subsection.8.3}{Process Limitations}{section.8}% 28 +\BOOKMARK [2][-]{subsection.8.4}{Heroku Hosting}{section.8}% 29 +\BOOKMARK [2][-]{subsection.8.5}{External System Hosting}{section.8}% 30 +\BOOKMARK [1][-]{section.9}{Conclusion}{}% 31 +\BOOKMARK [2][-]{subsection.9.1}{Future Development}{section.9}% 32 +\BOOKMARK [1][-]{section.10}{Individual Contributions}{}% 33 +\BOOKMARK [2][-]{subsection.10.1}{Tom Harley}{section.10}% 34 +\BOOKMARK [2][-]{subsection.10.2}{Josh Lee}{section.10}% 35 +\BOOKMARK [2][-]{subsection.10.3}{Calum Duff}{section.10}% 36 +\BOOKMARK [2][-]{subsection.10.4}{Johannes Weck}{section.10}% 37 +\BOOKMARK [2][-]{subsection.10.5}{Hafeez Abdul-Rehaman}{section.10}% 38 +\BOOKMARK [1][-]{appendix.A}{Scrum Board Images}{}% 39 diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz new file mode 100644 index 0000000..a89fc1a Binary files /dev/null and b/report/deliverable-3/main.synctex.gz differ diff --git a/report/deliverable-3/main.tex b/report/deliverable-3/main.tex index 3d02f11..ee3a4b0 100644 --- a/report/deliverable-3/main.tex +++ b/report/deliverable-3/main.tex @@ -36,6 +36,7 @@ \input{texts/aims} \input{texts/work} \input{texts/scrum} + \input{texts/code} \input{texts/conversion} \input{texts/files} \input{texts/testing} diff --git a/report/deliverable-3/main.toc b/report/deliverable-3/main.toc index f1598f7..67e0933 100644 --- a/report/deliverable-3/main.toc +++ b/report/deliverable-3/main.toc @@ -4,33 +4,36 @@ \contentsline {section}{\numberline {3}Continued use of Scrum}{3}{section.3} \contentsline {subsection}{\numberline {3.1}Sprints}{4}{subsection.3.1} \contentsline {subsection}{\numberline {3.2}Scrum board}{4}{subsection.3.2} -\contentsline {section}{\numberline {4}File Conversion}{4}{section.4} -\contentsline {subsection}{\numberline {4.1}Dealing with Images}{4}{subsection.4.1} -\contentsline {subsubsection}{\numberline {4.1.1}Extraction of Zeiss Within `C'}{5}{subsubsection.4.1.1} -\contentsline {subsubsection}{\numberline {4.1.2}Converting Extracted Files}{5}{subsubsection.4.1.2} -\contentsline {subsubsection}{\numberline {4.1.3}Stitching Base Tiles}{6}{subsubsection.4.1.3} -\contentsline {subsubsection}{\numberline {4.1.4}Building Up Hierarchy of Zoom Levels}{6}{subsubsection.4.1.4} -\contentsline {subsection}{\numberline {4.2}Leica \& Other Formats}{6}{subsection.4.2} -\contentsline {subsection}{\numberline {4.3}Non image formats (\texttt {.csv} etc.)}{7}{subsection.4.3} -\contentsline {section}{\numberline {5}File Management}{7}{section.5} -\contentsline {subsection}{\numberline {5.1}Directory Structure}{7}{subsection.5.1} -\contentsline {subsection}{\numberline {5.2}File Upload and Download}{7}{subsection.5.2} -\contentsline {section}{\numberline {6}Testing}{7}{section.6} -\contentsline {subsection}{\numberline {6.1}Using Mocha and Postman}{8}{subsection.6.1} -\contentsline {subsection}{\numberline {6.2}Integration Testing}{8}{subsection.6.2} -\contentsline {subsubsection}{\numberline {6.2.1}CORS}{8}{subsubsection.6.2.1} -\contentsline {section}{\numberline {7}Process Management and Deployment}{8}{section.7} -\contentsline {subsection}{\numberline {7.1}Process Manager Selection}{8}{subsection.7.1} -\contentsline {subsection}{\numberline {7.2}pm2 and KeyMetrics}{9}{subsection.7.2} -\contentsline {subsection}{\numberline {7.3}Process Limitations}{9}{subsection.7.3} -\contentsline {subsection}{\numberline {7.4}Heroku Hosting}{9}{subsection.7.4} -\contentsline {subsection}{\numberline {7.5}External System Hosting}{9}{subsection.7.5} -\contentsline {section}{\numberline {8}Conclusion}{10}{section.8} -\contentsline {subsection}{\numberline {8.1}Future Development}{10}{subsection.8.1} -\contentsline {section}{\numberline {9}Individual Contributions}{10}{section.9} -\contentsline {subsection}{\numberline {9.1}Tom Harley}{10}{subsection.9.1} -\contentsline {subsection}{\numberline {9.2}Josh Lee}{10}{subsection.9.2} -\contentsline {subsection}{\numberline {9.3}Calum Duff}{10}{subsection.9.3} -\contentsline {subsection}{\numberline {9.4}Johannes Weck}{10}{subsection.9.4} -\contentsline {subsection}{\numberline {9.5}Hafeez Abdul-Rehaman}{10}{subsection.9.5} -\contentsline {section}{\numberline {A}Scrum Board Images}{11}{appendix.A} +\contentsline {section}{\numberline {4}Code Quality}{4}{section.4} +\contentsline {subsection}{\numberline {4.1}Linter}{4}{subsection.4.1} +\contentsline {subsection}{\numberline {4.2}Scripts}{4}{subsection.4.2} +\contentsline {section}{\numberline {5}File Conversion}{4}{section.5} +\contentsline {subsection}{\numberline {5.1}Dealing with Images}{5}{subsection.5.1} +\contentsline {subsubsection}{\numberline {5.1.1}Extraction of Zeiss Within `C'}{5}{subsubsection.5.1.1} +\contentsline {subsubsection}{\numberline {5.1.2}Converting Extracted Files}{5}{subsubsection.5.1.2} +\contentsline {subsubsection}{\numberline {5.1.3}Stitching Base Tiles}{6}{subsubsection.5.1.3} +\contentsline {subsubsection}{\numberline {5.1.4}Building Up Hierarchy of Zoom Levels}{6}{subsubsection.5.1.4} +\contentsline {subsection}{\numberline {5.2}Leica \& Other Formats}{7}{subsection.5.2} +\contentsline {subsection}{\numberline {5.3}Non image formats (\texttt {.csv} etc.)}{7}{subsection.5.3} +\contentsline {section}{\numberline {6}File Management}{7}{section.6} +\contentsline {subsection}{\numberline {6.1}Directory Structure}{7}{subsection.6.1} +\contentsline {subsection}{\numberline {6.2}File Upload and Download}{7}{subsection.6.2} +\contentsline {section}{\numberline {7}Testing}{8}{section.7} +\contentsline {subsection}{\numberline {7.1}Using Mocha and Postman}{8}{subsection.7.1} +\contentsline {subsection}{\numberline {7.2}Integration Testing}{8}{subsection.7.2} +\contentsline {subsubsection}{\numberline {7.2.1}CORS}{8}{subsubsection.7.2.1} +\contentsline {section}{\numberline {8}Process Management and Deployment}{8}{section.8} +\contentsline {subsection}{\numberline {8.1}Process Manager Selection}{9}{subsection.8.1} +\contentsline {subsection}{\numberline {8.2}pm2 and KeyMetrics}{9}{subsection.8.2} +\contentsline {subsection}{\numberline {8.3}Process Limitations}{9}{subsection.8.3} +\contentsline {subsection}{\numberline {8.4}Heroku Hosting}{9}{subsection.8.4} +\contentsline {subsection}{\numberline {8.5}External System Hosting}{9}{subsection.8.5} +\contentsline {section}{\numberline {9}Conclusion}{10}{section.9} +\contentsline {subsection}{\numberline {9.1}Future Development}{10}{subsection.9.1} +\contentsline {section}{\numberline {10}Individual Contributions}{10}{section.10} +\contentsline {subsection}{\numberline {10.1}Tom Harley}{10}{subsection.10.1} +\contentsline {subsection}{\numberline {10.2}Josh Lee}{10}{subsection.10.2} +\contentsline {subsection}{\numberline {10.3}Calum Duff}{10}{subsection.10.3} +\contentsline {subsection}{\numberline {10.4}Johannes Weck}{10}{subsection.10.4} +\contentsline {subsection}{\numberline {10.5}Hafeez Abdul-Rehaman}{10}{subsection.10.5} +\contentsline {section}{\numberline {A}Scrum Board Images}{12}{appendix.A} diff --git a/report/deliverable-3/texts/code.tex b/report/deliverable-3/texts/code.tex new file mode 100644 index 0000000..6fe316b --- /dev/null +++ b/report/deliverable-3/texts/code.tex @@ -0,0 +1,6 @@ +\section{Code Quality} +\subsection{Linter} +To ensure code clarity and quality, we decided to use the linter `ts-lint'. This did not only help us create professional-style code but also aided in avoiding bugs early by catching out common errors. The linter was integrated with our editors as well as yarn as to automate its work-flow. + +\subsection{Scripts} +Several scripts were created to automate the installation and execution process. \ No newline at end of file diff --git a/test/postman.json b/test/postman.json index 164bdc1..6d8541b 100644 --- a/test/postman.json +++ b/test/postman.json @@ -1,64 +1,193 @@ { + "variables": [], "info": { "name": "JH", - "_postman_id": "323a3189-bd95-4f51-b985-d2ca626300ec", + "_postman_id": "d9fad1ce-92af-fc2c-ff74-074fc681c7ee", "description": "", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" }, "item": [ { "name": "authorised", - "description": null, + "description": "", "item": [ { - "name": "/projects", + "name": "/projects/", "request": { - "auth": { - "type": "bearer", - "bearer": [ + "url": { + "raw": "{{host}}/{{endpoint}}/projects/other?action=create", + "host": [ + "{{host}}" + ], + "path": [ + "{{endpoint}}", + "projects", + "other" + ], + "query": [ { - "key": "token", - "value": "{{access_token}}", - "type": "string" + "key": "action", + "value": "create", + "equals": true, + "description": "" } - ] + ], + "variable": [] }, - "method": "GET", + "method": "POST", "header": [ { - "key": "", - "value": "", + "key": "Content-Type", + "value": "application/json", + "description": "" + }, + { + "key": "Authorization", + "value": "Bearer {{access_token}}", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "/projects/abc/files", + "request": { + "url": "{{host}}/{{endpoint}}/projects/{{dummy_project}}/files/file", + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{access_token}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "", "disabled": true } ], - "body": {}, + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "userfile", + "description": "", + "type": "file", + "src": "checker_black.jpg" + } + ] + }, + "description": "" + }, + "response": [] + }, + { + "name": "/projects/abc/files copy", + "request": { "url": { - "raw": "{{host}}/{{endpoint}}/projects", + "raw": "{{host}}/{{endpoint}}/projects/{{dummy_project}}/files/file?action=move", "host": [ "{{host}}" ], "path": [ "{{endpoint}}", - "projects" - ] + "projects", + "{{dummy_project}}", + "files", + "file" + ], + "query": [ + { + "key": "action", + "value": "move", + "equals": true, + "description": "" + } + ], + "variable": [] + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{access_token}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"path\": \"newFile\"\n}" }, "description": "" }, "response": [] }, { - "name": "/log", + "name": "/projects/abc/files", "request": { - "auth": { - "type": "bearer", - "bearer": [ + "url": "{{host}}/{{endpoint}}/projects/{{dummy_project}}/files/", + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{access_token}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "image/png", + "description": "", + "disabled": true + } + ], + "body": { + "mode": "formdata", + "formdata": [ { - "key": "token", - "value": "{{access_token}}", - "type": "string" + "key": "pres", + "value": "", + "description": "", + "type": "file" } ] }, + "description": "" + }, + "response": [] + }, + { + "name": "/projects", + "request": { + "url": "{{host}}/{{endpoint}}/projects", + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{access_token}}", + "description": "" + } + ], + "body": {}, + "description": "" + }, + "response": [] + }, + { + "name": "/log", + "request": { + "url": "{{host}}/{{endpoint}}/log", "method": "GET", "header": [ { @@ -67,16 +196,9 @@ "disabled": true } ], - "body": {}, - "url": { - "raw": "{{host}}/{{endpoint}}/log", - "host": [ - "{{host}}" - ], - "path": [ - "{{endpoint}}", - "log" - ] + "body": { + "mode": "raw", + "raw": "" }, "description": "" }, @@ -85,28 +207,17 @@ { "name": "/_supported_protocols", "request": { - "auth": { - "type": "noauth" - }, + "url": "{{host}}/{{endpoint}}/_supported_protocols_", "method": "GET", "header": [ { - "key": "", - "value": "", + "key": "Authorization", + "value": "Bearer {{access_token}}", + "description": "", "disabled": true } ], "body": {}, - "url": { - "raw": "{{host}}/{{endpoint}}/_supported_protocols_", - "host": [ - "{{host}}" - ], - "path": [ - "{{endpoint}}", - "_supported_protocols_" - ] - }, "description": "" }, "response": [] @@ -114,74 +225,120 @@ { "name": "/project_roles", "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{access_token}}", - "type": "string" - } - ] - }, + "url": "{{host}}/{{endpoint}}/project_roles", "method": "GET", "header": [ { - "key": "", - "value": "", + "key": "Authorization", + "value": "Bearer {{access_token}}", + "description": "", "disabled": true } ], "body": {}, - "url": { - "raw": "{{host}}/{{endpoint}}/project_roles", - "host": [ - "{{host}}" - ], - "path": [ - "{{endpoint}}", - "project_roles" - ] - }, "description": "" }, "response": [] }, { - "name": "/projects/", + "name": "/project_roles copy", + "request": { + "url": "{{host}}/{{endpoint}}/current_user", + "method": "GET", + "header": [ + { + "key": "authorization", + "value": "bearer {{access_token}}", + "description": "" + } + ], + "body": {}, + "description": "" + }, + "response": [] + }, + { + "name": "/projects/abc/files_by_id", "request": { - "auth": { - "type": "bearer", - "bearer": [ + "url": "{{host}}/{{endpoint}}/projects/{{dummy_project}}/files_by_id/d124ef49-e9e3-4794-bf50-76f40797b5d5", + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{access_token}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "image/png", + "description": "", + "disabled": true + } + ], + "body": { + "mode": "formdata", + "formdata": [ { - "key": "token", - "value": "{{access_token}}", - "type": "string" + "key": "pres", + "value": "", + "description": "", + "type": "file" } ] }, + "description": "" + }, + "response": [] + }, + { + "name": "/", + "request": { + "url": "{{host}}/", + "method": "GET", + "header": [], + "body": {}, + "description": "" + }, + "response": [] + }, + { + "name": "/properties", + "request": { + "url": "{{host}}/{{endpoint}}/properties", + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{access_token}}", + "description": "" + } + ], + "body": {}, + "description": "" + }, + "response": [] + }, + { + "name": "/projects/ copy", + "request": { + "url": "{{host}}/{{endpoint}}/projects/{{dummy_project}}", "method": "POST", "header": [ { "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" + }, + { + "key": "Authorization", + "value": "Bearer {{access_token}}", + "description": "" } ], "body": { "mode": "raw", "raw": "{}" }, - "url": { - "raw": "{{host}}/{{endpoint}}/projects/{{dummy_project}}", - "host": [ - "{{host}}" - ], - "path": [ - "{{endpoint}}", - "projects", - "{{dummy_project}}" - ] - }, "description": "" }, "response": [] @@ -191,20 +348,9 @@ { "name": "/oauth/token", "event": [ - { - "listen": "prerequest", - "script": { - "id": "7cbb2980-4092-4675-af5e-cfcbd1c00b81", - "type": "text/javascript", - "exec": [ - "" - ] - } - }, { "listen": "test", "script": { - "id": "7ce27395-de92-457b-97cc-7728824c821d", "type": "text/javascript", "exec": [ "let res = JSON.parse(responseBody);", @@ -215,9 +361,7 @@ } ], "request": { - "auth": { - "type": "noauth" - }, + "url": "{{host}}/{{endpoint}}/oauth/token", "method": "POST", "header": [ { @@ -248,17 +392,6 @@ } ] }, - "url": { - "raw": "{{host}}/{{endpoint}}/oauth/token", - "host": [ - "{{host}}" - ], - "path": [ - "{{endpoint}}", - "oauth", - "token" - ] - }, "description": "wefrwrbjk;" }, "response": [] -- cgit v1.2.1 From 5c963cb883f450ad6c46bea7680be1e04ce08147 Mon Sep 17 00:00:00 2001 From: Hafeez Date: Sun, 22 Apr 2018 20:30:22 +0100 Subject: put .gz in ignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index e40e9c6..d67b619 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,5 @@ docs/ # project files files/* + +report/deliverable-3/main.synctex.gz -- cgit v1.2.1 From 0df41ac2921d4ecbc96a247dea4bb98e0e1c1776 Mon Sep 17 00:00:00 2001 From: jw255 Date: Sun, 22 Apr 2018 20:37:19 +0100 Subject: added postman env --- test/JH.postman_environment.json | 52 +++++++++ test/postman.json.json | 245 --------------------------------------- 2 files changed, 52 insertions(+), 245 deletions(-) create mode 100644 test/JH.postman_environment.json delete mode 100644 test/postman.json.json diff --git a/test/JH.postman_environment.json b/test/JH.postman_environment.json new file mode 100644 index 0000000..86ea0a4 --- /dev/null +++ b/test/JH.postman_environment.json @@ -0,0 +1,52 @@ +{ + "id": "ddad923b-9750-c337-ff49-6ee328a72e20", + "name": "JH", + "values": [ + { + "enabled": true, + "key": "host", + "value": "http://localhost:3000", + "type": "text" + }, + { + "enabled": true, + "key": "endpoint", + "value": "cs3099group-be-4", + "type": "text" + }, + { + "enabled": true, + "key": "dummy_admin_username", + "value": "hafeez", + "type": "text" + }, + { + "enabled": true, + "key": "dummy_admin_pass", + "value": "pass", + "type": "text" + }, + { + "enabled": true, + "key": "dummy_project", + "value": "abc", + "type": "text" + }, + { + "enabled": true, + "key": "access_token", + "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJvYmplY3QiOnsidXNlcm5hbWUiOiJoYWZlZXoiLCJwYXNzd29yZEludGVybmFsIjpudWxsLCJjcmVhdGlvbkRhdGUiOiIyMDE4LTA0LTIxVDIyOjAwOjAxLjY3MloiLCJ1cGRhdGVkQXQiOiIyMDE4LTA0LTIxVDIyOjAwOjAxLjY3MloiLCJ1c2VyR3JvdXBzIjpbeyJpZCI6MSwibmFtZSI6ImxvZ2dpbmciLCJjYW5DcmVhdGVVc2VycyI6bnVsbCwiY2FuRGVsZXRlVXNlcnMiOm51bGwsImNhbkVkaXRVc2VycyI6bnVsbCwiY2FuQ3JlYXRlUHJvamVjdHMiOm51bGwsImNhbkRlbGV0ZVByb2plY3RzIjpudWxsLCJjYW5FZGl0UHJvamVjdHMiOm51bGwsImNhbkFjY2Vzc0xvZ3MiOnRydWUsImlzSW50ZXJuYWwiOmZhbHNlLCJkZXNjcmlwdGlvbiI6IkFsbG93cyBQb3N0IHRvIExvZyIsIlVzZXJIYXNQcml2aWxlZ2UiOnsidXNlcm5hbWUiOiJoYWZlZXoiLCJwcml2aWxlZ2VJZCI6MX19LHsiaWQiOjIsIm5hbWUiOiJhZG1pbiIsImNhbkNyZWF0ZVVzZXJzIjp0cnVlLCJjYW5EZWxldGVVc2VycyI6dHJ1ZSwiY2FuRWRpdFVzZXJzIjp0cnVlLCJjYW5DcmVhdGVQcm9qZWN0cyI6dHJ1ZSwiY2FuRGVsZXRlUHJvamVjdHMiOnRydWUsImNhbkVkaXRQcm9qZWN0cyI6dHJ1ZSwiY2FuQWNjZXNzTG9ncyI6bnVsbCwiaXNJbnRlcm5hbCI6ZmFsc2UsImRlc2NyaXB0aW9uIjoiU3lzdGVtcyBhZG1pbiIsIlVzZXJIYXNQcml2aWxlZ2UiOnsidXNlcm5hbWUiOiJoYWZlZXoiLCJwcml2aWxlZ2VJZCI6Mn19XSwicHJvamVjdHMiOltdfSwiaWF0IjoxNTI0NDEzMzE1LCJleHAiOjE1MjQ0MzQ5MTV9.s7R5EEeUJSmukA58fMQmAcCDH0GttXFf54e5syWxeR0", + "type": "text" + }, + { + "enabled": true, + "key": "refresh_token", + "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJvYmplY3QiOnsidXNlcm5hbWUiOiJoYWZlZXoiLCJwYXNzd29yZEludGVybmFsIjpudWxsLCJjcmVhdGlvbkRhdGUiOiIyMDE4LTA0LTIxVDIyOjAwOjAxLjY3MloiLCJ1cGRhdGVkQXQiOiIyMDE4LTA0LTIxVDIyOjAwOjAxLjY3MloiLCJ1c2VyR3JvdXBzIjpbeyJpZCI6MSwibmFtZSI6ImxvZ2dpbmciLCJjYW5DcmVhdGVVc2VycyI6bnVsbCwiY2FuRGVsZXRlVXNlcnMiOm51bGwsImNhbkVkaXRVc2VycyI6bnVsbCwiY2FuQ3JlYXRlUHJvamVjdHMiOm51bGwsImNhbkRlbGV0ZVByb2plY3RzIjpudWxsLCJjYW5FZGl0UHJvamVjdHMiOm51bGwsImNhbkFjY2Vzc0xvZ3MiOnRydWUsImlzSW50ZXJuYWwiOmZhbHNlLCJkZXNjcmlwdGlvbiI6IkFsbG93cyBQb3N0IHRvIExvZyIsIlVzZXJIYXNQcml2aWxlZ2UiOnsidXNlcm5hbWUiOiJoYWZlZXoiLCJwcml2aWxlZ2VJZCI6MX19LHsiaWQiOjIsIm5hbWUiOiJhZG1pbiIsImNhbkNyZWF0ZVVzZXJzIjp0cnVlLCJjYW5EZWxldGVVc2VycyI6dHJ1ZSwiY2FuRWRpdFVzZXJzIjp0cnVlLCJjYW5DcmVhdGVQcm9qZWN0cyI6dHJ1ZSwiY2FuRGVsZXRlUHJvamVjdHMiOnRydWUsImNhbkVkaXRQcm9qZWN0cyI6dHJ1ZSwiY2FuQWNjZXNzTG9ncyI6bnVsbCwiaXNJbnRlcm5hbCI6ZmFsc2UsImRlc2NyaXB0aW9uIjoiU3lzdGVtcyBhZG1pbiIsIlVzZXJIYXNQcml2aWxlZ2UiOnsidXNlcm5hbWUiOiJoYWZlZXoiLCJwcml2aWxlZ2VJZCI6Mn19XSwicHJvamVjdHMiOltdfSwiaWF0IjoxNTI0NDEzMzE1LCJleHAiOjE1MjQ0MzQ5MTV9.s7R5EEeUJSmukA58fMQmAcCDH0GttXFf54e5syWxeR0", + "type": "text" + } + ], + "timestamp": 1524413315075, + "_postman_variable_scope": "environment", + "_postman_exported_at": "2018-04-22T19:36:41.321Z", + "_postman_exported_using": "Postman/5.5.2" +} \ No newline at end of file diff --git a/test/postman.json.json b/test/postman.json.json deleted file mode 100644 index 14771e0..0000000 --- a/test/postman.json.json +++ /dev/null @@ -1,245 +0,0 @@ -{ - "variables": [], - "info": { - "name": "JH", - "_postman_id": "d9fad1ce-92af-fc2c-ff74-074fc681c7ee", - "description": "", - "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" - }, - "item": [ - { - "name": "authorised", - "description": "", - "item": [ - { - "name": "/projects", - "request": { - "url": "{{host}}/{{endpoint}}/projects", - "method": "GET", - "header": [ - { - "key": "", - "value": "", - "disabled": true - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "description": "" - }, - "response": [] - }, - { - "name": "/log", - "request": { - "url": "{{host}}/{{endpoint}}/log", - "method": "GET", - "header": [ - { - "key": "", - "value": "", - "disabled": true - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "description": "" - }, - "response": [] - }, - { - "name": "/_supported_protocols", - "request": { - "url": "{{host}}/{{endpoint}}/_supported_protocols_", - "method": "GET", - "header": [ - { - "key": "Authorization", - "value": "Bearer {{access_token}}", - "description": "", - "disabled": true - } - ], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "/project_roles", - "request": { - "url": "{{host}}/{{endpoint}}/project_roles", - "method": "GET", - "header": [ - { - "key": "Authorization", - "value": "Bearer {{access_token}}", - "description": "", - "disabled": true - } - ], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "/projects/", - "request": { - "url": "{{host}}/{{endpoint}}/projects/{{dummy_project}}", - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "" - }, - { - "key": "Authorization", - "value": "Bearer {{access_token}}", - "description": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}" - }, - "description": "" - }, - "response": [] - }, - { - "name": "/projects/abc/files_by_id", - "request": { - "url": "{{host}}/{{endpoint}}/projects/{{dummy_project}}/files_by_id/d124ef49-e9e3-4794-bf50-76f40797b5d5", - "method": "GET", - "header": [ - { - "key": "Authorization", - "value": "Bearer {{access_token}}", - "description": "" - }, - { - "key": "Content-Type", - "value": "image/png", - "description": "", - "disabled": true - } - ], - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "pres", - "description": "", - "type": "file", - "src": "triangle_down_black.png" - } - ] - }, - "description": "" - }, - "response": [] - }, - { - "name": "/projects/abc/files", - "request": { - "url": "{{host}}/{{endpoint}}/projects/{{dummy_project}}/files/path/to/image.png", - "method": "POST", - "header": [ - { - "key": "Authorization", - "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJvYmplY3QiOnsidXNlcm5hbWUiOiJoYWZlZXoiLCJwYXNzd29yZEludGVybmFsIjpudWxsLCJjcmVhdGlvbkRhdGUiOiIyMDE4LTA0LTE2VDEyOjA1OjUyLjQ2N1oiLCJ1cGRhdGVkQXQiOiIyMDE4LTA0LTE2VDEyOjA1OjUyLjQ2N1oiLCJ1c2VyR3JvdXBzIjpbeyJpZCI6MSwibmFtZSI6ImxvZ2dpbmciLCJjYW5DcmVhdGVVc2VycyI6bnVsbCwiY2FuRGVsZXRlVXNlcnMiOm51bGwsImNhbkVkaXRVc2VycyI6bnVsbCwiY2FuQ3JlYXRlUHJvamVjdHMiOm51bGwsImNhbkRlbGV0ZVByb2plY3RzIjpudWxsLCJjYW5FZGl0UHJvamVjdHMiOm51bGwsImNhbkFjY2Vzc0xvZ3MiOnRydWUsImlzSW50ZXJuYWwiOmZhbHNlLCJkZXNjcmlwdGlvbiI6IkFsbG93cyBQb3N0IHRvIExvZyIsIlVzZXJIYXNQcml2aWxlZ2UiOnsidXNlcm5hbWUiOiJoYWZlZXoiLCJwcml2aWxlZ2VJZCI6MX19LHsiaWQiOjIsIm5hbWUiOiJhZG1pbiIsImNhbkNyZWF0ZVVzZXJzIjp0cnVlLCJjYW5EZWxldGVVc2VycyI6dHJ1ZSwiY2FuRWRpdFVzZXJzIjp0cnVlLCJjYW5DcmVhdGVQcm9qZWN0cyI6dHJ1ZSwiY2FuRGVsZXRlUHJvamVjdHMiOnRydWUsImNhbkVkaXRQcm9qZWN0cyI6dHJ1ZSwiY2FuQWNjZXNzTG9ncyI6bnVsbCwiaXNJbnRlcm5hbCI6ZmFsc2UsImRlc2NyaXB0aW9uIjoiU3lzdGVtcyBhZG1pbiIsIlVzZXJIYXNQcml2aWxlZ2UiOnsidXNlcm5hbWUiOiJoYWZlZXoiLCJwcml2aWxlZ2VJZCI6Mn19XSwicHJvamVjdHMiOltdfSwiaWF0IjoxNTIzODgwMzU2LCJleHAiOjE1MjM5MDE5NTZ9.LrRWCzjBQmPtEkthmPJvVdl6XsYqA4Myqw-VFHMbQ8o", - "description": "" - }, - { - "key": "Content-Type", - "value": "image/png", - "description": "" - } - ], - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "triangle", - "description": "", - "type": "file", - "src": "triangle_down_black.png" - } - ] - }, - "description": "" - }, - "response": [] - }, - { - "name": "/", - "request": { - "url": "{{host}}/", - "method": "GET", - "header": [], - "body": {}, - "description": "" - }, - "response": [] - } - ] - }, - { - "name": "/oauth/token", - "event": [ - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "let res = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"access_token\", res.access_token);", - "postman.setEnvironmentVariable(\"refresh_token\", res.refresh_token);" - ] - } - } - ], - "request": { - "url": "{{host}}/{{endpoint}}/oauth/token", - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/x-www-form-urlencoded" - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "key": "grant_type", - "value": "password", - "description": "", - "type": "text" - }, - { - "key": "username", - "value": "{{dummy_admin_username}}", - "description": "", - "type": "text" - }, - { - "key": "password", - "value": "{{dummy_admin_pass}}", - "description": "", - "type": "text" - } - ] - }, - "description": "wefrwrbjk;" - }, - "response": [] - } - ] -} \ No newline at end of file -- cgit v1.2.1