Skip to content

Commit

Permalink
Merge branch 'release/v1.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
sunaoka committed Jul 19, 2022
2 parents 57f5f26 + 34051ff commit 54d3c21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
- cron: '0 5 * * *'

jobs:
test:
Expand Down Expand Up @@ -36,8 +36,8 @@ jobs:
run: vendor/bin/phpunit --coverage-clover=coverage.xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
fail_ci_if_error: true
files: ./coverage.xml
fail_ci_if_error: false
1 change: 1 addition & 0 deletions src/PostgresError.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ class PostgresError
const TOO_MANY_JSON_ARRAY_ELEMENTS = '2203D';
const TOO_MANY_JSON_OBJECT_MEMBERS = '2203E';
const SQL_JSON_SCALAR_REQUIRED = '2203F';
const SQL_JSON_ITEM_CANNOT_BE_CAST_TO_TARGET_TYPE = '2203G';

// Class 23 - Integrity Constraint Violation
const INTEGRITY_CONSTRAINT_VIOLATION = '23000';
Expand Down

0 comments on commit 54d3c21

Please sign in to comment.