Skip to content

localnode: re-added sql files needed to set up#629

Merged
ClaytonNorthey92 merged 2 commits intomainfrom
clayton/re-add-sql
Jul 31, 2025
Merged

localnode: re-added sql files needed to set up#629
ClaytonNorthey92 merged 2 commits intomainfrom
clayton/re-add-sql

Conversation

@ClaytonNorthey92
Copy link
Copy Markdown
Contributor

Summary
re-added sql files needed to set up localnode's bfgd-postgres. these files are used to set up the schema and most were deleted during the rework

fixes #628

Changes
see summary


re-ran locally to test...

docker compose -f ./localnode/docker-compose.yml up bfgd-postgres
$ docker compose -f ./localnode/docker-compose.yml exec -it bfgd-postgres psql -U postgres --host localhost
psql (16.3)
Type "help" for help.

postgres=# \c bfg
You are now connected to database "bfg" as user "postgres".
bfg=# \d
                        List of relations
 Schema |               Name                |   Type   |  Owner   
--------+-----------------------------------+----------+----------
 public | btc_blocks                        | table    | postgres
 public | btc_transaction_broadcast_request | table    | postgres
 public | l2_keystones                      | table    | postgres
 public | pop_basis                         | table    | postgres
 public | pop_basis_id_seq                  | sequence | postgres
 public | version                           | table    | postgres
(6 rows)

re-added sql files needed to set up localnode's bfgd-postgres.  these files are used to set up the schema and most were deleted during the rework

fixes #628
@ClaytonNorthey92 ClaytonNorthey92 requested a review from a team as a code owner July 31, 2025 13:44
@github-actions github-actions bot added the area: bfg This is a change to BFG (Bitcoin Finality Governor) label Jul 31, 2025
Copy link
Copy Markdown
Contributor

@jcvernaleo jcvernaleo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@joshuasing joshuasing changed the title re-added sql files needed to set up localnode localnode: re-added sql files needed to set up Jul 31, 2025
@ClaytonNorthey92 ClaytonNorthey92 merged commit 24239ee into main Jul 31, 2025
10 checks passed
@ClaytonNorthey92 ClaytonNorthey92 deleted the clayton/re-add-sql branch July 31, 2025 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: bfg This is a change to BFG (Bitcoin Finality Governor)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

localnode: bfgd-postgres sql files (mostly) removed with rework

3 participants