How creating the possibility for user editing the fields of the model, like creating custom forms, and fields in it?
Thanks for ideas and answers)
How creating the possibility for user editing the fields of the model, like creating custom forms, and fields in it?
Thanks for ideas and answers)
You want the model to contain custom fields inputted by the user. How would you call on the fields if the names/keys of the field are custom input? The fields would not make sense to save as columns in the database. You don't want your users actually editing the model or your database schema; you just want to process their input in a different way.
To store the sets of custom field/value pairs for each user, you would need to serialize and save a hash of custom fields in your User table. See this answer for an example.