Deleted the contract in postgre database by mistake
App Development3 posts183 viewsLast activity Jul 2022
SK
skylornaOP
Jul 2022CO
cocreature
Jul 2022In general, you should never interact directly with the PostgreSQL database of either the JSON API (the docs you’re pointing to) or the underlying ledger.
If you archive a contract (I assume you mean that by “delete”), you could query the transaction stream to see how it was created and recreate it. Note that this will change the contract id though.
SK
skylorna
Jul 2022thank you I confused the query store with the persistent store
