^ What field and enum are you changing? You would ...
# prisma-whats-new
k
^ What field and enum are you changing? You would just add @migrationValue(value: “NEW_VALUE”) I think?
I uncommented the fields under: type user @model
I'm very new, so I'm learning the lingo as I go
k
Oh, maybe you need to just specify an empty string, or a default value?
name: String! @migrationValue(value: "NO_NAME")
e
hmmm...I had not uncommented the user posts code...so I did that and now I'm getting a different error: A relation directive with a name must appear exactly 2 times. Relation name: 'UserPosts'
so maybe the email part is fixed
I think I almost have it...got a different syntax error, going to chase it down. Thank you for your kind suggestions Kevin!
k
Hmm, you probably don’t want to comment out random fields in the type file 🙂
e
oh, I'm working on uncommenting them, but somewhere I deleted something...
your point is well taken
it's running now, I will have to review the migrations