mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
fix: use container with Postgres 13 for dump.sql (#15411)
This commit is contained in:
@ -37,10 +37,11 @@ func main() {
|
||||
}
|
||||
}()
|
||||
|
||||
connection, err := dbtestutil.Open(t)
|
||||
connection, cleanup, err := dbtestutil.OpenContainerized(t, dbtestutil.DBContainerOptions{})
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
defer cleanup()
|
||||
|
||||
db, err := sql.Open("postgres", connection)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user