diff options
| author | Tom Harley | 2018-03-07 16:02:29 +0000 |
|---|---|---|
| committer | Tom Harley | 2018-03-07 16:02:29 +0000 |
| commit | 40c71289f523ae8139c04052a103c8e61f8701b5 (patch) | |
| tree | a9147451aefaa8d49cd0bdd1b35f96106ea01d82 | |
| parent | Merge branch 'jl247/report' of https://gitlab.cs.st-andrews.ac.uk/cs3099group... (diff) | |
| download | medicine-40c71289f523ae8139c04052a103c8e61f8701b5.tar.gz medicine-40c71289f523ae8139c04052a103c8e61f8701b5.zip | |
Remove logfiles from repository
| -rw-r--r-- | logs/general/critical | 17 | ||||
| -rw-r--r-- | logs/general/queries | 3931 |
2 files changed, 0 insertions, 3948 deletions
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.<anonymous> (/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.<anonymous> (/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.<anonymous> (/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.<anonymous> (/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"} |
