Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (13 sloc) 0.668 kb

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.

Jump to Line
Something went wrong with that request. Please try again.