I am creating a Nodejs MySQL database website. I have decided what schemas I need for a bunch of tables. As of right now I am using the mysql workbench to create tables and connecting to mysql database. Should I store all the create table schemas in a folder somewhere in Nodejs and run it using node and mysql package?. Should I use it to create new tables in production as I will be wiping all data fairly often? I have found very little directions online on how this is usually done.
Any advice will be greatly appreciated