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

Update the official tutorial with initial db migration #49

Closed
chikamichi opened this issue Aug 2, 2021 · 1 comment
Closed

Update the official tutorial with initial db migration #49

chikamichi opened this issue Aug 2, 2021 · 1 comment

Comments

@chikamichi
Copy link

What do you want and why?

Hi. Following along the official tutorial, I stumbled upon an "error" where the User table would be missing, preventing from signing up.

I figured it out easily: one must run blitz prisma migrate dev.

Possible implementation(s)

Before the Sign up as a user section, add another section "explaining" the need for data (including a table of users), SQLite as a default, the concept of a migration, the schema.prisma file and more importantly, the migration command.

Additional context

Using latest Blitz version as of 02/08/2021: 0.38.6

@chikamichi
Copy link
Author

Moved to blitz-js/blitzjs.com#532 🙏

@dillondotzip dillondotzip transferred this issue from blitz-js/blitz Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants