We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CREATE INDEX CONCURRENTLY
1 parent 3381ed2 commit 83a4977Copy full SHA for 83a4977
coderd/database/migrations/migrate_test.go
@@ -103,6 +103,8 @@ func testSQLDB(t testing.TB) *sql.DB {
103
require.NoError(t, err)
104
t.Cleanup(func() { _ = db.Close() })
105
106
+ // postgres.Open automatically runs migrations, but we want to actually test
107
+ // migration behavior in this package.
108
_, err = db.Exec(`DROP SCHEMA public CASCADE`)
109
110
_, err = db.Exec(`CREATE SCHEMA public`)
0 commit comments