php-censor/docs/en/plugins/pgsql.md

26 lines
383 B
Markdown
Raw Permalink Normal View History

2016-07-19 11:12:28 +02:00
Plugin PostgreSQL
2017-01-04 13:22:20 +01:00
=================
2016-07-19 11:12:28 +02:00
2016-07-17 16:20:35 +02:00
Connects to a given PostgreSQL server and runs a list of queries.
2016-07-19 11:12:28 +02:00
Configuration
2017-01-04 13:22:20 +01:00
-------------
2016-07-19 11:12:28 +02:00
### Examples
2016-07-17 16:20:35 +02:00
```yaml
build_settings:
pgsql:
host: 'localhost'
user: 'testuser'
pass: '12345678'
setup:
pgsql:
- "CREATE DATABASE my_app_test;"
complete:
pgsql:
- "DROP DATABASE my_app_test;"
```