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.
1 parent 93933d7 commit 0fc492dCopy full SHA for 0fc492d
coderd/database/migrations/migrate_test.go
@@ -105,9 +105,9 @@ func testSQLDB(t testing.TB) *sql.DB {
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`)
+ _, err = db.Exec(`DROP SCHEMA coder-test-schema CASCADE`)
109
require.NoError(t, err)
110
- _, err = db.Exec(`CREATE SCHEMA public`)
+ _, err = db.Exec(`CREATE SCHEMA coder-test-schema`)
111
112
113
return db
0 commit comments