echobind / bisonapp

A Full Stack Jamstack in-a-box brought to you by Echobind
MIT License
590 stars 28 forks source link

Trpc nextauth #283

Closed dennis-campos closed 2 years ago

dennis-campos commented 2 years ago

Adds NextAuth to work with tRPC.

This PR includes the credentials provider.

alexanderson1993 commented 2 years ago

I agree with @kgajera - We should probably create a brand new migration for the entire app.

mthomps4 commented 2 years ago

I think we're missing a migration for the Profile.image column: I'm in favor of just deleting all the migrations and creating a new "initial" migration.

Weird -- That should have been added here: packages/create-bison-app/template/prisma/schema.prisma Looking back at the migration I copied over -- It doesn't look like it matches.

I'll work to make a new initial migration.

I'm assuming the easiest way is to run this fresh from yarn dev db:migrate and copy over to the template?

mthomps4 commented 2 years ago

Realized my error -- I forgot to clean dev I updated the schema for the template but not the schema when running migrations.

Incoming 🏃🏼‍♂️