Skip resets in postgres

Signed-off-by: kolaente <k@knt.li>
This commit is contained in:
kolaente 2020-02-16 17:33:49 +01:00
parent 01852631fb
commit 49b995f16c
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 3 deletions

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 {