Michael Gaffney
8d7f24268c
Return url of test database ( #48 )
...
It is helpful to connect to a database when tests have failed.
2020-05-12 15:49:37 -04:00
Jim
c04c73453f
refactor Update/Delete to return the number of rows affected. ( #46 )
2020-05-12 11:57:28 -04:00
Jim
61ca88dac9
refactor to use db.New() and clean up error msgs ( #45 )
2020-05-12 06:51:02 -04:00
Jeff Mitchell
ad8d4e9c80
Rename Db's Tx to underlying
2020-05-11 21:05:11 -04:00
Jeff Mitchell
670abaed88
Rename GormReadWriter -> Db
2020-05-11 16:54:05 -04:00
Jim
ee4a0d3f45
refactor lookups so we can easily check for not found and do the "right" thing in the repos ( #42 )
2020-05-11 16:21:09 -04:00
Jeff Mitchell
7f2aa5ca8f
Add httpfs DB migrations and generate the input ( #35 )
2020-05-11 12:42:10 -04:00
Jim
725a777baf
refactor friendly name to just be name ( #29 )
2020-05-05 16:35:24 -04:00
Jim
27b4d7a034
basic internal db interfaces and Gorm implementation
...
* db reader and writer interfaces which should allow us to encapsulate the vast majority of database code in this package.
* GormReadWriter implementation of the Reader and Writer interfaces
2020-05-05 13:29:47 -04:00