mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-21 08:22:20 +02:00
test(dot): verify the regenerated migration on current master
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
2e40bca050
commit
6f98d7d7a5
1 file changed
+1
-1
@@ -124,7 +124,7 @@ describe("durable Dot Runner integration", () => {
|
||||
}
|
||||
|
||||
it("reapplies the Dot-only migration after the merged gateway schema", async () => {
|
||||
const migration = await readFile(new URL("../../../packages/db/src/migrations/0312_broken_sentinels.sql", import.meta.url), "utf8");
|
||||
const migration = await readFile(new URL("../../../packages/db/src/migrations/0317_messy_famine.sql", import.meta.url), "utf8");
|
||||
for (const statement of migration.split("--> statement-breakpoint")) {
|
||||
if (statement.trim()) await db.execute(sql.raw(statement));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user