Go to file
GroovieGermanikus 069191439c
add cleanupdb to Dockerfile
2023-12-21 15:28:35 +01:00
.github/workflows
.idea
src clippy+fmt 2023-12-21 14:54:45 +01:00
.dockerignore
.gitignore
Cargo.lock Adding support for address lookup tables (#26) 2023-12-21 11:20:55 +01:00
Cargo.toml Feature/cleanup job (#28) 2023-12-21 14:39:18 +01:00
Dockerfile add cleanupdb to Dockerfile 2023-12-21 15:28:35 +01:00
README.md
fly.toml
migration.sql Adding support for address lookup tables (#26) 2023-12-21 11:20:55 +01:00

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;