Fix dids dumping
parent
59e343355e
commit
9a520c186e
|
@ -70,10 +70,10 @@ EOF
|
|||
|
||||
echo "Dumping DIDs..."
|
||||
docker compose exec -it postgres psql -U postgres -d bluesky \
|
||||
-c "copy (${posts_query}) to stdout with csv header;" > dids.csv
|
||||
-c "${dids_query}" > dids.csv
|
||||
echo "Done: $(ls -lh dids.csv)"
|
||||
|
||||
docker exec -it plc-postgres-1 psql -U postgres -d plc \
|
||||
-c 'copy (select handle, did as "did:ID" from actors) to stdout with (format csv , header, force_quote ("handle"));' > handles.csv
|
||||
|
||||
# ------------------------------ HANDLES ----------------------------------
|
||||
# ------------------------------ HANDLES ----------------------------------
|
||||
|
|
Loading…
Reference in New Issue