Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ schemaforge convert --from sql --to prisma --input schema.sql --type-map my-type
# Diff two schemas
schemaforge diff schema-v1.prisma schema-v2.prisma

# Batch convert all schemas in a directory
schemaforge convert --from sql --to prisma --dir ./schemas/
# Check all schemas in a directory are consistent
schemaforge check --dir ./schemas/
```

## Installation
Expand Down Expand Up @@ -89,8 +89,8 @@ schemaforge convert --from graphql --to prisma --input schema.graphql
# Custom type mapping
schemaforge convert --from sql --to prisma --input schema.sql --type-map my-types.yaml

# Dir mode (batch convert all files)
schemaforge convert --from sql --to prisma --dir ./schemas/
# Dir mode (check all files are consistent)
schemaforge check --dir ./schemas/ --canonical prisma
```

### `schemaforge diff`
Expand Down Expand Up @@ -236,7 +236,7 @@ schemaforge convert --from sql --to prisma --input fixtures/sample.sql \
--type-map fixtures/sample-type-overrides.yaml

# Batch convert all fixtures from SQL
schemaforge convert --from sql --to prisma --dir fixtures/
schemaforge check --dir fixtures/

# Diff two format outputs
schemaforge diff fixtures/sample.sql fixtures/sample.prisma --format prisma
Expand Down
Loading