Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix migration
Roman Pominove21cff7e7d8b
diff --git a/packages/prisma-client/prisma/migrations/20220915144008_breakpoints-build_data/migration.ts b/packages/prisma-client/prisma/migrations/20220915144008_breakpoints-build_data/migration.tsindex e6f38ae448..cc77482ba2 100644--- a/packages/prisma-client/prisma/migrations/20220915144008_breakpoints-build_data/migration.ts+++ b/packages/prisma-client/prisma/migrations/20220915144008_breakpoints-build_data/migration.ts@@ -37,9 +37,14 @@ export default () => {);if (build === undefined) {- throw new Error(- `Build not found for breakpoint ${breakpoint.treeId}`+ // eslint-disable-next-line no-console+ console.warn(+ `Build not found for breakpoint ${breakpoint.treeId}. Deleting!`);++ return prisma.breakpoints.delete({+ where: { treeId: breakpoint.treeId },+ });}return prisma.breakpoints.update({