Go to file
GroovieGermanikus 93fa6c48c4
removed FK contraint on error_code
2024-01-27 09:10:36 +01:00
.github/workflows
.idea
src Creating seperate task to save transaction accounts 2024-01-22 17:48:34 +01:00
.dockerignore
.gitignore
Cargo.lock
Cargo.toml
Dockerfile
README.md
alts.txt
fly.toml
migration.sql removed FK contraint on error_code 2024-01-27 09:10:36 +01:00
run-service-and-cleanup.sh

README.md

TO INSTALL POSTGRES SCHEMA AND DATABASE

sudo -u postgres psql postgres

in postgres

create data create database mangolana; grant all privileges on database mangolana to galactus;

psql -d mangolana < migration.sql

export PG_CONFIG="host=localhost dbname=mangolana user=galactus password=test sslmode=disable"

give rights to user

GRANT ALL PRIVILEGES ON DATABASE mangolana TO galactus; GRANT ALL PRIVILEGES ON SCHEMA banking_stage_results TO galactus; GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA banking_stage_results TO galactus; ALTER DEFAULT PRIVILEGES IN SCHEMA banking_stage_results GRANT ALL PRIVILEGES ON TABLES TO galactus;