Skip to content

Commit f364a21

Browse files
Update dgraph/self-hosted.mdx
Co-authored-by: Copilot <[email protected]>
1 parent 1da8066 commit f364a21

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

dgraph/self-hosted.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,14 @@ if [[-f "exported_data/g01.json.gz"]]; then zcat exported_data/g01.json.gz | jq
279279

280280
```bash Schema Validation
281281
# Validate schema syntax
282-
if [[ -f "schema.graphql" ]]; then
282+
if [ -f "exported_data/g01.rdf.gz" ]; then zcat exported_data/g01.rdf.gz | wc -l
283+
fi
284+
285+
# For JSON exports, validate structure
286+
287+
if [ -f "exported_data/g01.json.gz" ]; then zcat exported_data/g01.json.gz | jq '.[] | keys' | head -10
288+
fi
289+
283290
# Basic GraphQL syntax check
284291
node -e "
285292
const fs = require('fs');

0 commit comments

Comments
 (0)