aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorKevin Lyda <kevin@ie.suberic.net>2017-01-13 20:12:53 +0000
committerNiall Sheridan <nsheridan@gmail.com>2017-01-13 20:12:53 +0000
commitadca4cec3bf97d73e082d4c986443ffc8fee6fe1 (patch)
tree2ff48ee7f89faf514f101688bde9b5211afdd023 /db
parent94ae8fd80298f207830d29dc015b503f4f1e3e90 (diff)
Db test config (#43)
* Allow tests to specify mysql connection info. User can set MYSQL_TEST_USER, MYSQL_TEST_PASS and MYSQL_TEST_HOST environment variables for test environments that need that. * Changes from testing. Need to set both time fields as '0000-00-00' depends on a feature deprecated in MySQL 5.7.4. Go lint wanted snake case for my sql_config var. sqlConfig it is. * Go go idioms. Based on feedback from Niall, a cleaner way to do this in Go.
Diffstat (limited to 'db')
0 files changed, 0 insertions, 0 deletions