Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated keystone-next dev so that it interactively prompts for creating and applying a migration #5135

Merged
merged 18 commits into from
Mar 17, 2021

Conversation

emmatown
Copy link
Member

This is mostly based on the implementation of the actual prisma migrate dev command but not doing things that prisma does(e.g. reading the schema from the file system)

keystone.next.dev.with.prisma.migrate.mp4

@vercel
Copy link

vercel bot commented Mar 16, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/keystonejs/keystone-next-docs/CkX7KCHmUCD7Lp9Lhk7nabF2hsLT
✅ Preview: https://keystone-next-docs-git-prisma-migrate-dev-keystonejs.vercel.app

@changeset-bot
Copy link

changeset-bot bot commented Mar 16, 2021

🦋 Changeset detected

Latest commit: 27d41e4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 24 packages
Name Type
@keystone-next/adapter-prisma-legacy Major
@keystone-next/keystone Major
@keystone-next/fields-auto-increment-legacy Patch
@keystone-next/fields-location-google-legacy Patch
@keystone-next/fields-mongoid-legacy Patch
@keystone-next/fields-oembed-legacy Patch
@keystone-next/fields-unsplash-legacy Patch
@keystone-next/fields-legacy Patch
@keystone-next/test-utils-legacy Patch
@keystone-next/cypress-project-access-control-legacy Patch
@keystone-next/cypress-project-basic-legacy Patch
@keystone-next/cypress-project-client-validation-legacy Patch
@keystone-next/cypress-project-login-legacy Patch
@keystone-next/fields-document Patch
@keystone-next/benchmarks-legacy Patch
@keystone-next/example-auth Patch
@keystone-next/app-basic Patch
@keystone-next/example-ecommerce Patch
keystone-next-app Patch
@keystone-next/example-roles Patch
@keystone-next/example-sandbox Patch
@keystone-next/example-todo Patch
@keystone-next/admin-ui Patch
@keystone-next/auth Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel vercel bot temporarily deployed to Preview March 16, 2021 06:05 Inactive
@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 16, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 27d41e4:

Sandbox Source
@keystone-next/example-sandbox Configuration

@emmatown emmatown changed the title Updated so that it interactively prompts for creating and applying a migration Updated keystone-next dev so that it interactively prompts for creating and applying a migration Mar 16, 2021
@vercel vercel bot temporarily deployed to Preview March 16, 2021 06:18 Inactive
@emmatown emmatown requested a review from timleslie March 16, 2021 06:22
@vercel vercel bot temporarily deployed to Preview March 17, 2021 00:12 Inactive
@vercel vercel bot temporarily deployed to Preview March 17, 2021 00:15 Inactive
@vercel vercel bot temporarily deployed to Preview March 17, 2021 01:16 Inactive
@vercel vercel bot temporarily deployed to Preview March 17, 2021 01:47 Inactive
@vercel vercel bot temporarily deployed to Preview March 17, 2021 02:58 Inactive
@vercel vercel bot temporarily deployed to Preview March 17, 2021 03:05 Inactive
@vercel vercel bot temporarily deployed to Preview March 17, 2021 03:12 Inactive
Copy link
Contributor

@timleslie timleslie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few final nits, but other than that I think we can 🚢 this 👍

@vercel vercel bot temporarily deployed to Preview March 17, 2021 03:32 Inactive
@vercel vercel bot temporarily deployed to Preview March 17, 2021 03:35 Inactive
@emmatown emmatown enabled auto-merge (squash) March 17, 2021 03:40
@emmatown emmatown merged commit cdd889d into master Mar 17, 2021
@emmatown emmatown deleted the prisma-migrate-dev branch March 17, 2021 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants