Sync your salesforce data to sql
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
examples
lib
.document
.gitignore
Gemfile
Gemfile.lock
LICENSE.txt
README.md
Rakefile
VERSION
salesforce-sync.gemspec

README.md

salesforce-sync

Export Salesforce objects into a local database.

Changelog

0.0.4

The syncs table schema has changed in this version. Assuming your table is named _salesforce_syncs (the default), execute the following statements:

ALTER TABLE _salesforce_syncs RENAME COLUMN started_at TO timestamp;
ALTER TABLE _salesforce_syncs ADD COLUMN created_at TIMESTAMP;
UPDATE _salesforce_syncs SET created_at = (SELECT statement_timestamp() AT TIME ZONE 'UTC' - (interval '1 hour' * ((SELECT MAX(id) FROM _salesforce_syncs LIMIT 1) - id)));

Copyright

Copyright (c) 2010 Christof Spies, Moritz Heidkamp. See LICENSE.txt for further details.