diff --git a/.github/workflows/ci-nightly.yml b/.github/workflows/ci-nightly.yml index 46949b54..105704a3 100644 --- a/.github/workflows/ci-nightly.yml +++ b/.github/workflows/ci-nightly.yml @@ -24,7 +24,7 @@ jobs: - name: Install DB CLI tools run: | cargo install --force sqlx-cli --no-default-features --features=sqlite,rustls - cargo install --force diesel_cli --no-default-features --features sqlite + cargo install --force diesel_cli --no-default-features --features=sqlite,postgres - name: Create Test DBs env: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5eeb7da..1b4925e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: - name: Install DB CLI tools run: | cargo install --force sqlx-cli --no-default-features --features=sqlite,rustls - cargo install --force diesel_cli --no-default-features --features sqlite + cargo install --force diesel_cli --no-default-features --features=sqlite,postgres - name: Create Test DBs env: diff --git a/databases/diesel-async/README.md b/databases/diesel-async/README.md index d773cf9f..8eae6998 100644 --- a/databases/diesel-async/README.md +++ b/databases/diesel-async/README.md @@ -45,7 +45,7 @@ Inserts a new item into the PostgreSQL DB. Provide a JSON payload with a name. Eg: ```json -{ "name": "bill" } +{ "name": "thingamajig" } ``` On success, a response like the following is returned: @@ -53,7 +53,7 @@ On success, a response like the following is returned: ```json { "id": "01948982-67d0-7a55-b4b1-8b8b962d8c6b", - "name": "bill" + "name": "thingamajig" } ``` @@ -63,13 +63,13 @@ On success, a response like the following is returned: Using [HTTPie]: ```sh -http POST localhost:8080/items name=bill +http POST localhost:8080/items name=thingamajig ``` Using cURL: ```sh -curl -S -X POST --header "Content-Type: application/json" --data '{"name":"bill"}' http://localhost:8080/items +curl -S -X POST --header "Content-Type: application/json" --data '{"name":"thingamajig"}' http://localhost:8080/items ```