Skip to content

Commit 54d3c21

Browse files
committed
Merge branch 'release/v1.1.2'
2 parents 57f5f26 + 34051ff commit 54d3c21

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
workflow_dispatch:
66
schedule:
7-
- cron: '0 0 * * *'
7+
- cron: '0 5 * * *'
88

99
jobs:
1010
test:
@@ -36,8 +36,8 @@ jobs:
3636
run: vendor/bin/phpunit --coverage-clover=coverage.xml
3737

3838
- name: Upload coverage to Codecov
39-
uses: codecov/codecov-action@v1
39+
uses: codecov/codecov-action@v2
4040
with:
4141
token: ${{ secrets.CODECOV_TOKEN }}
42-
file: ./coverage.xml
43-
fail_ci_if_error: true
42+
files: ./coverage.xml
43+
fail_ci_if_error: false

src/PostgresError.php

+1
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ class PostgresError
131131
const TOO_MANY_JSON_ARRAY_ELEMENTS = '2203D';
132132
const TOO_MANY_JSON_OBJECT_MEMBERS = '2203E';
133133
const SQL_JSON_SCALAR_REQUIRED = '2203F';
134+
const SQL_JSON_ITEM_CANNOT_BE_CAST_TO_TARGET_TYPE = '2203G';
134135

135136
// Class 23 - Integrity Constraint Violation
136137
const INTEGRITY_CONSTRAINT_VIOLATION = '23000';

0 commit comments

Comments
 (0)