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

feat: add db:generate and db:migrate scripts #1893

Merged
merged 3 commits into from
May 22, 2024

Conversation

brandon93s
Copy link
Contributor

@brandon93s brandon93s commented May 19, 2024

Closes #

✅ Checklist

  • I have followed every step in the contributing guide (updated 2022-10-06).
  • The PR title follows the convention we established conventional-commit
  • I performed a functional test on my final commit

Changelog

  • Add db:generate and db:migrate scripts

Screenshots

N/A

💯

Copy link

changeset-bot bot commented May 19, 2024

🦋 Changeset detected

Latest commit: 73e8e07

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

This PR includes changesets to release 1 package
Name Type
create-t3-app Minor

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

Copy link

vercel bot commented May 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
create-t3-app ✅ Ready (Inspect) Visit Preview 💬 1 unresolved
✅ 1 resolved
May 19, 2024 2:06pm

Copy link

vercel bot commented May 19, 2024

@brandon93s is attempting to deploy a commit to the t3-oss Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@juliusmarminge juliusmarminge left a comment

Choose a reason for hiding this comment

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

Add for prisma too

@brandon93s
Copy link
Contributor Author

brandon93s commented May 19, 2024

Prisma added. They're functionally a bit different in that prisma generate will also run the migrations in dev via the db:generate command, but I believe this to be the expected default. Generate only could be opted-in with npm run db:generate -- --create-only.

@juliusmarminge juliusmarminge merged commit 1925236 into t3-oss:main May 22, 2024
265 of 266 checks passed
devvianto605 pushed a commit to devvianto605/create-devviantex-nextjs-app that referenced this pull request Jun 9, 2024
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.

None yet

2 participants