fixed a bone-headed mistake naming the files. hopefully the symptom was corrected. I'll get to work on the cause.

master
dtookey 4 years ago
parent 05e21fda8e
commit 909509d2c5

@ -4,7 +4,7 @@ cd /opt/go/src/mercury || exit
rm build/*
go build -o ./build/mercury ./src
go build -o ./build/mercury ./src/mercury.go
rsync -avP ./build/mercury data-connect.carolina.engineering:/home/dtookey/
ssh data-connect.carolina.engineering "sudo mv /home/dtookey/mercury /usr/local/bin/"

@ -84,12 +84,12 @@ func (c *ConnectorGeneric) QueryFromScript(scriptName string) *sql.Rows {
func (c *ConnectorGeneric) ProcessClarityScripts() { //@dream standardize these script names
tableCreationRunners := []*sqlScriptRunner{
NewRunner("1-sanitize_init.sql", ClarityDatabaseName),
NewRunner("all_projects.sql", ClarityDatabaseName),
NewRunner("billing.sql", ClarityDatabaseName),
NewRunner("contributions.sql", ClarityDatabaseName),
NewRunner("durations.sql", ClarityDatabaseName),
NewRunner("lifecycle.sql", ClarityDatabaseName),
NewRunner("0-run-first/1-sanitize_init.sql", ClarityDatabaseName),
NewRunner("0-run-first/all_projects.sql", ClarityDatabaseName),
NewRunner("0-run-first/billing.sql", ClarityDatabaseName),
NewRunner("0-run-first/contributions.sql", ClarityDatabaseName),
NewRunner("0-run-first/durations.sql", ClarityDatabaseName),
NewRunner("0-run-first/lifecycle.sql", ClarityDatabaseName),
}
for _, runner := range tableCreationRunners {

Loading…
Cancel
Save