Skip to content

Commit

Permalink
111
Browse files Browse the repository at this point in the history
  • Loading branch information
dengfuping committed Dec 2, 2024
1 parent 4a4214d commit a6439cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/basic-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
uses: oceanbase/setup-oceanbase-ce@v1
with:
network: "host"
image_tag: ${{ inputs.oceanbase_image_tag || '' }}
image_tag: ${{ inputs.oceanbase_image_tag || null }}
- name: Run sample for ${{ inputs.module }}
run: |
cd ${{ inputs.language }}/${{ inputs.module }} || exit
Expand Down
2 changes: 1 addition & 1 deletion javascript/prisma/README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ npm install
修改 `.env` 中的数据库连接串,格式如下。注意需要设置 `prefer_socket=false`,以避免和 OceanBase 建立连接时报错。

```bash
DATABASE_URL="mysql://username:password@localhost:3306/test?prefer_socket=false"
DATABASE_URL="mysql://root:@127.0.0.1:2881/test?prefer_socket=false&a=.psdb.cloud"
```

执行以下命令,将 `prisma/schema.prisma` 中定义的 `User``Post``Profile` 模型同步到数据库中:
Expand Down
2 changes: 1 addition & 1 deletion javascript/prisma/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ npm install
Modify the connection string in the `.env` file, formatted as follows. Note that `prefer_socket=false` must be set to avoid errors when connecting to OceanBase.

```bash
DATABASE_URL="mysql://username:password@localhost:3306/test?prefer_socket=false"
DATABASE_URL="mysql://root:@127.0.0.1:2881/test?prefer_socket=false&a=.psdb.cloud"
```

Execute the following command to synchronize the `User`, `Post` and `Profile` data models defined in `prisma/schema.prisma` to the database:
Expand Down

0 comments on commit a6439cc

Please sign in to comment.