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
minor fixes
Roman Pominov2bf66710c107
diff --git a/packages/prisma-client/migrations-cli/README.md b/packages/prisma-client/migrations-cli/README.mdindex 7eef385a1a..cec6e98902 100644--- a/packages/prisma-client/migrations-cli/README.md+++ b/packages/prisma-client/migrations-cli/README.md@@ -57,7 +57,9 @@ NOTE: If this becomes a library there should be more istructions here.### I want to change the data, without schema changes. How do I migrate data only?-TODO+- Create a data migration by running `migrations create-data <name>`.+- Edit the data migration file.+- Apply the migration using `migrations migrate --dev`.### I need to change the schema and migrate the data.@@ -65,7 +67,7 @@ TODO- Create a schema migration by running `migrations create-schema <name>`.- And the new schema by running `migrations migrate --dev`.- Create a data migration by running `migrations create-data <name>`.-- Edit the data migration file to move the data to the new location+- Edit the data migration file to move the data to the new location.- Apply the migration for data using the same command `migrations migrate --dev`.- Make changes to `schema.prisma` to remove the old models or fields that are no longer needed.- Create a schema migration by running `migrations create-schema <name>`.diff --git a/packages/prisma-client/prisma/migrations/20220909124542_move_to_builds/migration.ts b/packages/prisma-client/prisma/migrations/20220909124542_move_to_builds/migration.tsindex 59d41183fb..2df896a683 100644--- a/packages/prisma-client/prisma/migrations/20220909124542_move_to_builds/migration.ts+++ b/packages/prisma-client/prisma/migrations/20220909124542_move_to_builds/migration.ts@@ -19,7 +19,10 @@ const PagesSchema = z.object({});export default () => {- const client = new PrismaClient();+ const client = new PrismaClient({+ // Uncomment to see the queries in console as the migration runs+ // log: ["query", "info", "warn", "error"],+ });return client.$transaction(async (prisma) => {const trees = await prisma.tree.findMany();const projects = await prisma.project.findMany();diff --git a/packages/prisma-client/prisma/migrations/template.txt b/packages/prisma-client/prisma/migrations/template.txtindex aa949c6a1b..b63e297a0f 100644--- a/packages/prisma-client/prisma/migrations/template.txt+++ b/packages/prisma-client/prisma/migrations/template.txt@@ -10,7 +10,10 @@ import { PrismaClient } from "./client";// It's better to copy it to the migration directory.export default () => {- const client = new PrismaClient();+ const client = new PrismaClient({+ // Uncomment to see the queries in console as the migration runs+ // log: ["query", "info", "warn", "error"],+ });return client.$transaction(async (prisma) => {// This is the body of your migration.// Use the `prisma` client to perform database operations.diff --git a/turbo.json b/turbo.jsonindex 6659d4704d..7c9bd87ce1 100644--- a/turbo.json+++ b/turbo.json@@ -10,9 +10,6 @@"dev": {"cache": false},- "migrate": {- "cache": false- },"storybook:run": {"cache": false}