File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ strategy:
87
87
first_name : name.first_name
88
88
last_name : name.last_name
89
89
secret_key : string.empty
90
+ access_log : skip_rows
90
91
` ` `
91
92
92
93
In the example configuration above, there are first listed two "addon
@@ -108,3 +109,9 @@ sanitation function consists from two parts separated from each other by
108
109
a dot : Python module name and name of the actual function, which will
109
110
be prefixed with `sanitize_`, so `name.first_name` would be a function
110
111
called `sanitize_first_name` in a file called `name.py`.
112
+
113
+ Table content can be left out completely from the sanitized dump by
114
+ setting table strategy to `skip_rows` (check `access_log` table in the
115
+ example config). This will leave out all `INSERT INTO` (MySQL) or `COPY`
116
+ (PostgreSQL) statements from the sanitized dump file. `CREATE TABLE`
117
+ statements will not be removed.
You can’t perform that action at this time.
0 commit comments