Skip to content

Commit 73f6e83

Browse files
committed
fix(testnet): Remove commented code
1 parent b17ec35 commit 73f6e83

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

contrib/indexer-service/start.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ until pg_isready -h postgres -U postgres -d indexer_components_1; do
1919
sleep 2
2020
done
2121

22-
# echo "Applying database migrations..."
23-
# # Get all the migration UP files and sort them by name
24-
# for migration_file in $(find /opt/migrations -name "*.up.sql" | sort); do
25-
# echo "Applying migration: $(basename $migration_file)"
26-
# psql -h postgres -U postgres postgres -f $migration_file
27-
# done
28-
echo "Database migrations completed."
29-
3022
# Get network subgraph deployment ID
3123
NETWORK_DEPLOYMENT=$(curl -s "http://graph-node:8000/subgraphs/name/graph-network" \
3224
-H 'content-type: application/json' \

contrib/tap-agent/start.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ fi
2828

2929
echo "Postgres is ready!"
3030

31-
# echo "Ensuring database tables exist..."
32-
# for migration_file in $(find /opt/migrations -name "*.up.sql" | sort); do
33-
# echo "Applying migration if needed: $(basename $migration_file)"
34-
# psql -h postgres -U postgres indexer_components_1 -f $migration_file 2>/dev/null || true
35-
# done
36-
echo "Database setup completed."
37-
3831
# Wait for indexer-service to be ready with timeout
3932
echo "Waiting for indexer-service to be ready..."
4033
MAX_ATTEMPTS=30

0 commit comments

Comments
 (0)