checkpoint

This commit is contained in:
Brian Cao committed 2022-08-18 17:10:45 -07:00
1 parent 3003371752
commit 207c1224ed
2 files changed
+104

No files matched your search

+3
View File
@@ -65,6 +65,9 @@ async function checkMigrations() {
console.log(output);
var x = await prisma.$queryRaw`select * from _prisma_migrations`;
console.log(x);
const missingMigrations = output.includes('have not yet been applied');
const missingInitialMigration =
output.includes('01_init') && !output.includes('The last common migration is: 01_init');