added some debug printing to the logs.

Swapped the order of some things in 1-sanitize_init.sql in hopes to speed up the import/processing times.
master
dtookey 4 years ago
parent 909509d2c5
commit c7e92d9fa0

@ -146,7 +146,7 @@ func (iClient *InsightClient) getRawUsers() *[]*InsightUser {
req := iClient.createRequest(userEndpoint, insightTokenFile)
rawBytes := iClient.doGet(req)
container := make([]*InsightUser, 0, 150) //do we want to make the default result size parametric?
log.Println(string(*rawBytes))
err := json.Unmarshal(*rawBytes, &container)
if err != nil {
log.Panic(err)

@ -5,8 +5,8 @@ CREATE OR REPLACE INDEX billing_refnum ON billing (refNumber);
-- noinspection SqlWithoutWhere
UPDATE users SET hash = '';
UPDATE project_lifecycle SET new_value = '+CREATED', changed_column = 'status' WHERE changed_column = 'created';
DELETE FROM project_lifecycle WHERE project_number = 'EVENT';
UPDATE project_lifecycle SET new_value = '+CREATED', changed_column = 'status' WHERE changed_column = 'created';
#TIMEZONE FIX
# we'll store the roll amount as a single variable

Loading…
Cancel
Save