Skip to content

Commit

Permalink
Merge pull request #184 from oliver-oloughlin/fix-migrate-indentation
Browse files Browse the repository at this point in the history
fix: label migrate as a sub-heading under extensions in readme to cor…
  • Loading branch information
oliver-oloughlin authored Feb 26, 2024
2 parents 47808ef + 7cf1c2e commit 8f6c6ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ _Supported Deno verisons:_ **^1.40.0**
- [Zod](#zod)
- [zodModel()](#zodmodel)
- [Kv-Schemas](#kv-schemas)
- [Migrate](#migrate)
- [Script](#script)
- [Function](#function)
- [Migrate](#migrate)
- [Script](#script)
- [Function](#function)
- [Blob Storage](#blob-storage)
- [Development](#development)
- [License](#license)
Expand Down Expand Up @@ -1296,13 +1296,13 @@ const PostSchema = z.object({
})
```

## Migrate
### Migrate

A helper script and function for migrating entries from a source KV instance to
a target KV instance. Only migrates `kvdex` entries by default, but optionally
allows for migrating all entries.

### Script
#### Script

Run the migrate script and provide --source and --target arguments. Optionally
pass --all to migrate all entries.
Expand All @@ -1311,7 +1311,7 @@ pass --all to migrate all entries.
deno run -A --unstable-kv jsr:@olli/kvdex/ext/migrate --source=./source.sqlite3 --target=./target.sqlite3
```

### Function
#### Function

Use the migrate function and pass a source KV instance and a target KV instance.
Optionally pass `all: true` to migrate all entries.
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@olli/kvdex",
"version": "0.34.4",
"version": "0.34.5",
"exports": {
".": "./mod.ts",
"./ext/zod": "./ext/zod.ts",
Expand Down

0 comments on commit 8f6c6ae

Please sign in to comment.