Question
When modifying the User TypeORM following this documentation, and re-running the app, I do not see the changes in the database schema. What did I miss?
What I am trying to do
I am trying to extend the User schema with a custom field.
Feedback
Documentation refers to searching through online documentation, code comments and issue history. The example project refers to next-auth-example.
I found a solution - dropping all the tables from my schema. I was expecting a migration to be done but I guess there's more to this scenario.
I found a solution - dropping all the tables from my schema. I was expecting a migration to be done but I guess there's more to this scenario.
Yikes! You are right, this is a scenario where migration would be really handy.
We haven't had to support migrations of the internal schema so far (though it seems obviously like we will need it at some point in the future), but this is certainly a scenario where it would be useful.
Thanks for coming back and updating this.