File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
api/src/main/resources/config
yaci-indexer/src/main/resources Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ DB_SECRET=weakpwd#123_d
1717DB_HOST=db
1818# Service name in docker-compose or local db
1919DB_PORT=5432
20- DB_SCHEMA=${NETWORK}
20+ DB_SCHEMA=public
2121DB_PATH=data
2222UPDATE_GENESIS_BLOCK_QUERY="UPDATE devkit.block SET number = 0 WHERE number = -1; UPDATE devkit.block SET prev_hash = 'Genesis' WHERE number = 1"
2323#UPDATE_GENESIS_BLOCK_QUERY="UPDATE devkit.block SET prev_hash = 'Genesis' WHERE number = 1"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ DB_SECRET=weakpwd#123_d
1717DB_HOST=db
1818# Service name in docker-compose or local db
1919DB_PORT=5432
20- DB_SCHEMA=${NETWORK}
20+ DB_SCHEMA=public
2121DB_PATH=data
2222
2323## Cardano Node variables
Original file line number Diff line number Diff line change 66 datasource :
77 username : ${DB_USER:rosetta_db_admin}
88 password : ${DB_SECRET:weakpwd#123_d}
9- url : jdbc:postgresql://${DB_HOST:localhost}:${DB_PORT:5433}/${DB_NAME:test}?currentSchema=${DB_SCHEMA:preprod }
9+ url : jdbc:postgresql://${DB_HOST:localhost}:${DB_PORT:5433}/${DB_NAME:test}?currentSchema=${DB_SCHEMA:public }
1010 hikari :
1111 poolName : " CardanoRosettaJavaDBPool"
1212
Original file line number Diff line number Diff line change 55 datasource :
66 username : rosetta_db_service_user
77 password : weakerpwd#123_d
8- url : jdbc:postgresql://172.16.1.217:5432/rosetta?currentSchema=${DB_SCHEMA:preprod }
8+ url : jdbc:postgresql://172.16.1.217:5432/rosetta?currentSchema=${DB_SCHEMA:public }
99 jpa :
1010 properties :
1111 hibernate :
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ configure_postgres() {
147147}
148148
149149create_database_and_user () {
150- export DB_SCHEMA=$NETWORK
150+ export DB_SCHEMA=public
151151
152152 flag=true
153153 while [ $( sudo -u postgres psql -U postgres -Atc " SELECT pg_is_in_recovery()" ; ) == " t" ]; do
Original file line number Diff line number Diff line change 44# ###################################################
55
66# #################### Postgres DB #######################
7- spring.datasource.url =jdbc:postgresql://${DB_HOST:localhost}:${DB_PORT:5433}/${DB_NAME:rosetta-java}?currentSchema=${DB_SCHEMA:preprod }
7+ spring.datasource.url =jdbc:postgresql://${DB_HOST:localhost}:${DB_PORT:5433}/${DB_NAME:rosetta-java}?currentSchema=${DB_SCHEMA:public }
88spring.datasource.username =${DB_USER:rosetta_db_admin}
99spring.datasource.password =${DB_SECRET:weakpwd#123_d}
You can’t perform that action at this time.
0 commit comments