Skip to content

Commit 904b4be

Browse files
authored
Update README.md
1 parent 23b7c1f commit 904b4be

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ Or just copy the migration file into your app `/config/Migrations`, modify if ne
8484

8585
Fully tested so far are PostgreSQL and MySQL, but by using the ORM all major databases should be supported.
8686

87+
If you use a custom datasource, make sure to set the connection here for migrations:
88+
```
89+
bin/cake Migrations migrate -p DatabaseLog -c my_datasource
90+
```
91+
8792
## Usage
8893

8994
Anywhere in your app where you call `$this->log()` or `Log::write()` the DatabaseLog engine will be used.

0 commit comments

Comments
 (0)