-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decide which fields to export/ignore #2
Comments
I think the whitelist is a safer approach actually. Discuss...... On Sunday, January 26, 2014, sneakypete81 [email protected] wrote:
-- Snet form my mobl phoone |
Perhaps - it certainly is safer. I was a bit worried that fields would get forgotten about, particularly when new fields get added to the DB in the future. But maybe this is a minor inconvenience compared with the dangers of accidentally exporting an "unsafe" field. So alternatively, could you provide a comprehensive list of fields to whitelist? |
Based off the photo object...
In making this list I realized that this isn't a "replication" script as much as it is a script to move the more important (as defined by who?) pieces to a new instance. |
That looks like a good list to be getting on with. |
@jmathai: Is there any reason why we shouldn't include the following too?
|
@sneakypete81 We should be using |
The export script currently only exports the following fields:
I've done this because I wasn't too sure which of the fields were safe to export - some clearly aren't (eg. id, pathOrigianal, etc).
Rather than maintaining a whitelist like this, it would be much better to just blacklist the fields that need to be ignored and export everything else.
@jmathai: could you please let me know which fields should be ignored?
The text was updated successfully, but these errors were encountered: