-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Migrate | ||
|
||
[![version](https://img.shields.io/badge/release-0.2.3-success)](https://deno.land/x/[email protected].3) | ||
[![version](https://img.shields.io/badge/release-0.2.4-success)](https://deno.land/x/[email protected].4) | ||
[![CI](https://github.com/udibo/migrate/workflows/CI/badge.svg)](https://github.com/udibo/migrate/actions?query=workflow%3ACI) | ||
[![codecov](https://codecov.io/gh/udibo/migrate/branch/main/graph/badge.svg?token=8Q7TSUFWUY)](https://codecov.io/gh/udibo/migrate) | ||
[![license](https://img.shields.io/github/license/udibo/migrate)](https://github.com/udibo/migrate/blob/master/LICENSE) | ||
|
@@ -21,9 +21,9 @@ Currently migrate is only implemented for Postgres. The main entrypoint is | |
|
||
```ts | ||
// Import from Deno's third party module registry | ||
import { PostgresMigrate } from "https://deno.land/x/[email protected].3/postgres.ts"; | ||
import { PostgresMigrate } from "https://deno.land/x/[email protected].4/postgres.ts"; | ||
// Import from GitHub | ||
import { PostgresMigrate } "https://raw.githubusercontent.com/udibo/migrate/0.2.3/postgres.ts"; | ||
import { PostgresMigrate } "https://raw.githubusercontent.com/udibo/migrate/0.2.4/postgres.ts"; | ||
``` | ||
## Usage | ||
|
@@ -34,7 +34,7 @@ To use the command line interface, you must create a script that will initialize | |
the Migrate instance and call the run command from [cli.ts](cli.ts). An example | ||
can be found [here](#postgres-cli). | ||
See [deno docs](https://doc.deno.land/https/deno.land/x/[email protected].3/cli.ts) | ||
See [deno docs](https://doc.deno.land/https/deno.land/x/[email protected].4/cli.ts) | ||
for more information. | ||
#### Command: init | ||
|
@@ -160,7 +160,7 @@ different ways to use the migrate module. Only one is required to use the | |
migrate tool. | ||
See | ||
[deno docs](https://doc.deno.land/https/deno.land/x/[email protected].3/postgres.ts) | ||
[deno docs](https://doc.deno.land/https/deno.land/x/[email protected].4/postgres.ts) | ||
for more information. | ||
#### Postgres script | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,5 @@ export { | |
Client, | ||
Transaction, | ||
TransactionError, | ||
} from "https://deno.land/x/[email protected].0/mod.ts"; | ||
export type { ClientOptions } from "https://deno.land/x/[email protected].0/mod.ts"; | ||
} from "https://deno.land/x/[email protected].1/mod.ts"; | ||
export type { ClientOptions } from "https://deno.land/x/[email protected].1/mod.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM denoland/deno:1.22.2 | ||
FROM denoland/deno:1.24.1 | ||
WORKDIR /app | ||
|
||
# Install wait utility | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters