If an uploaded file is intended for a table that doesn't yet exist, it might be quite nice to have an explorative way of creating the table structure, where you define it based on the data.
If we could then write the migration script, we could present this back to the user, which they could then incorporate into the application manually.
Taking it further, the tool could even create the migration file and potentially even run the migration, so that the user journey of importing data stays completely within the Nova UI.
This should probably be disabled in production environments.
If an uploaded file is intended for a table that doesn't yet exist, it might be quite nice to have an explorative way of creating the table structure, where you define it based on the data.
If we could then write the migration script, we could present this back to the user, which they could then incorporate into the application manually.
Taking it further, the tool could even create the migration file and potentially even run the migration, so that the user journey of importing data stays completely within the Nova UI.
This should probably be disabled in production environments.