mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-09-28 20:29:06 +02:00
Compare commits
16 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
091a4c2416 | ||
|
b37c19d6d5 | ||
|
24dbdeb564 | ||
|
a60fc4cf24 | ||
|
d2fbce5319 | ||
|
beb0f84f2d | ||
|
448828c20a | ||
|
c9bce8fe57 | ||
|
321d0d853b | ||
|
222f20529c | ||
|
c46272e751 | ||
|
a709a741b0 | ||
|
a7c3450d43 | ||
|
0be39423a3 | ||
|
3e38f845e3 | ||
|
66376db094 |
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -4,15 +4,10 @@ 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
Normal file
16
.github/workflows/dispatch-ci.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
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,10 +3,6 @@
|
|||||||
[![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
|
||||||
@ -47,6 +43,12 @@ 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,14 +15,13 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"silverstripe/framework": "^4",
|
"silverstripe/framework": "^4.10",
|
||||||
"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