The idea here is to be able to run
DataImporter.get_sampling(resource_id, table_name)
and have a migration generated. The user can then alter the migration to store the data as desired, then run a function (currently unwritten) that generates the class, grabs the data with the DataImporter, saves to postgres, adds routes, and cleans up.
Currently only the migration generation is written. No need to merge PR.
The idea here is to be able to run
DataImporter.get_sampling(resource_id, table_name)
and have a migration generated. The user can then alter the migration to store the data as desired, then run a function (currently unwritten) that generates the class, grabs the data with the DataImporter, saves to postgres, adds routes, and cleans up.Currently only the migration generation is written. No need to merge PR.