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(dbAuth): Automatically create User model in fresh projects #10871

Merged
merged 6 commits into from
Jun 22, 2024

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Jun 22, 2024

Automatically create a User model in schema.prisma when setting up dbAuth in new(*) projects.
For other projects we'll still prompt if no existing user model is found.

(*) "new" in this case meaning projects with no custom DB models yet

@Tobbe Tobbe added the release:feature This PR introduces a new feature label Jun 22, 2024
@Tobbe Tobbe added this to the next-release milestone Jun 22, 2024
@Tobbe Tobbe merged commit 88190cf into redwoodjs:main Jun 22, 2024
51 checks passed
@Tobbe Tobbe deleted the tobbe-dbauth-auto-create-model branch June 22, 2024 06:33
dac09 added a commit to dac09/redwood that referenced this pull request Jun 24, 2024
…-esm

* 'main' of github.com:redwoodjs/redwood:
  fix(deps): update dependency prettier to v3.3.2 (redwoodjs#10852)
  fix(deps): update dependency vite to v5.3.1 (redwoodjs#10854)
  chore(esm/cjs): Build rwjs/web to cjs with new build system (redwoodjs#10826)
  feat(dbAuth): Automatically create User model in fresh projects (redwoodjs#10871)
  feat(dbAuth): Prompt to generate dbAuth pages (redwoodjs#10865)
@Josh-Walker-GM Josh-Walker-GM modified the milestones: next-release, v8.0.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:feature This PR introduces a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants