Add postgres support #135

Merged
konrad merged 26 commits from jtojnar/api:pgsql into master 2020-02-16 21:42:05 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 49b995f16c - Show all commits

View File

@ -51,9 +51,9 @@ func InitFixtures(tablenames ...string) (err error) {
testfiles,
}
// if config.DatabaseType.GetString() == "postgres" {
// loaderOptions = append(loaderOptions, testfixtures.SkipResetSequences())
// }
if config.DatabaseType.GetString() == "postgres" {
loaderOptions = append(loaderOptions, testfixtures.SkipResetSequences())
}
fixtures, err = testfixtures.New(loaderOptions...)
if err != nil {