Go to file
galactus ccc497bc9d
Merge pull request #1 from grooviegermanikus/groovie/postgres-index-tables
add index + cluster index to blocks + transaction_info
2023-10-18 13:22:45 +02:00
src renaming timestamp and using changing timestamp type 2023-10-17 15:13:42 +02:00
.gitignore Intiail Commit 2023-09-28 16:26:09 +02:00
Cargo.lock making dependencies work with git 2023-10-17 15:40:46 +02:00
Cargo.toml making dependencies work with git 2023-10-17 15:40:46 +02:00
README.md fixing postgres save 2023-10-02 15:23:32 +02:00
migration.sql add index + cluster index to blocks + transaction_info 2023-10-18 12:44:11 +02: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=username password=password sslmode=disable"