Skip to content

Commit ce1fb12

Browse files
Specify a restrict key (#7)
1 parent d7cb72b commit ce1fb12

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

migrations/verify.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ func dump(c *PostgresConfig) ([]byte, error) {
3333
"-h", c.Host,
3434
"-p", c.Port,
3535
"-U", c.User,
36+
// if not specified, will be random, so not repeatable
37+
"--restrict-key=key",
3638
c.Database)
3739
cmd.Dir = tempDir
3840
cmd.Env = append(cmd.Env, "PGPASSFILE="+passFilePath)

0 commit comments

Comments
 (0)