Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/e2e/src/tests/schema-revert.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ INSERT INTO customers (id, name, email) VALUES (1, 'Ada', 'ada@example.com');
}
});

await history.selectAllCompareObjects();
await history.executeRevert();

// The file is the source of truth: the index is back. If it is not, the
Expand Down Expand Up @@ -182,6 +183,7 @@ INSERT INTO customers (id, name, email) VALUES (1, 'Ada', 'ada@example.com');
const forward = await history.migrationSqlText();
expect(forward, forward).toMatch(/DROP INDEX/i);

await history.selectAllCompareObjects();
await history.executeRevert();
await expect
.poll(() => schemaText(), { timeout: 30_000 })
Expand Down
Loading