diff --git a/src/Miningcore/Persistence/Postgres/Scripts/createdb.sql b/src/Miningcore/Persistence/Postgres/Scripts/createdb.sql index 18c9cf350..b633483cd 100644 --- a/src/Miningcore/Persistence/Postgres/Scripts/createdb.sql +++ b/src/Miningcore/Persistence/Postgres/Scripts/createdb.sql @@ -1,4 +1,4 @@ -set role miningcore; +SET ROLE miningcore; CREATE TABLE shares ( diff --git a/src/Miningcore/Persistence/Postgres/Scripts/createdb_postgresql_11_appendix.sql b/src/Miningcore/Persistence/Postgres/Scripts/createdb_postgresql_11_appendix.sql index a76f61c73..6d2755b0b 100644 --- a/src/Miningcore/Persistence/Postgres/Scripts/createdb_postgresql_11_appendix.sql +++ b/src/Miningcore/Persistence/Postgres/Scripts/createdb_postgresql_11_appendix.sql @@ -1,3 +1,5 @@ +SET ROLE miningcore; + DROP TABLE shares; CREATE TABLE shares