near / near-indexer-for-explorer

Watch NEAR network and store all the data from NEAR blockchain to PostgreSQL database
https://near-indexers.io/docs/projects/near-indexer-for-explorer
GNU General Public License v3.0
123 stars 56 forks source link

doc: add select privilege by default to all users #194

Closed telezhnaya closed 2 years ago

telezhnaya commented 2 years ago

I added it here as the migration https://github.com/near/near-indexer-for-explorer/blob/master/migrations/2021-06-09-102523_grant_select_on_new_tables/up.sql

But I always forget to run it in all new DBs I'm copy-pasting the code from here It will be easier to fix the source