Skip to content

Commit 6df826a

Browse files
committed
Readme: mini example
1 parent ac52a59 commit 6df826a

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.docs/README.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,13 @@ extensions:
4242
nettrine.dbal:
4343
connections:
4444
default:
45-
driver: pdo_sqlite
46-
password: test
47-
user: test
48-
path: ":memory:"
45+
driver: pdo_pgsql
46+
host: localhost
47+
port: 5432
48+
user: root
49+
password: root
50+
charset: utf8
51+
dbname: nettrine
4952
```
5053

5154
**PostgreSQL**
@@ -153,14 +156,13 @@ nettrine.dbal:
153156
154157
connections:
155158
default:
156-
driver: pdo_mysql
159+
driver: pdo_pgsql
157160
host: localhost
158-
dbname: nettrine
161+
port: 5432
159162
user: root
160163
password: root
161164
charset: utf8
162-
middlewares: []
163-
resultCache: Nette\Caching\Storages\MemoryStorage
165+
dbname: nettrine
164166
```
165167

166168
Supported drivers:

0 commit comments

Comments
 (0)