Skip to content

Commit

Permalink
Merge 9504c44 into 8ef3fe0
Browse files Browse the repository at this point in the history
  • Loading branch information
franziskahahn committed Feb 17, 2017
2 parents 8ef3fe0 + 9504c44 commit cc91ad6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,19 @@ Example:
```
This is a valid configuration. If more than one instruction matches a specific table name, the most specific one will be used. E. g. if you have definitions for blog_* and blog_author, the latter will be used for your author table, independent of their sequence order in the config.

### Faker replacements
Slimdump allows basic Faker options when using dump mode `replace`.
You can use every Faker option which needs no arguments. Of course you can still use static replacements.
```xml
<?xml version="1.0" ?>
<slimdump>
<table name="users" dump="full" keep-auto-increment="false" condition="`timestamp` >= '2017-01-20 00:00:00' LIMIT 1">
<column name="password" dump="replace" replacement="XXXXX" />
<column name="username" dump="replace" replacement="FAKER_word" />
</table>
</slimdump>
```

## Other databases
Currently only MySQL is supported. But feel free to port it to the database of your needs.

Expand Down

0 comments on commit cc91ad6

Please sign in to comment.