Skip to content

Commit

Permalink
Merge pull request #22 from decentraland/fix/update-indexers
Browse files Browse the repository at this point in the history
feat: update indexers table correctly
  • Loading branch information
charly-bg authored Nov 13, 2024
2 parents 35e709a + 6fc76bf commit 1112d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ psql -v ON_ERROR_STOP=1 --username "$DB_USER" --dbname "$DB_NAME" --host "$DB_HO
ALTER USER $NEW_DB_USER SET search_path TO $NEW_SCHEMA_NAME;
-- Insert a new record into the indexers table
INSERT INTO indexers (service, schema, db_user, created_at)
INSERT INTO public.indexers (service, schema, db_user, created_at)
VALUES ('$SERVICE_NAME', '$NEW_SCHEMA_NAME', '$NEW_DB_USER', NOW());
EOSQL

Expand Down

0 comments on commit 1112d14

Please sign in to comment.