Daniell
12/07/2020, 3:57 PMRyan
12/08/2020, 6:52 AMRyan
12/08/2020, 6:53 AMDaniell
12/08/2020, 9:39 AMRyan
12/08/2020, 9:46 AMDaniell
12/08/2020, 9:49 AMRyan
12/08/2020, 9:52 AMDaniel Norman
Daniell
12/09/2020, 3:32 PMDaniell
12/09/2020, 3:39 PMDaniel Norman
I am not that good at sql for creating tables so I tend to use ORM’s often to create my database,The new version of Migrate should help with that. My suggestion would be to give it a go and see how it’s working for you.
Daniel Norman
would you say yes to using the api for this project?Can you share some more context on what you mean? If I understand you correctly, you’re building an API backed by a database with Prisma Client and Migrate. The Prisma Client part is production ready. It’s the Migrate part that is still not fully production ready yet.
Daniell
12/09/2020, 3:47 PMDaniel Norman
Hm what does that seeding imply?Seeding is the ability to fill the database with data. It’s not a critical piece for migrations but useful when working with many branches/collaborators and you want the ability to quickly fill the database with data.
I think I wont have a lot of missing native types issue since as far as I know mysql doesn’t have a lot, I checked through the database and the only types used in the old project I see are varchar, float, int, tinyint, enum, datetimeAll these types should work with Prisma Client and Migrate. To use smallint you would have to modify the SQL that is generated by Migrate. But besides that, you should be fine functionality wise. Let me know if you have any more questions 🙂
Daniell
12/09/2020, 3:53 PMDaniel Norman
Daniell
12/09/2020, 3:58 PMDaniell
12/09/2020, 3:58 PMDaniel Norman