dynamically create new tables
Hi, I'm working on a tool to allow users to upload a .csv file. I'm pretty sure I can get the code to read the .csv file into an existing table, but what I'd like to do is find a way to dynamically create a new table first. I imagine I'd upload the .csv file, create a new table by creating a new migration within the controller and then read that .csv file into the new table. The point of doing this is to allow us to upload these files for later data manipulation. But I can't find any info on how to do this. Any ideas how I can dynamically create a new table?