Skip to content

Commit 68b0eb1

Browse files
committed
Fix fixture
1 parent 5565159 commit 68b0eb1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

coderd/database/migrations/migrate_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ func setupMigrate(t *testing.T, db *sql.DB, name, path string) (source.Driver, *
149149
require.NoError(t, err)
150150

151151
dbDriver, err := migratepostgres.WithConnection(ctx, conn, &migratepostgres.Config{
152+
SchemaName: "public",
152153
MigrationsTable: "test_migrate_" + name,
153154
})
154155
require.NoError(t, err)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-- Example:
2-
-- This migration is applied after migrations/000024_site_config.up.sql
2+
-- This fixture is applied after migrations/000024_site_config.up.sql
33
-- and inserts a value into site_configs that must not cause issues in
44
-- future migrations.
55

6-
INSERT INTO site_configs(key, value) VALUES ('mytest', 'example');
6+
INSERT INTO site_configs (key, value) VALUES ('mytest', 'example');

0 commit comments

Comments
 (0)