Dynamic migrations? Or something similar

Hi,
I am new to rails and am trying to develop an application that would
allow for user creation of “panels”. Users would create a panel and add
fields to that panel, where each field is a specified datatype. So
obviously, panel => table, fields => columns. Would a dynamic migration
be possible to roll these changes? Or would direct SQL calls be needed?
Any tips/references for this type of work in rails?

Thanks