mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
Compare commits
No commits in common. "2" and "2.3.3" have entirely different histories.
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -4,10 +4,15 @@ on:
|
|||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
# Every Thursday at 12:20pm UTC
|
||||||
|
schedule:
|
||||||
|
- cron: '20 12 * * 4'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
name: CI
|
name: CI
|
||||||
|
# Only run cron on the silverstripe account
|
||||||
|
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
||||||
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
|
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
|
||||||
with:
|
with:
|
||||||
# set phpunit to false to prevent automatic generation of mysql phpunit jobs
|
# set phpunit to false to prevent automatic generation of mysql phpunit jobs
|
||||||
|
16
.github/workflows/dispatch-ci.yml
vendored
16
.github/workflows/dispatch-ci.yml
vendored
@ -1,16 +0,0 @@
|
|||||||
name: Dispatch CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
# At 12:20 PM UTC, only on Thursday and Friday
|
|
||||||
schedule:
|
|
||||||
- cron: '20 12 * * 4,5'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
dispatch-ci:
|
|
||||||
name: Dispatch CI
|
|
||||||
# Only run cron on the silverstripe account
|
|
||||||
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Dispatch CI
|
|
||||||
uses: silverstripe/gha-dispatch-ci@v1
|
|
10
README.md
10
README.md
@ -3,6 +3,10 @@
|
|||||||
[![CI](https://github.com/silverstripe/silverstripe-postgresql/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-postgresql/actions/workflows/ci.yml)
|
[![CI](https://github.com/silverstripe/silverstripe-postgresql/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-postgresql/actions/workflows/ci.yml)
|
||||||
[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)
|
[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)
|
||||||
|
|
||||||
|
## Maintainer Contact
|
||||||
|
|
||||||
|
* Sam Minnee (Nickname: sminnee) <sam@silverstripe.com>
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
* Silverstripe 4.0
|
* Silverstripe 4.0
|
||||||
@ -43,12 +47,6 @@ See [docs/en](docs/en/README.md) for more information about configuring the modu
|
|||||||
All column and table names must be double-quoted. PostgreSQL automatically
|
All column and table names must be double-quoted. PostgreSQL automatically
|
||||||
lower-cases columns, and your queries will fail if you don't.
|
lower-cases columns, and your queries will fail if you don't.
|
||||||
|
|
||||||
Collations have known issues when installed on Alpine, MacOS X and BSD derivatives
|
|
||||||
(see [PostgreSQL FAQ](https://wiki.postgresql.org/wiki/FAQ#Why_do_my_strings_sort_incorrectly.3F)).
|
|
||||||
We do not support such installations, although they still may work correctly for you.
|
|
||||||
As a workaround for PostgreSQL 10+ you could manually switch to ICU collations (e.g. und-x-icu).
|
|
||||||
There are no known workarounds for PostgreSQL <10.
|
|
||||||
|
|
||||||
Ts_vector columns are not automatically detected by the built-in search
|
Ts_vector columns are not automatically detected by the built-in search
|
||||||
filters. That means if you're doing a search through the CMS on a ModelAdmin
|
filters. That means if you're doing a search through the CMS on a ModelAdmin
|
||||||
object, it will use LIKE queries which are very slow. If you're writing your
|
object, it will use LIKE queries which are very slow. If you're writing your
|
||||||
|
@ -15,13 +15,14 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"silverstripe/framework": "^4.10",
|
"silverstripe/framework": "^4",
|
||||||
"silverstripe/vendor-plugin": "^1.0"
|
"silverstripe/vendor-plugin": "^1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^9.5",
|
"phpunit/phpunit": "^9.5",
|
||||||
"squizlabs/php_codesniffer": "^3"
|
"squizlabs/php_codesniffer": "^3"
|
||||||
},
|
},
|
||||||
|
"extra": { },
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"SilverStripe\\PostgreSQL\\": "code/",
|
"SilverStripe\\PostgreSQL\\": "code/",
|
||||||
|
Loading…
Reference in New Issue
Block a user