Skip to content

Commit bca824e

Browse files
author
Ryan Doherty
committed
Merge branch 'master' into hide-jbrowse
2 parents 7cc100c + dd12026 commit bca824e

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

Model/data/create_schema_announce_postgres.sql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
* tables and sequences common to Ebrc websites.
44
*============================================================================*/
55

6-
set role COMM_WDK_W; -- TODO: remove GRANTs
6+
reset role;
77

88
DROP SCHEMA IF EXISTS announce CASCADE;
99
CREATE SCHEMA IF NOT EXISTS announce;
1010
GRANT USAGE ON SCHEMA announce TO COMM_WDK_W;
1111

12+
set role COMM_WDK_W;
13+
1214
/*==============================================================================
1315
* create tables
1416
*============================================================================*/

Model/data/create_schema_uploads_postgres.sql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
set role COMM_WDK_W; -- TODO: remove GRANTs
1+
reset role;
22

33
CREATE SCHEMA IF NOT EXISTS UPLOADS;
44
GRANT USAGE ON SCHEMA UPLOADS TO COMM_WDK_W;
55

6+
set role COMM_WDK_W;
7+
68
CREATE TABLE UPLOADS.USERFILE (
79
USERFILEID BIGINT NOT NULL,
810
FILENAME VARCHAR(255) NOT NULL,

Model/data/create_schema_wdkuser_postgres.sql

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33
* and sequences needed for a properly functioning WDK.
44
*============================================================================*/
55

6-
set role COMM_WDK_W; -- TODO: remove GRANTs
6+
reset role;
77

88
DROP SCHEMA IF EXISTS wdkuser CASCADE;
99
CREATE SCHEMA IF NOT EXISTS wdkuser;
1010
GRANT USAGE ON SCHEMA wdkuser TO COMM_WDK_W;
1111

12+
set role COMM_WDK_W; -- TODO: remove GRANTs
13+
14+
1215
/*==============================================================================
1316
* create tables
1417
*============================================================================*/

0 commit comments

Comments
 (0)