change permission of the migration script

This commit is contained in:
Hongbo Wu
2023-09-19 22:31:06 +08:00
parent b9af543b45
commit 9cf5d2bc4e

2
packages/db/elastic_migrations/migrate_from_elastic.py Normal file → Executable file
View File

@ -11,7 +11,7 @@ from elasticsearch.helpers import async_scan
PG_HOST = os.getenv('PG_HOST', 'localhost')
PG_PORT = os.getenv('PG_PORT', 5432)
PG_USER = os.getenv('PG_USER', 'hongbowu')
PG_USER = os.getenv('PG_USER', 'app_user')
PG_PASSWORD = os.getenv('PG_PASSWORD', 'app_pass')
PG_DB = os.getenv('PG_DB', 'omnivore')
ES_URL = os.getenv('ES_URL', 'http://localhost:9200')